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