wok-current view e2fsprogs-dev/receipt @ rev 12931

Up e2fsprogs-dev (1.42.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 30 10:17:36 2012 +0200 (2012-05-30)
parents 64e7fff3f73c
children cc7c36a61435
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs-dev"
4 VERSION="1.42.3"
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 }