wok view e2fsprogs/receipt @ rev 21087

updated jsoncpp (0.10.2 -> 1.8.4)
author Hans-G?nter Theisgen
date Fri Mar 15 15:55:06 2019 +0100 (2019-03-15)
parents 9cae76300191
children 2f4e0c4137e9
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs"
4 VERSION="1.44.5"
5 CATEGORY="base-system"
6 SHORT_DESC="Filesystem utilities for use with ext2/ext3/ext4 (without fsck*)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://e2fsprogs.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libcomerr util-linux-blkid util-linux-uuid"
15 BUILD_DEPENDS="texinfo util-linux-blkid-dev util-linux-uuid-dev \
16 coreutils-operations"
18 # Handle cross compilation.
19 case "$ARCH" in
20 arm) BUILD_DEPENDS="" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|\$ac_MKDIR_P&|mkdir -p\&|' configure
27 mkdir ../build && cd ../build
28 $src/configure \
29 --prefix=/usr \
30 --with-root-prefix="" \
31 --enable-elf-shlibs \
32 --sysconfdir=/etc \
33 $CONFIGURE_ARGS
34 make && make install &&
35 make install-libs
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/sbin $fs
43 cp -a $install/lib $fs
44 cp -a $install/etc $fs
45 # legacy grub & syslinux don't support 64bit feature
46 sed -i 's|small = {|&\n\t\tfeatures = ^64bit|' $fs/etc/mke2fs.conf
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/sbin $fs/usr
49 ( cd $fs ; for i in lib/*.so.?; do ln -s /$i usr/$i ; done )
50 cat $stuff/*.files-list | while read file; do
51 rm -f ${fs}$file
52 done
53 # Remove fsck provided by Busybox.
54 rm $fs/sbin/fsck*
55 }
57 # Overlap busybox
58 pre_install()
59 {
60 rm -f $root/sbin/findfs
61 rm -f $root/sbin/tune2fs
62 }
64 post_remove()
65 {
66 ln -s /bin/busybox $root/sbin/findfs
67 ln -s /bin/busybox $root/sbin/tune2fs
68 }