wok-stable diff 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 diff
     1.1 --- a/e2fsprogs/receipt	Sun May 22 02:19:11 2011 +0200
     1.2 +++ b/e2fsprogs/receipt	Mon Mar 04 18:42:23 2019 +0100
     1.3 @@ -1,20 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="e2fsprogs"
     1.7 -VERSION="1.41.14"
     1.8 +VERSION="1.44.2"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="Filesystem utilities for use with ext2 and ext3 (without fsck*)."
    1.11 +SHORT_DESC="Filesystem utilities for use with ext2/ext3/ext4 (without fsck*)."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +LICENSE="GPL2"
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16  WEB_SITE="http://e2fsprogs.sourceforge.net/"
    1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18 +WGET_URL="https://www.kernel.org/pub/linux/kernel/people/tytso/$PACKAGE/v$VERSION/$TARBALL"
    1.19 +
    1.20  DEPENDS="libcomerr util-linux-ng-blkid util-linux-ng-uuid"
    1.21 +BUILD_DEPENDS="texinfo util-linux-ng-blkid-dev util-linux-ng-uuid-dev wget"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	cd $src
    1.27 -	./configure \
    1.28 +	mkdir ../build && cd ../build
    1.29 +	$src/configure \
    1.30  		--prefix=/usr \
    1.31  		--with-root-prefix="" \
    1.32  		--enable-elf-shlibs \
    1.33 @@ -27,22 +30,20 @@
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -	mkdir -p $fs/usr/lib $fs/usr/share/locale
    1.38 -	cp -a $_pkg/sbin $fs
    1.39 -	cp -a $_pkg/lib $fs
    1.40 -	cp -a $_pkg/etc $fs
    1.41 -	cp -a $_pkg/usr/bin $fs/usr
    1.42 -	cp -a $_pkg/usr/sbin $fs/usr
    1.43 -	cp -a $_pkg/usr/lib/*.so $fs/usr/lib
    1.44 +	mkdir -p $fs/usr/lib
    1.45 +	cp -a $install/sbin $fs
    1.46 +	cp -a $install/lib $fs
    1.47 +	cp -a $install/etc $fs
    1.48 +	# legacy grub & syslinux don't support 64bit feature
    1.49 +	sed -i 's|small = {|&\n\t\tfeatures = ^64bit|' $fs/etc/mke2fs.conf
    1.50 +	cp -a $install/usr/bin $fs/usr
    1.51 +	cp -a $install/usr/sbin $fs/usr
    1.52 +	( cd $fs ; for i in lib/*.so.?; do ln -s /$i usr/$i ; done )
    1.53  	cat $stuff/*.files-list | while read file; do
    1.54 -		rm -f $fs$file
    1.55 +		rm -f ${fs}$file
    1.56  	done
    1.57 -	# Remove fsck provided by Busybox and blkid by util-linux-ng.
    1.58 -	rm $fs/sbin/fsck* $fs/sbin/blkid
    1.59 -	rm $fs/lib/libblkid* $fs/usr/lib/libblkid*
    1.60 -	# Remove uuid files provided by util-linux-ng.
    1.61 -	rm $fs/usr/sbin/uuidd $fs/usr/bin/uuidgen
    1.62 -	rm $fs/lib/libuuid* $fs/usr/lib/libuuid*
    1.63 +	# Remove fsck provided by Busybox.
    1.64 +	rm $fs/sbin/fsck*
    1.65  }
    1.66  
    1.67  # Overlap busybox