X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fmpfire;h=1a1575cf3f21257062af2b08cba109e5be4d0f4d;hp=c61c77fabe090313e71008b2ec0ad864b9248eb7;hb=3e1c7cfc7de8ec2245f63bfa5eb63c59c8081e6a;hpb=6851d3d7c2163e9709193f5d161674e355d0c53d diff --git a/lfs/mpfire b/lfs/mpfire index c61c77fabe..1a1575cf3f 100644 --- a/lfs/mpfire +++ b/lfs/mpfire @@ -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 = 5 +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