wok view e2fsprogs-dev/receipt @ rev 10041
flex: cross with CONFIGURE_ARGS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 08:58:54 2011 +0200 (2011-05-20) |
parents | f99ea44cc9f6 |
children | 224dc74b7109 |
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs-dev"
4 VERSION="1.41.14"
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 }