wok annotate e2fsprogs-dev/receipt @ rev 5775

Up: slitaz-tools-boxes 3.8.1
author Antoine Bodin <gokhlayeh@mailoo.org>
date Wed Jul 07 19:33:09 2010 +0200 (2010-07-07)
parents 41df03920955
children f99ea44cc9f6
rev   line source
pankso@12 1 # SliTaz package receipt.
pankso@12 2
pankso@12 3 PACKAGE="e2fsprogs-dev"
pankso@5622 4 VERSION="1.41.12"
pankso@271 5 CATEGORY="development"
pankso@12 6 SHORT_DESC="The e2fsprogs devel files."
pankso@12 7 MAINTAINER="pankso@slitaz.org"
pankso@12 8 WANTED="e2fsprogs"
pankso@12 9 WEB_SITE="http://e2fsprogs.sourceforge.net/"
pascal@1163 10 DEPENDS="libcomerr-dev"
pankso@12 11
pankso@12 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12 13 genpkg_rules()
pankso@12 14 {
pankso@4051 15 mkdir -p $fs/usr/lib
pankso@3105 16 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
pankso@12 17 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
pankso@12 18 cp -a $_pkg/usr/include $fs/usr
pascal@1163 19 cat $src/*.files-list | while read file; do
pascal@1163 20 [ -f $fs$file ] && rm -f $fs$file
pascal@1163 21 done
pankso@4051 22 # Remove blkid files.
pankso@3105 23 rm -rf $fs/usr/include/blkid
pankso@3105 24 rm -rf $fs/usr/lib/libblkid*
pankso@3105 25 rm -rf $fs/usr/lib/pkgconfig/blkid.pc
pankso@4051 26 # Remove uuid files.
pankso@4051 27 rm -rf $fs/usr/include/uuid
pankso@4051 28 rm -rf $fs/usr/lib/libuuid*
pankso@4051 29 rm -rf $fs/usr/lib/pkgconfig/uuid.pc
pankso@12 30 }