X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fmpfire;h=65196a0aafd4591cd6522b13da34ae4029706452;hp=c38128ab123d51fcabba2c375243ff48ba8c7ac6;hb=HEAD;hpb=a138dcd0dedb3ea7fc8d03b70d28ff06ffbfcf6f diff --git a/lfs/mpfire b/lfs/mpfire index c38128ab12..54551a0b6d 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) 2007-2024 IPFire Team # # # # 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 # @@ -24,15 +24,19 @@ include Config +SUMMARY = IPFire integration for the Music Player Daemon + VER = ipfire THISAPP = mpfire-$(VER) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = mpfire -PAK_VER = 1 +PAK_VER = 17 + +DEPS = mpd mpc -DEPS = "mpd mpc alsa libshout libogg libmad libid3tag libvorbis" +SERVICES = ############################################################################### # Top-level Rules @@ -42,13 +46,13 @@ objects = install : $(TARGET) -check : +check : download : -md5 : +b2 : -dist: +dist: @$(PAK) ############################################################################### @@ -57,14 +61,15 @@ dist: $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - -mkdir -p /var/ipfire/mpfire/{bin,db} - touch /var/ipfire/mpfire/{settings,playlist.m3u} - touch /var/ipfire/mpfire/db/mpd.db + -mkdir -p /var/ipfire/mpfire/bin + touch /var/ipfire/mpfire/settings 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/ - 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 + -mkdir -p /usr/lib/perl5/site_perl/5.36.0/Audio/ + cp -vrf $(DIR_SRC)/config/mpfire/perl/Audio/MPD* /usr/lib/perl5/site_perl/5.36.0/Audio/ + cp -vrf $(DIR_SRC)/config/mpfire/perl/Accessor* /usr/lib/perl5/5.36.0/Class/ + cp -vrf $(DIR_SRC)/config/mpfire/perl/Readonly.pm /usr/lib/perl5/5.36.0/Readonly.pm @$(POSTBUILD)