Removed dependecies for gnump3d

This commit is contained in:
Maniacikarus
2009-01-06 12:40:07 +01:00
parent 4b6a2b7f88
commit 6f2bc878d7
4 changed files with 7 additions and 3 deletions

View File

@@ -398,5 +398,4 @@ usr/share/gnump3d
#usr/share/gnump3d/simple
var/cache/gnump3d
var/cache/gnump3d/serving
var/mp3
var/log/gnump3d

View 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

View 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

View 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