wok view e2fsprogs-dev/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents bdcb3c29980e
children 64e7fff3f73c
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 $wanted_stuff/*.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 }