wok-next diff libtool/receipt @ rev 20436

Update packages listed in the LFS book.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 21 19:48:17 2018 +0200 (2018-02-21)
parents c04bd033a43d
children 5841522533ec
line diff
     1.1 --- a/libtool/receipt	Tue Nov 21 12:56:18 2017 +0200
     1.2 +++ b/libtool/receipt	Wed Feb 21 19:48:17 2018 +0200
     1.3 @@ -3,37 +3,34 @@
     1.4  PACKAGE="libtool"
     1.5  VERSION="2.4.6"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="The GNU Portable Library Tool."
     1.8 +SHORT_DESC="The GNU Portable Library Tool"
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11  WEB_SITE="https://www.gnu.org/software/libtool/"
    1.12 -HOST_ARCH="i486 arm"
    1.13 +LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/libtool.html"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.17  
    1.18 +BUILD_DEPENDS_arm=" "
    1.19  BUILD_DEPENDS="automake autoconf gfortran"
    1.20 -BUILD_DEPENDS_arm=" "
    1.21 -SPLIT="libltdl"
    1.22 +SPLIT="libltdl libtool"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 +compile_rules() {
    1.28  	./configure $CONFIGURE_ARGS && make && make install
    1.29  }
    1.30  
    1.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 -genpkg_rules()
    1.33 -{
    1.34 +genpkg_rules() {
    1.35  	case $PACKAGE in
    1.36 -		libtool)
    1.37 -			copy bin/ include/ aclocal/ libtool/ *.*a
    1.38 -			DEPENDS="libltdl automake autoconf"
    1.39 -			;;
    1.40  		libltdl)
    1.41  			copy *.so*
    1.42  			CAT="system-tools|library"
    1.43  			DEPENDS="glibc-base"
    1.44  			;;
    1.45 +		libtool)
    1.46 +			copy @std @dev @rm
    1.47 +			DEPENDS="libltdl automake autoconf"
    1.48 +			TAGS="LFS"
    1.49 +			;;
    1.50  	esac
    1.51  }