wok-next diff libtool/receipt @ rev 19745

Update base packages, I'll finish yesterday and then rebuild all these from scratch...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 08 00:20:23 2017 +0300 (2017-06-08)
parents 8da249b2c8d7
children 2f19239eaed4
line diff
     1.1 --- a/libtool/receipt	Fri Dec 23 03:55:33 2016 +0200
     1.2 +++ b/libtool/receipt	Thu Jun 08 00:20:23 2017 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libtool"
     1.8  VERSION="2.4.6"
     1.9 @@ -12,15 +12,10 @@
    1.10  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.11  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.12  
    1.13 -DEPENDS="libltdl automake autoconf"
    1.14  BUILD_DEPENDS="automake autoconf gfortran"
    1.15 +BUILD_DEPENDS_arm=" "
    1.16  SPLIT="libltdl"
    1.17  
    1.18 -# Handle cross compilation.
    1.19 -case "$ARCH" in
    1.20 -	arm) BUILD_DEPENDS="" ;;
    1.21 -esac
    1.22 -
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 @@ -30,6 +25,14 @@
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30 -	cook_copy_folders bin include aclocal libtool
    1.31 -	cook_copy_files *.*a
    1.32 +	case $PACKAGE in
    1.33 +		libtool)
    1.34 +			copy bin/ include/ aclocal/ libtool/ *.*a
    1.35 +			DEPENDS="libltdl automake autoconf"
    1.36 +			;;
    1.37 +		libltdl)
    1.38 +			copy *.so*
    1.39 +			CAT="system-tools|library"
    1.40 +			;;
    1.41 +	esac
    1.42  }