wok-6.x view e2fsprogs/receipt @ rev 20741

barnyard2: added build dependency libtool
author Hans-G?nter Theisgen
date Sun Feb 10 09:22:29 2019 +0100 (2019-02-10)
parents 487819bf5549
children 9cae76300191
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs"
4 VERSION="1.44.2"
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"
17 # Handle cross compilation.
18 case "$ARCH" in
19 arm) BUILD_DEPENDS="" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 mkdir ../build && cd ../build
26 $src/configure \
27 --prefix=/usr \
28 --with-root-prefix="" \
29 --enable-elf-shlibs \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS
32 make && make install &&
33 make install-libs
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/sbin $fs
41 cp -a $install/lib $fs
42 cp -a $install/etc $fs
43 # legacy grub & syslinux don't support 64bit feature
44 sed -i 's|small = {|&\n\t\tfeatures = ^64bit|' $fs/etc/mke2fs.conf
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/sbin $fs/usr
47 ( cd $fs ; for i in lib/*.so.?; do ln -s /$i usr/$i ; done )
48 cat $stuff/*.files-list | while read file; do
49 rm -f ${fs}$file
50 done
51 # Remove fsck provided by Busybox.
52 rm $fs/sbin/fsck*
53 }
55 # Overlap busybox
56 pre_install()
57 {
58 rm -f $root/sbin/findfs
59 rm -f $root/sbin/tune2fs
60 }
62 post_remove()
63 {
64 ln -s /bin/busybox $root/sbin/findfs
65 ln -s /bin/busybox $root/sbin/tune2fs
66 }