wok-current rev 22712

Add cifs-utils-quota
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 22 11:48:55 2020 +0100 (2020-01-22)
parents 2843032e6a9b
children 07f494afd5e6
files cifs-utils-quota/receipt cifs-utils/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cifs-utils-quota/receipt	Wed Jan 22 11:48:55 2020 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cifs-utils-quota"
     1.7 +VERSION="6.10"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="CIFS quota tools"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="https://wiki.samba.org/index.php/LinuxCIFS_utils"
    1.13 +WANTED="cifs-utils"
    1.14 +
    1.15 +DEPENDS="python linux-cifs"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/bin
    1.21 +	cp -a $install/usr/bin/smb2-quota	$fs/usr/bin
    1.22 +}
     2.1 --- a/cifs-utils/receipt	Wed Jan 22 11:18:51 2020 +0100
     2.2 +++ b/cifs-utils/receipt	Wed Jan 22 11:48:55 2020 +0100
     2.3 @@ -21,24 +21,21 @@
     2.4  	autoreconf -i &&
     2.5  	./configure			\
     2.6  		CC=gcc-83		\
     2.7 -		CC=g++-83		\
     2.8 +		CXX=g++-83		\
     2.9  		--prefix=/usr		\
    2.10 -		--mandir=/usr/share/man	\
    2.11  		$CONFIGURE_ARGS &&
    2.12  	make &&
    2.13  	make DESTDIR=$DESTDIR install
    2.14 -
    2.15 -# not available
    2.16 -#	cook_pick_manpages *.1
    2.17  }
    2.18  
    2.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.20  genpkg_rules()
    2.21  {
    2.22 +	mkdir -p $fs/usr/bin
    2.23  	mkdir -p $fs/usr/sbin
    2.24  
    2.25 -	cp -a $install/sbin	$fs
    2.26 -	cd			$fs/usr/sbin
    2.27 -	ln -s ../../sbin/mount.cifs .
    2.28 -	ln -s ../../sbin/mount.cifs umount.cifs
    2.29 +	cp -a $install/sbin		$fs
    2.30 +	cp -a $install/usr/bin/smbinfo	$fs/usr
    2.31 +	ln -s ../../sbin/mount.cifs	$fs/usr/sbin/mount.cifs
    2.32 +	ln $fs/usr/sbin/mount.cifs	$fs/usr/sbin/umount.cifs
    2.33  }