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

Add alieninvasion, spaceinvader, racer10k and javascript-racer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 22 17:01:17 2020 +0000 (2020-08-22)
parents 2f4e0c4137e9
children ef1efd2c8811
line source
1 # SliTaz package receipt.
3 PACKAGE="e2fsprogs"
4 VERSION="1.45.5"
5 CATEGORY="base-system"
6 SHORT_DESC="Filesystem utilities for use with ext2, ext3 and ext4 (without fsck*)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://e2fsprogs.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libcomerr util-linux-blkid util-linux-uuid"
15 BUILD_DEPENDS="coreutils-operations texinfo util-linux-blkid-dev
16 util-linux-uuid-dev"
18 HOST_ARCH="i486 arm"
20 # Handle cross compilation.
21 case "$ARCH" in
22 arm) BUILD_DEPENDS="" ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Do not use 64-bit feature by default on ext4 because syslinux and grub4dos-linux
29 # bootloaders used by the slitaz-installer(tazinst) will fail to boot.
30 # Add "auto_64-bit_support = 1" to enable 64-bit if the number of blocks for the file system
31 # require the feature to be enabled.
32 zcat $stuff/e2fsprogs.no.64bit.by.default.diff.gz | patch -p1 || exit 1
34 sed -i 's|\$ac_MKDIR_P&|mkdir -p\&|' configure
36 mkdir ../build &&
37 cd ../build &&
38 $src/configure \
39 --prefix=/usr \
40 --with-root-prefix="" \
41 --enable-elf-shlibs \
42 --sysconfdir=/etc \
43 $CONFIGURE_ARGS
44 make &&
45 make install &&
46 make install-libs
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/lib
54 cp -a $install/sbin $fs
55 cp -a $install/lib $fs
56 cp -a $install/etc $fs
57 cp -a $install/usr/bin $fs/usr
58 cp -a $install/usr/sbin $fs/usr
59 ( cd $fs ; for i in lib/*.so.?; do ln -s /$i usr/$i ; done )
60 cat $stuff/*.files-list | while read file
61 do
62 rm -f ${fs}$file
63 done
65 # Remove fsck provided by Busybox.
66 rm $fs/sbin/fsck*
67 }
69 # Overlap busybox
70 pre_install()
71 {
72 rm -f $root/sbin/findfs
73 rm -f $root/sbin/tune2fs
74 }
76 post_remove()
77 {
78 ln -s /bin/busybox $root/sbin/findfs
79 ln -s /bin/busybox $root/sbin/tune2fs
80 }