wok-current view autofs/receipt @ rev 21442
updated minidlna (1.1.4 -> 1.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 29 14:38:41 2019 +0100 (2019-04-29) |
parents | 401224c936cc |
children | 41d0d6989886 |
line source
1 # SliTaz package receipt.
3 PACKAGE="autofs"
4 VERSION="5.1.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux automounter."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.kernel.org/pub/linux/daemons/autofs/v${VERSION%%.*}"
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 LDFLAGS="-lrt" &&
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 }