wok view autofs/receipt @ rev 14908

slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 03 17:37:48 2013 +0300 (2013-08-03)
parents 5bcc3e7084ad
children 380ffe05937a
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 BUILD_DEPENDS="flex libxml2-dev openldap-dev cyrus-sasl-dev openssl-dev krb5-dev"
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile*
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 mkdir -p $fs/etc/init.d
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 cp -a $stuff/etc/* $fs/etc
37 }
39 # Pre and post install commands for Tazpkg.
40 post_install()
41 {
42 mkdir -p $1/mnt/auto 2> /dev/null
43 }