wok-next view autofs/receipt @ rev 19022
Up slitaz-boot-scripts (427), tazpkg (904), tazwok (557)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 01 11:32:41 2016 +0200 (2016-04-01) |
parents | 380ffe05937a |
children | 7f39549720b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="autofs"
4 VERSION="5.0.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux automounter."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.kernel.org/pub/linux/daemons/autofs/v5"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE"
13 TAGS="filesystem"
15 DEPENDS="linux-autofs"
16 BUILD_DEPENDS="flex libxml2-dev openldap-dev cyrus-sasl-dev openssl-dev krb5-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile*
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 mkdir -p $fs/etc/init.d
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 cp -a $stuff/etc/* $fs/etc
38 }
40 # Pre and post install commands for Tazpkg.
41 post_install()
42 {
43 mkdir -p "$1/mnt/auto" 2>/dev/null
44 }