wok-stable view e2fsprogs/receipt @ rev 12465

Up e2fsprogs (1.44.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 04 18:42:23 2019 +0100 (2019-03-04)
parents 4c752152fba2
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.xz"
10 WEB_SITE="http://e2fsprogs.sourceforge.net/"
11 WGET_URL="https://www.kernel.org/pub/linux/kernel/people/tytso/$PACKAGE/v$VERSION/$TARBALL"
13 DEPENDS="libcomerr util-linux-ng-blkid util-linux-ng-uuid"
14 BUILD_DEPENDS="texinfo util-linux-ng-blkid-dev util-linux-ng-uuid-dev wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir ../build && cd ../build
20 $src/configure \
21 --prefix=/usr \
22 --with-root-prefix="" \
23 --enable-elf-shlibs \
24 --sysconfdir=/etc \
25 $CONFIGURE_ARGS
26 make && make install &&
27 make install-libs
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/sbin $fs
35 cp -a $install/lib $fs
36 cp -a $install/etc $fs
37 # legacy grub & syslinux don't support 64bit feature
38 sed -i 's|small = {|&\n\t\tfeatures = ^64bit|' $fs/etc/mke2fs.conf
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 ( cd $fs ; for i in lib/*.so.?; do ln -s /$i usr/$i ; done )
42 cat $stuff/*.files-list | while read file; do
43 rm -f ${fs}$file
44 done
45 # Remove fsck provided by Busybox.
46 rm $fs/sbin/fsck*
47 }
49 # Overlap busybox
50 pre_install()
51 {
52 rm -f $1/sbin/findfs
53 rm -f $1/sbin/tune2fs
54 }
56 post_remove()
57 {
58 ln -s /bin/busybox $1/sbin/findfs
59 ln -s /bin/busybox $1/sbin/tune2fs
60 }