wok-next annotate e2fsprogs-dev/receipt @ rev 4550

fix: pkg rules
author Allan Pinto <allan316@gmail.com>
date Fri Dec 04 17:16:37 2009 +0000 (2009-12-04)
parents c0c30050ba4a
children 41df03920955
rev   line source
pankso@12 1 # SliTaz package receipt.
pankso@12 2
pankso@12 3 PACKAGE="e2fsprogs-dev"
pankso@4051 4 VERSION="1.41.9"
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 }