wok diff cifs-utils/receipt @ rev 23156

Up nwipe (0.28) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 15 17:43:47 2020 +0100 (2020-03-15)
parents 3efe33e068cd
children c9fa368eb94f
line diff
     1.1 --- a/cifs-utils/receipt	Tue Jan 07 17:58:36 2020 +0100
     1.2 +++ b/cifs-utils/receipt	Sun Mar 15 17:43:47 2020 +0100
     1.3 @@ -21,24 +21,21 @@
     1.4  	autoreconf -i &&
     1.5  	./configure			\
     1.6  		CC=gcc-83		\
     1.7 -		CC=g++-83		\
     1.8 +		CXX=g++-83		\
     1.9  		--prefix=/usr		\
    1.10 -		--mandir=/usr/share/man	\
    1.11  		$CONFIGURE_ARGS &&
    1.12  	make &&
    1.13  	make DESTDIR=$DESTDIR install
    1.14 -
    1.15 -# not available
    1.16 -#	cook_pick_manpages *.1
    1.17  }
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 +	mkdir -p $fs/usr/bin
    1.23  	mkdir -p $fs/usr/sbin
    1.24  
    1.25 -	cp -a $install/sbin	$fs
    1.26 -	cd			$fs/usr/sbin
    1.27 -	ln -s ../../sbin/mount.cifs .
    1.28 -	ln -s ../../sbin/mount.cifs umount.cifs
    1.29 +	cp -a $install/sbin		$fs
    1.30 +	cp -a $install/usr/bin/smbinfo	$fs/usr
    1.31 +	ln -s ../../sbin/mount.cifs	$fs/usr/sbin/mount.cifs
    1.32 +	ln $fs/usr/sbin/mount.cifs	$fs/usr/sbin/umount.cifs
    1.33  }