wok-6.x view autofs/receipt @ rev 20148

Up tazlito (471): fix loram
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 29 23:36:50 2017 +0100 (2017-11-29)
parents 7f39549720b8
children 401224c936cc
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 sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile*
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 mkdir -p $fs/etc/init.d
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $stuff/etc/* $fs/etc
40 }
42 # Pre and post install commands for Tazpkg.
43 post_install()
44 {
45 mkdir -p "$1/mnt/auto" 2>/dev/null
46 }