wok-4.x view e2fsprogs/receipt @ rev 12477

Up openssl 1.1.1n (bump packages curl, git, wget, python), up cherokee 1.2.104 and bdeps (automake, openldap, cyrus-sasl)
author Stanislas Leduc <shann@slitaz.org>
date Sun Apr 02 14:34:44 2023 +0000 (14 months ago)
parents e929c7543035
children
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="https://www.kernel.org/pub/linux/kernel/people/tytso/$PACKAGE/v$VERSION/$TARBALL"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libcomerr util-linux-ng-blkid util-linux-ng-uuid"
15 BUILD_DEPENDS="texinfo util-linux-ng-blkid-dev util-linux-ng-uuid-dev wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir ../build && cd ../build
21 $src/configure \
22 --prefix=/usr \
23 --with-root-prefix="" \
24 --enable-elf-shlibs \
25 --sysconfdir=/etc \
26 $CONFIGURE_ARGS
27 make && make install &&
28 make install-libs
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/sbin $fs
36 cp -a $install/lib $fs
37 cp -a $install/etc $fs
38 # legacy grub & syslinux don't support 64bit feature
39 sed -i 's|small = {|&\n\t\tfeatures = ^64bit|' $fs/etc/mke2fs.conf
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/sbin $fs/usr
42 ( cd $fs ; for i in lib/*.so.?; do ln -s /$i usr/$i ; done )
43 cat $stuff/*.files-list | while read file; do
44 rm -f ${fs}$file
45 done
46 # Remove fsck provided by Busybox.
47 rm $fs/sbin/fsck*
48 }
50 # Overlap busybox
51 pre_install()
52 {
53 rm -f $1/sbin/findfs
54 rm -f $1/sbin/tune2fs
55 }
57 post_remove()
58 {
59 ln -s /bin/busybox $1/sbin/findfs
60 ln -s /bin/busybox $1/sbin/tune2fs
61 }