wok-next diff autofs/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | c7a7d8278ff3 |
children | f48456621a9d |
line diff
1.1 --- a/autofs/receipt Sat Nov 11 10:46:19 2017 +0100 1.2 +++ b/autofs/receipt Sat May 12 05:17:48 2018 +0300 1.3 @@ -1,46 +1,40 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="autofs" 1.8 -VERSION="5.1.3" 1.9 +VERSION="5.1.4" 1.10 CATEGORY="system-tools" 1.11 -SHORT_DESC="Linux automounter." 1.12 +SHORT_DESC="Linux automounter" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 +LICENSE="GPL2" 1.15 +WEB_SITE="https://www.kernel.org/pub/linux/daemons/autofs/v5" 1.16 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/autofs.html" 1.17 + 1.18 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.19 -LICENSE="GPL2" 1.20 -WEB_SITE="http://www.kernel.org/pub/linux/daemons/autofs/v5" 1.21 WGET_URL="$WEB_SITE/$TARBALL" 1.22 -TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE" 1.23 -TAGS="filesystem" 1.24 1.25 -DEPENDS="linux-autofs" 1.26 -BUILD_DEPENDS="flex libxml2-dev openldap-dev cyrus-sasl-dev openssl-dev krb5-dev" 1.27 +BUILD_DEPENDS="flex libxml2-dev openldap-dev cyrus-sasl-dev openssl-dev \ 1.28 +krb5-dev rpcsvc-proto libtirpc-dev coreutils-operations" 1.29 1.30 -# Rules to configure and make the package. 1.31 -compile_rules() 1.32 -{ 1.33 - sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile* 1.34 +compile_rules() { 1.35 + ./configure \ 1.36 + --with-libtirpc \ 1.37 + $CONFIGURE_ARGS && 1.38 + make autofsconfdir=/etc && 1.39 + make autofsconfdir=/etc DESTDIR=$DESTDIR install || return 1 1.40 1.41 - ./configure \ 1.42 - --prefix=/usr \ 1.43 - --infodir=/usr/share/info \ 1.44 - --mandir=/usr/share/man \ 1.45 - $CONFIGURE_ARGS && 1.46 - make && 1.47 - make DESTDIR=$DESTDIR install 1.48 + install -Dm755 $stuff/etc/init.d/autofs $install/etc/init.d/autofs 1.49 + install -Dm644 $stuff/etc/auto.master $install/etc/auto.master 1.50 + install -Dm644 $stuff/etc/auto.misc $install/etc/auto.misc 1.51 } 1.52 1.53 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.54 -genpkg_rules() 1.55 -{ 1.56 - mkdir -p $fs/usr 1.57 - mkdir -p $fs/etc/init.d 1.58 - cp -a $install/usr/sbin $fs/usr 1.59 - cp -a $install/usr/lib $fs/usr 1.60 - cp -a $stuff/etc/* $fs/etc 1.61 +genpkg_rules() { 1.62 + copy @std 1.63 + rm $fs/usr/lib/autofs/lookup_nis.so # broken link 1.64 + DEPENDS="libkrb5 libldap libsasl libtirpc libxml2 linux-autofs" 1.65 + TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE" 1.66 + TAGS="filesystem" 1.67 } 1.68 1.69 -# Pre and post install commands for Tazpkg. 1.70 -post_install() 1.71 -{ 1.72 +post_install() { 1.73 mkdir -p "$1/mnt/auto" 2>/dev/null 1.74 }