wok annotate libtool/receipt @ rev 20952
gcc83: replaced gz2 by xz
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 03 16:41:52 2019 +0100 (2019-03-03) |
parents | ab15b09c1a91 |
children | 83774c8a65dc |
rev | line source |
---|---|
pankso@30 | 1 # SliTaz package receipt. |
pankso@30 | 2 |
pankso@30 | 3 PACKAGE="libtool" |
pankso@12546 | 4 VERSION="2.4.2" |
pankso@211 | 5 CATEGORY="development" |
pankso@30 | 6 SHORT_DESC="The GNU Portable Library Tool." |
pankso@30 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14718 | 8 LICENSE="GPL2" |
pankso@30 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@30 | 10 WEB_SITE="http://www.gnu.org/software/libtool/" |
pankso@30 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@16061 | 12 HOST_ARCH="i486 arm" |
pankso@30 | 13 |
pankso@12546 | 14 DEPENDS="libltdl automake autoconf" |
pankso@12546 | 15 BUILD_DEPENDS="automake autoconf" |
pankso@12546 | 16 |
pankso@16061 | 17 # Handle cross compilation. |
pankso@16061 | 18 case "$ARCH" in |
pankso@16061 | 19 arm) BUILD_DEPENDS="" ;; |
pankso@16061 | 20 esac |
pankso@16061 | 21 |
pankso@30 | 22 # Rules to configure and make the package. |
pankso@30 | 23 compile_rules() |
pankso@30 | 24 { |
pankso@12546 | 25 ./configure \ |
pankso@12546 | 26 --enable-shared \ |
pankso@12546 | 27 $CONFIGURE_ARGS && |
pankso@12546 | 28 make && make install |
pankso@30 | 29 } |
pankso@30 | 30 |
pankso@30 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@30 | 32 genpkg_rules() |
pankso@30 | 33 { |
erjo@8695 | 34 mkdir -p $fs/usr \ |
erjo@8695 | 35 $fs/usr/share $fs/usr/lib |
erjo@8695 | 36 |
pankso@12546 | 37 cp -a $install/usr/lib/*.*a $fs/usr/lib |
pankso@12546 | 38 cp -a $install/usr/include $fs/usr |
pankso@12546 | 39 cp -a $install/usr/share/aclocal $fs/usr/share |
pankso@12546 | 40 cp -a $install/usr/share/libtool $fs/usr/share |
pankso@12546 | 41 cp -a $install/usr/bin $fs/usr |
pankso@30 | 42 } |