]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/mpfire
MPFire: Split page into three subpages.
[people/pmueller/ipfire-2.x.git] / lfs / mpfire
index 171f04ae64984741927cd1c7b22b6f14f66c0aa9..1a1575cf3f21257062af2b08cba109e5be4d0f4d 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2009  Michael Tremer & Christian Schmidt                      #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -30,9 +30,9 @@ THISAPP    = mpfire-$(VER)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mpfire
-PAK_VER    = 4
+PAK_VER    = 9
 
-DEPS       = "mpd mpc alsa libshout libogg libmad libid3tag libvorbis"
+DEPS       = "mpd mpc"
 
 ###############################################################################
 # Top-level Rules
@@ -62,10 +62,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        install -v -m 755 $(DIR_SRC)/config/mpfire/mpfire.pl /var/ipfire/mpfire/bin
        install -v -m 664 $(DIR_SRC)/config/mpfire/mpd.conf /var/ipfire/mpfire/
        install -v -m 644 $(DIR_SRC)/config/mpfire/webradio /var/ipfire/mpfire/
-       install -v -m 644 $(DIR_SRC)/config/mpfire/mpd.db /var/ipfire/mpfire/db/mpd.db
+       echo "Folder for mpd database" > /var/ipfire/mpfire/db/info
+       -mkdir -p /var/mp3
+       echo "Folder for music files" > /var/mp3/info
        chown root.nobody /var/ipfire/mpfire/{mpd.conf,playlist.m3u}
        chown nobody.nobody /var/ipfire/mpfire/{settings,webradio}
-       chown root.nobody /var/ipfire/mpfire/db/mpd.db
        chmod 664 /var/ipfire/mpfire/playlist.m3u
        chmod 755 /srv/web/ipfire/html/images/mpfire
        install -v -m 644 $(DIR_SRC)/config/backup/includes/mpfire /var/ipfire/backup/addons/includes/mpfire