wok annotate autofs/receipt @ rev 22764
updated florence again (0.5.4 -> 0.6.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 24 17:42:38 2020 +0100 (2020-01-24) |
parents | cd7983242740 |
children | 6f4496f6c83c |
rev | line source |
---|---|
pascal@7287 | 1 # SliTaz package receipt. |
pascal@7287 | 2 |
pascal@7287 | 3 PACKAGE="autofs" |
Hans-G?nter@22521 | 4 VERSION="5.1.6" |
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@22521 | 18 TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE" |
pascal@7287 | 19 |
pascal@7287 | 20 # Rules to configure and make the package. |
pascal@7287 | 21 compile_rules() |
pascal@7287 | 22 { |
Hans-G?nter@22521 | 23 sed -i -e 's|-b --suffix=.orig||' \ |
Hans-G?nter@22521 | 24 -e 's|install -v|install|' \ |
Hans-G?nter@22521 | 25 */Makefile* |
al@19275 | 26 |
Hans-G?nter@22521 | 27 ./configure \ |
Hans-G?nter@22521 | 28 --prefix=/usr \ |
Hans-G?nter@22521 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@22521 | 30 --mandir=/usr/share/man \ |
al@19275 | 31 $CONFIGURE_ARGS && |
pascal@20196 | 32 make LDFLAGS="-lrt" && |
pascal@14772 | 33 make DESTDIR=$DESTDIR install |
pascal@7287 | 34 } |
pascal@7287 | 35 |
pascal@7287 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7287 | 37 genpkg_rules() |
pascal@7287 | 38 { |
pascal@7287 | 39 mkdir -p $fs/usr |
claudinei@13581 | 40 mkdir -p $fs/etc/init.d |
Hans-G?nter@22521 | 41 |
Hans-G?nter@22521 | 42 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22521 | 43 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22521 | 44 cp -a $stuff/etc/* $fs/etc |
pascal@7287 | 45 } |
pascal@7323 | 46 |
pascal@7323 | 47 # Pre and post install commands for Tazpkg. |
pascal@7323 | 48 post_install() |
pascal@7323 | 49 { |
al@18667 | 50 mkdir -p "$1/mnt/auto" 2>/dev/null |
pascal@7323 | 51 } |