wok-current view e2fsprogs-dev/receipt @ rev 21601
Up lz4 (1.9.1 - 10/20% faster), tazlito (515)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 23 11:16:33 2019 +0200 (2019-05-23) |
parents | 487819bf5549 |
children | 0f8e59b63cd4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs-dev"
4 VERSION="1.44.5"
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/"
12 DEPENDS="libcomerr-dev pkg-config"
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 sed -i 's/-lext2fs/& -lcom_err/' $fs/usr/lib/pkgconfig/ext2fs.pc
21 cp -a $install/usr/include $fs/usr
22 cat $wanted_stuff/*.files-list | while read file; do
23 [ -f ${fs}$file ] && rm -f ${fs}$file
24 done
25 # Remove blkid files.
26 rm -rf $fs/usr/include/blkid
27 rm -rf $fs/usr/lib/libblkid*
28 rm -rf $fs/usr/lib/pkgconfig/blkid.pc
29 # Remove uuid files.
30 rm -rf $fs/usr/include/uuid
31 rm -rf $fs/usr/lib/libuuid*
32 rm -rf $fs/usr/lib/pkgconfig/uuid.pc
33 }