mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
MPFire Version 2 begonnen
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@872 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
13
lfs/mpfire
13
lfs/mpfire
@@ -30,9 +30,9 @@ THISAPP = mpfire-$(VER)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = mpfire
|
||||
PAK_VER = 1
|
||||
PAK_VER = 2
|
||||
|
||||
DEPS = "mpg123 alsa"
|
||||
DEPS = "mpd mpc alsa libshout libogg libmad libid3tag"
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
@@ -58,9 +58,12 @@ dist:
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
-mkdir -p /var/ipfire/mpfire/{bin,db}
|
||||
touch /var/ipfire/mpfire/{settings,playlist}
|
||||
touch /var/ipfire/mpfire/db/songs.db
|
||||
chown nobody.nobody /var/ipfire/mpfire/{settings,playlist}
|
||||
touch /var/ipfire/mpfire/{settings,playlist.m3u}
|
||||
touch /var/ipfire/mpfire/db/mpd.db
|
||||
touch /var/log/mpd_error.log
|
||||
touch /var/log/mpd.log
|
||||
install -v -m 755 $(DIR_SRC)/config/mpfire/mpfire.pl /var/ipfire/mpfire/bin
|
||||
install -v -m 644 $(DIR_SRC)/config/mpfire/mpd.conf /var/ipfire/mpfire/
|
||||
install -v -m 644 $(DIR_SRC)/config/mpfire/webradio /var/ipfire/mpfire/
|
||||
chown nobody.nobody /var/ipfire/mpfire/{settings,playlist.m3u,webradio,mpd.conf}
|
||||
@$(POSTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user