wok-current view autofs/receipt @ rev 23650
updated smartmontools (7.0 -> 7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 20 14:57:44 2020 +0100 (2020-04-20) |
parents | cd7983242740 |
children | 6f4496f6c83c |
line source
1 # SliTaz package receipt.
3 PACKAGE="autofs"
4 VERSION="5.1.6"
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 TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i -e 's|-b --suffix=.orig||' \
24 -e 's|install -v|install|' \
25 */Makefile*
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make LDFLAGS="-lrt" &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 mkdir -p $fs/etc/init.d
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/usr/lib $fs/usr
44 cp -a $stuff/etc/* $fs/etc
45 }
47 # Pre and post install commands for Tazpkg.
48 post_install()
49 {
50 mkdir -p "$1/mnt/auto" 2>/dev/null
51 }