SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "autofs"

# SliTaz package receipt.

PACKAGE="autofs"
VERSION="5.0.5"
CATEGORY="system-tools"
SHORT_DESC="Linux automounter."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
BUILD_DEPENDS="flex libxml2-dev openldap-dev cyrus-sasl-dev openssl-dev krb5-dev"
WEB_SITE="http://www.kernel.org/pub/linux/daemons/autofs/v5"
WGET_URL="$WEB_SITE/$TARBALL"
DEPENDS="linux-autofs"
TAGS="filesystem"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile*
    ./configure --prefix=/usr --infodir=/usr/share/info \
    --mandir=/usr/share/man \
    $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $_pkg/usr/sbin $fs/usr
    cp -a $_pkg/usr/lib $fs/usr
}

# Pre and post install commands for Tazpkg.
post_install()
{
    mkdir -p $1/mnt/auto 2> /dev/null
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)