wok view autofs/receipt @ rev 19269

Compress manpages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 14:47:05 2016 +0300 (2016-07-04)
parents d5f9f516b706
children 11b5e93cb5f2
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*
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
28 cook_compress_manpages
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 mkdir -p $fs/etc/init.d
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $stuff/etc/* $fs/etc
39 }
41 # Pre and post install commands for Tazpkg.
42 post_install()
43 {
44 mkdir -p "$1/mnt/auto" 2>/dev/null
45 }