X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fmpfire;h=1a1575cf3f21257062af2b08cba109e5be4d0f4d;hp=171f04ae64984741927cd1c7b22b6f14f66c0aa9;hb=7b5fe9c6e68bfbba5fce26c87687977c11ee7e77;hpb=3fcb086ea07827aea9a950193fd1f3a143ee2375 diff --git a/lfs/mpfire b/lfs/mpfire index 171f04ae64..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 = 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