wok-next diff cifs-utils/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents d5aab818505e
children
line diff
     1.1 --- a/cifs-utils/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/cifs-utils/receipt	Wed May 13 07:41:00 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cifs-utils"
     1.7 -VERSION="6.1"
     1.8 +VERSION="6.8"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="CIFS userland tools"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -9,35 +9,33 @@
    1.13  WEB_SITE="https://wiki.samba.org/index.php/LinuxCIFS_utils"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WGET_URL="ftp://ftp.samba.org/pub/linux-cifs/$PACKAGE/$TARBALL"
    1.17 +WGET_URL="https://download.samba.org/pub/linux-cifs/$PACKAGE/$TARBALL"
    1.18  
    1.19 +BUILD_DEPENDS="pam-dev krb5-dev keyutils-dev samba-dev python3-docutils \
    1.20 +libcap-dev libcap-ng-dev"
    1.21  SPLIT="$PACKAGE-dev"
    1.22  
    1.23  compile_rules() {
    1.24 -	./configure \
    1.25 -		--prefix=/usr \
    1.26 -		--mandir=/usr/share/man \
    1.27 -		$CONFIGURE_ARGS &&
    1.28 +	sed -i 's|^LIBCAP_NG_PATH$||' configure # fix 'command not found'
    1.29 +
    1.30 +	./configure $CONFIGURE_ARGS &&
    1.31  	make &&
    1.32 -	make DESTDIR=$install install
    1.33 +	make install || return 1
    1.34  
    1.35 -	cook_pick_manpages *.1
    1.36 +	mkdir -p $install/usr/sbin/
    1.37 +	ln -s ../../sbin/mount.cifs $install/usr/sbin/mount.cifs
    1.38 +	ln -s ../../sbin/mount.cifs $install/usr/sbin/umount.cifs
    1.39  }
    1.40  
    1.41  genpkg_rules() {
    1.42  	case $PACKAGE in
    1.43  		cifs-utils)
    1.44 -			mkdir -p $fs/usr/sbin
    1.45 -			cp -a $install/sbin $fs
    1.46 -			cd $fs/usr/sbin
    1.47 -			ln -s ../../sbin/mount.cifs .
    1.48 -			ln -s ../../sbin/mount.cifs umount.cifs
    1.49 -			DEPENDS="linux-cifs"
    1.50 +			copy @std
    1.51 +			DEPENDS="keyutils libcap libkrb5 pam samba talloc   linux-cifs"
    1.52  			PROVIDE="smbfs"
    1.53  			;;
    1.54  		*-dev)
    1.55 -			mkdir -p $fs/usr
    1.56 -			cp -a $install/usr/include $fs/usr
    1.57 +			copy @dev
    1.58  			;;
    1.59  	esac
    1.60  }