wok diff e2fsprogs-dev/receipt @ rev 23883

Add duperemove
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 14 19:24:33 2020 +0000 (2020-07-14)
parents 9cae76300191
children 7dd01dedad38
line diff
     1.1 --- a/e2fsprogs-dev/receipt	Tue Mar 05 10:49:00 2019 +0100
     1.2 +++ b/e2fsprogs-dev/receipt	Tue Jul 14 19:24:33 2020 +0000
     1.3 @@ -1,31 +1,36 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="e2fsprogs-dev"
     1.7 -VERSION="1.44.5"
     1.8 +VERSION="1.45.5"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="The e2fsprogs devel files."
    1.11 +SHORT_DESC="The e2fsprogs development files."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13 -WANTED="e2fsprogs"
    1.14  LICENSE="GPL2"
    1.15  WEB_SITE="http://e2fsprogs.sourceforge.net/"
    1.16  
    1.17  DEPENDS="libcomerr-dev pkg-config"
    1.18 +WANTED="e2fsprogs"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23  	mkdir -p $fs/usr/lib
    1.24 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26 -	sed -i 's/-lext2fs/& -lcom_err/' $fs/usr/lib/pkgconfig/ext2fs.pc
    1.27 -	cp -a $install/usr/include $fs/usr
    1.28 -	cat $wanted_stuff/*.files-list | while read file; do
    1.29 +
    1.30 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.31 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.32 +	sed -i 's/-lext2fs/& -lcom_err/' \
    1.33 +		$fs/usr/lib/pkgconfig/ext2fs.pc
    1.34 +	cp -a $install/usr/include		$fs/usr
    1.35 +	cat $wanted_stuff/*.files-list | while read file
    1.36 +	  do
    1.37  		[ -f ${fs}$file ] && rm -f ${fs}$file
    1.38 -	done
    1.39 +	  done
    1.40 +
    1.41  	# Remove blkid files.
    1.42  	rm -rf $fs/usr/include/blkid
    1.43  	rm -rf $fs/usr/lib/libblkid*
    1.44  	rm -rf $fs/usr/lib/pkgconfig/blkid.pc
    1.45 +
    1.46  	# Remove uuid files.
    1.47  	rm -rf $fs/usr/include/uuid
    1.48  	rm -rf $fs/usr/lib/libuuid*