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

Up klavaro (1.2.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 08:45:04 2022 +0000 (2022-06-22)
parents 9cae76300191
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs-dev"
4 VERSION="1.45.5"
5 CATEGORY="development"
6 SHORT_DESC="The e2fsprogs development files."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://e2fsprogs.sourceforge.net/"
11 DEPENDS="libcomerr-dev pkg-config"
12 WANTED="e2fsprogs"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 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/' \
22 $fs/usr/lib/pkgconfig/ext2fs.pc
23 cp -a $install/usr/include $fs/usr
24 cat $wanted_stuff/*.files-list | while read file
25 do
26 [ -f ${fs}$file ] && rm -f ${fs}$file
27 done
29 # Remove blkid files.
30 rm -rf $fs/usr/include/blkid
31 rm -rf $fs/usr/lib/libblkid*
32 rm -rf $fs/usr/lib/pkgconfig/blkid.pc
34 # Remove uuid files.
35 rm -rf $fs/usr/include/uuid
36 rm -rf $fs/usr/lib/libuuid*
37 rm -rf $fs/usr/lib/pkgconfig/uuid.pc
38 }