wok-current view e2fsprogs/receipt @ rev 22336
updated zvbi and zvbi-dev (0.2.33 -> 0.2.35)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 15 16:30:46 2019 +0100 (2019-11-15) |
parents | 77a245597245 |
children | 0f8e59b63cd4 |
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 # Do not use 64-bit feature by default on ext4 because syslinux and grub4dos-linux
27 # bootloaders used by the slitaz-installer(tazinst) will fail to boot.
28 # Add "auto_64-bit_support = 1" to enable 64-bit if the number of blocks for the file system
29 # require the feature to be enabled.
30 zcat $stuff/e2fsprogs.no.64bit.by.default.diff.gz | patch -p1 || exit 1
32 sed -i 's|\$ac_MKDIR_P&|mkdir -p\&|' configure
33 mkdir ../build && cd ../build
34 $src/configure \
35 --prefix=/usr \
36 --with-root-prefix="" \
37 --enable-elf-shlibs \
38 --sysconfdir=/etc \
39 $CONFIGURE_ARGS
40 make && make install &&
41 make install-libs
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
48 cp -a $install/sbin $fs
49 cp -a $install/lib $fs
50 cp -a $install/etc $fs
51 cp -a $install/usr/bin $fs/usr
52 cp -a $install/usr/sbin $fs/usr
53 ( cd $fs ; for i in lib/*.so.?; do ln -s /$i usr/$i ; done )
54 cat $stuff/*.files-list | while read file; do
55 rm -f ${fs}$file
56 done
57 # Remove fsck provided by Busybox.
58 rm $fs/sbin/fsck*
59 }
61 # Overlap busybox
62 pre_install()
63 {
64 rm -f $root/sbin/findfs
65 rm -f $root/sbin/tune2fs
66 }
68 post_remove()
69 {
70 ln -s /bin/busybox $root/sbin/findfs
71 ln -s /bin/busybox $root/sbin/tune2fs
72 }