wok-next view e2fsprogs-dev/receipt @ rev 13492

Add; mondo$
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Oct 12 23:26:16 2012 +0200 (2012-10-12)
parents d4421f4b7603
children 7896f0694ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs-dev"
4 VERSION="1.42.5"
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 HOST_ARCH="i486 arm"
12 DEPENDS="libcomerr-dev"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/lib
18 cp -a $install/usr/lib/*.*a $fs/usr/lib
19 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
20 cp -a $install/usr/include $fs/usr
21 cat $wanted_stuff/*.files-list | while read file; do
22 [ -f ${fs}$file ] && rm -f ${fs}$file
23 done
24 # Remove blkid files.
25 rm -rf $fs/usr/include/blkid
26 rm -rf $fs/usr/lib/libblkid*
27 rm -rf $fs/usr/lib/pkgconfig/blkid.pc
28 # Remove uuid files.
29 rm -rf $fs/usr/include/uuid
30 rm -rf $fs/usr/lib/libuuid*
31 rm -rf $fs/usr/lib/pkgconfig/uuid.pc
32 }