wok-next diff e2fsprogs/receipt @ rev 20195

lirc: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 03 11:41:58 2017 +0100 (2017-11-03)
parents 18c4d15a72df
children 90a5eb560fd6
line diff
     1.1 --- a/e2fsprogs/receipt	Fri Jan 27 15:35:03 2017 +0200
     1.2 +++ b/e2fsprogs/receipt	Fri Nov 03 11:41:58 2017 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="e2fsprogs"
     1.8 -VERSION="1.43.1"
     1.9 +VERSION="1.43.4"
    1.10  CATEGORY="base-system"
    1.11 -SHORT_DESC="Filesystem utilities for use with ext2 and ext3 (without fsck*)."
    1.12 +SHORT_DESC="Filesystem utilities for use with ext2 and ext3"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15  WEB_SITE="http://e2fsprogs.sourceforge.net/"
    1.16 @@ -12,15 +12,10 @@
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20 -DEPENDS="libcomerr util-linux-blkid util-linux-uuid"
    1.21  BUILD_DEPENDS="util-linux-uuid-dev util-linux-blkid-dev gettext attr-dev \
    1.22  acl-dev texinfo"
    1.23 -SPLIT="libcomerr libcomerr-dev e2fsprogs-dev"
    1.24 -
    1.25 -# Handle cross compilation.
    1.26 -case "$ARCH" in
    1.27 -	arm) BUILD_DEPENDS="" ;;
    1.28 -esac
    1.29 +BUILD_DEPENDS_arm=" "
    1.30 +SPLIT="libcomerr libcomerr-dev e2fsprogs-dev e2fsprogs-fsck"
    1.31  
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34 @@ -63,16 +58,40 @@
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	cook_copy_folders bin sbin etc
    1.39 -	cook_copy_files *.so*
    1.40 -	# Split -> libcomerr
    1.41 -	find $fs -name 'libcom_err*' -delete
    1.42 -	# Remove fsck provided by Busybox.
    1.43 -	rm $fs/sbin/fsck*
    1.44 +	case $PACKAGE in
    1.45 +		e2fsprogs)
    1.46 +			copy bin/ sbin/ etc/ *.so*
    1.47 +			find $fs -name '*com_err*' -delete
    1.48 +			# Remove fsck provided by Busybox.
    1.49 +			rm $fs/sbin/fsck*
    1.50 +			DEPENDS="libcomerr util-linux-blkid util-linux-uuid"
    1.51 +			;;
    1.52 +		e2fsprogs-dev)
    1.53 +			copy @dev *.awk *.sed
    1.54 +			find $fs \( -name com_err.h -o -name libcom_err.a -o -name com_err.pc \) -delete
    1.55 +			DEPENDS="libcomerr-dev pkg-config"
    1.56 +			;;
    1.57 +		libcomerr)
    1.58 +			copy libcom_err.so*
    1.59 +			CAT="base-system|libcomerr library"
    1.60 +			DEPENDS=" "
    1.61 +			;;
    1.62 +		libcomerr-dev)
    1.63 +			copy libcom_err.a com_err.h com_err.pc
    1.64 +			CAT="development|libcomerr development files"
    1.65 +			DEPENDS="pkg-config"
    1.66 +			;;
    1.67 +		e2fsprogs-fsck)
    1.68 +			copy fsck.*
    1.69 +			rm -r $fs/usr
    1.70 +			CAT="system-tools|fsck tools"
    1.71 +			DEPENDS="e2fsprogs libcomerr util-linux-blkid util-linux-uuid"
    1.72 +			;;
    1.73 +	esac
    1.74  }
    1.75  
    1.76  # Overlap busybox
    1.77 -pre_install()
    1.78 +pre_install_e2fsprogs()
    1.79  {
    1.80  	rm -f $1/sbin/tune2fs
    1.81  }