wok-4.x view e2fsprogs-dev/receipt @ rev 9058

cndrvcups-common: do not compute _pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:54:05 2011 +0100 (2011-03-04)
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 }