wok view autofs/receipt @ rev 24335

updated autofs (5.1.6 -> 5.1.8)
author Hans-G?nter Theisgen
date Fri Jan 28 16:53:40 2022 +0100 (2022-01-28)
parents 41d0d6989886
children 71360a13cd94
line source
1 # SliTaz package receipt.
3 PACKAGE="autofs"
4 VERSION="5.1.8"
5 CATEGORY="system-tools"
6 TAGS="filesystem"
7 SHORT_DESC="Linux automounter."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.kernel.org/pub/linux/daemons/autofs/v${VERSION%%.*}"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE/$TARBALL"
15 DEPENDS="linux-autofs"
16 BUILD_DEPENDS="cyrus-sasl-dev flex krb5-dev libxml2-dev openldap-dev openssl-dev"
18 CONFIG_FILES="/etc/autofs.conf"
20 TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i -e 's|-b --suffix=.orig||' \
26 -e 's|install -v|install|' \
27 */Makefile*
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make LDFLAGS="-lrt" &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/etc
42 mkdir -p $fs/usr
44 cp -a $stuff/etc/* $fs/etc
45 # Create empty configuration file
46 touch $fs/etc/autofs.conf
47 cp -a $install/usr/lib $fs/usr
48 cp -a $install/usr/sbin $fs/usr
49 }
51 # Post install commands for Tazpkg.
52 post_install()
53 {
54 mkdir -p "$1/mnt/auto" 2>/dev/null
55 }