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

Up tazlito (487)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 11:07:16 2018 +0100 (2018-02-26)
parents 8dcf607135e8
children 487819bf5549
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs-dev"
4 VERSION="1.43.9"
5 CATEGORY="development"
6 SHORT_DESC="The e2fsprogs devel files."
7 MAINTAINER="pankso@slitaz.org"
8 WANTED="e2fsprogs"
9 LICENSE="GPL2"
10 WEB_SITE="http://e2fsprogs.sourceforge.net/"
11 HOST_ARCH="i486 arm"
13 DEPENDS="libcomerr-dev pkg-config"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/lib
19 cp -a $install/usr/lib/*.*a $fs/usr/lib
20 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
21 sed -i 's/-lext2fs/& -lcom_err/' $fs/usr/lib/pkgconfig/ext2fs.pc
22 cp -a $install/usr/include $fs/usr
23 cat $wanted_stuff/*.files-list | while read file; do
24 [ -f ${fs}$file ] && rm -f ${fs}$file
25 done
26 # Remove blkid files.
27 rm -rf $fs/usr/include/blkid
28 rm -rf $fs/usr/lib/libblkid*
29 rm -rf $fs/usr/lib/pkgconfig/blkid.pc
30 # Remove uuid files.
31 rm -rf $fs/usr/include/uuid
32 rm -rf $fs/usr/lib/libuuid*
33 rm -rf $fs/usr/lib/pkgconfig/uuid.pc
34 }