SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "unfs3"

# SliTaz package receipt.

PACKAGE="unfs3"
VERSION="0.9.22"
CATEGORY="network"
SHORT_DESC="User-land NFSv3 Server"
MAINTAINER="erjo@slitaz.org"
DEPENDS="portmap"
BUILD_DEPENDS="flex"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://unfs3.sourceforge.net/"
WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/unfs3/${TARBALL}"
TAGS="network nfs"
CONFIG_FILES="/etc/exports"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --prefix=/usr --infodir=/usr/share/info \
    --sysconfdir=/etc \
    --mandir=/usr/share/man $CONFIGURE_ARGS &&
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    install -g root -o root -m 0755 -s $src/unfsd $fs/usr/bin
    
    mkdir -p $fs/etc/init.d
    install -g root -o root -m 0644 stuff/etc/exports $fs/etc
    install -g root -o root -m 0755 stuff/etc/init.d/unfsd $fs/etc/init.d
}

post_install()
{

       echo -e "\nTo starts $PACKAGE server you can run :\n"
       echo "/etc/init.d/$PACKAGE start"
       echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)