Removed dependecies for gnump3d
authorManiacikarus <maniacikarus@ipfire.org>
Tue, 6 Jan 2009 11:40:07 +0000 (12:40 +0100)
committerManiacikarus <maniacikarus@ipfire.org>
Tue, 6 Jan 2009 11:40:07 +0000 (12:40 +0100)
config/rootfiles/packages/gnump3d
lfs/gnump3d
src/paks/gnump3d/install.sh
src/paks/gnump3d/update.sh

index b161eaf..196d2bb 100644 (file)
@@ -398,5 +398,4 @@ usr/share/gnump3d
 #usr/share/gnump3d/simple
 var/cache/gnump3d
 var/cache/gnump3d/serving
-var/mp3
 var/log/gnump3d
index 92b876e..b3eb843 100644 (file)
@@ -32,9 +32,9 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = gnump3d
-PAK_VER    = 1
+PAK_VER    = 2
 
-DEPS       = "lame sox"
+DEPS       = ""
 
 ###############################################################################
 # Top-level Rules
index f8188c5..745dfb7 100644 (file)
@@ -23,6 +23,7 @@
 #
 . /opt/pakfire/lib/functions.sh
 extract_files
+[ -d /var/mp3 ] ||  ( mkdir /var/mp3 && chown nobody.nobody /var/mp3 )
 start_service ${NAME}
 ln -svf  ../init.d/gnump3d /etc/rc.d/rc0.d/K00gnump3d
 ln -svf  ../init.d/gnump3d /etc/rc.d/rc3.d/S99gnump3d
index 89c40d0..6e38700 100644 (file)
@@ -22,5 +22,9 @@
 ############################################################################
 #
 . /opt/pakfire/lib/functions.sh
+#Remove userdate from rootfile
+cat /opt/pakfire/db/rootfiles/gnump3d | \
+    grep -v "var/mp3" > /opt/pakfire/db/rootfiles/gnump3d.tmp
+mv /opt/pakfire/db/rootfiles/gnump3d.tmp /opt/pakfire/db/rootfiles/gnump3d
 ./uninstall.sh
 ./install.sh