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