wok-6.x annotate e2fsprogs-dev/receipt @ rev 24453

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 15 18:29:48 2022 +0000 (2022-02-15)
parents 9cae76300191
children 7dd01dedad38
rev   line source
pankso@12 1 # SliTaz package receipt.
pankso@12 2
pankso@12 3 PACKAGE="e2fsprogs-dev"
Hans-G?nter@22744 4 VERSION="1.45.5"
pankso@271 5 CATEGORY="development"
Hans-G?nter@22744 6 SHORT_DESC="The e2fsprogs development files."
pankso@12 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
pankso@12 9 WEB_SITE="http://e2fsprogs.sourceforge.net/"
pankso@12927 10
pascal@15597 11 DEPENDS="libcomerr-dev pkg-config"
Hans-G?nter@22744 12 WANTED="e2fsprogs"
pankso@12 13
pankso@12 14 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12 15 genpkg_rules()
pankso@12 16 {
pankso@4051 17 mkdir -p $fs/usr/lib
Hans-G?nter@22744 18
Hans-G?nter@22744 19 cp -a $install/usr/lib/*.*a $fs/usr/lib
Hans-G?nter@22744 20 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
Hans-G?nter@22744 21 sed -i 's/-lext2fs/& -lcom_err/' \
Hans-G?nter@22744 22 $fs/usr/lib/pkgconfig/ext2fs.pc
Hans-G?nter@22744 23 cp -a $install/usr/include $fs/usr
Hans-G?nter@22744 24 cat $wanted_stuff/*.files-list | while read file
Hans-G?nter@22744 25 do
pankso@12927 26 [ -f ${fs}$file ] && rm -f ${fs}$file
Hans-G?nter@22744 27 done
Hans-G?nter@22744 28
pankso@4051 29 # Remove blkid files.
pankso@3105 30 rm -rf $fs/usr/include/blkid
pankso@3105 31 rm -rf $fs/usr/lib/libblkid*
pankso@3105 32 rm -rf $fs/usr/lib/pkgconfig/blkid.pc
Hans-G?nter@22744 33
pankso@4051 34 # Remove uuid files.
pankso@4051 35 rm -rf $fs/usr/include/uuid
pankso@4051 36 rm -rf $fs/usr/lib/libuuid*
pankso@4051 37 rm -rf $fs/usr/lib/pkgconfig/uuid.pc
pankso@12 38 }