wok-6.x view e2fsprogs-dev/receipt @ rev 20841
updated dokuwiki (2012-01-25 -> 20180422b)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 20 16:20:24 2019 +0100 (2019-02-20) |
parents | 401224c936cc |
children | 9cae76300191 |
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs-dev"
4 VERSION="1.44.2"
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 }