wok-next view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs-dev"
4 VERSION="1.41.9"
5 CATEGORY="development"
6 SHORT_DESC="The e2fsprogs devel files."
7 MAINTAINER="pankso@slitaz.org"
8 WANTED="e2fsprogs"
9 WEB_SITE="http://e2fsprogs.sourceforge.net/"
10 DEPENDS="libcomerr-dev"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/lib
16 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
17 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
18 cp -a $_pkg/usr/include $fs/usr
19 cat $src/*.files-list | while read file; do
20 [ -f $fs$file ] && rm -f $fs$file
21 done
22 # Remove blkid files.
23 rm -rf $fs/usr/include/blkid
24 rm -rf $fs/usr/lib/libblkid*
25 rm -rf $fs/usr/lib/pkgconfig/blkid.pc
26 # Remove uuid files.
27 rm -rf $fs/usr/include/uuid
28 rm -rf $fs/usr/lib/libuuid*
29 rm -rf $fs/usr/lib/pkgconfig/uuid.pc
30 }