wok-6.x view e2fsprogs-dev/receipt @ rev 7943
slitaz-mercurial-style: Tiny cosmetic fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 12 01:37:53 2011 +0100 (2011-01-12) |
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 }