wok-6.x diff unfs3/receipt @ rev 171

Add : portmap and unfs3
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 31 22:42:51 2008 +0100 (2008-01-31)
parents
children cf22fee17710
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/unfs3/receipt	Thu Jan 31 22:42:51 2008 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="unfs3"
     1.7 +VERSION="0.9.20"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="User-land NFSv3 Server"
    1.10 +MAINTAINER="Erjo <erjo@slitaz.org>"
    1.11 +DEPENDS="portmap"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://unfs3.sourceforge.net/"
    1.14 +WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/unfs3/${TARBALL}"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.21 +	--sysconfdir=/etc \
    1.22 +	--mandir=/usr/share/man $CONFIGURE_ARGS
    1.23 +	
    1.24 +	make
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin
    1.31 +	install -g root -o root -m 0755 -s $src/unfsd $fs/usr/bin
    1.32 +	
    1.33 +	mkdir -p $fs/etc/init.d
    1.34 +	install -g root -o root -m 0644 stuff/etc/export $fs/etc
    1.35 +	install -g root -o root -m 0755 stuff/etc/init.d/unfsd $fs/etc/init.d
    1.36 +}
    1.37 +
    1.38 +post_install()
    1.39 +{
    1.40 +
    1.41 +       echo -e "\nTo starts $PACKAGE server you can run :\n"
    1.42 +       echo "/etc/init.d/$PACKAGE start"
    1.43 +       echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
    1.44 +}