wok annotate libtool/receipt @ rev 21947
updated spl (0.7.7 -> 0.7.13)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Oct 08 17:14:12 2019 +0100 (2019-10-08) |
parents | 124c3a7da04f |
children | 71360a13cd94 |
rev | line source |
---|---|
pankso@30 | 1 # SliTaz package receipt. |
pankso@30 | 2 |
pankso@30 | 3 PACKAGE="libtool" |
Hans-G?nter@21319 | 4 VERSION="2.4.6" |
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" |
Hans-G?nter@21319 | 9 WEB_SITE="https://www.gnu.org/software/libtool/" |
Hans-G?nter@21319 | 10 |
pankso@30 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@30 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@30 | 13 |
pankso@12546 | 14 DEPENDS="libltdl automake autoconf" |
pankso@12546 | 15 BUILD_DEPENDS="automake autoconf" |
pankso@12546 | 16 |
Hans-G?nter@21319 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@21319 | 18 |
pankso@16061 | 19 # Handle cross compilation. |
pankso@16061 | 20 case "$ARCH" in |
pankso@16061 | 21 arm) BUILD_DEPENDS="" ;; |
pankso@16061 | 22 esac |
pankso@16061 | 23 |
pankso@30 | 24 # Rules to configure and make the package. |
pankso@30 | 25 compile_rules() |
pankso@30 | 26 { |
Hans-G?nter@21319 | 27 ./configure \ |
Hans-G?nter@21319 | 28 --enable-shared \ |
pankso@12546 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@21319 | 30 make -j 1 && |
Hans-G?nter@21319 | 31 make install |
pankso@30 | 32 } |
pankso@30 | 33 |
pankso@30 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@30 | 35 genpkg_rules() |
pankso@30 | 36 { |
Hans-G?nter@21319 | 37 mkdir -p $fs/usr/share |
Hans-G?nter@21319 | 38 mkdir -p $fs/usr/lib |
erjo@8695 | 39 |
Hans-G?nter@21319 | 40 cp -a $install/usr/lib/*.*a $fs/usr/lib |
Hans-G?nter@21319 | 41 cp -a $install/usr/include $fs/usr |
Hans-G?nter@21319 | 42 cp -a $install/usr/share/aclocal $fs/usr/share |
Hans-G?nter@21319 | 43 cp -a $install/usr/share/libtool $fs/usr/share |
Hans-G?nter@21319 | 44 cp -a $install/usr/bin $fs/usr |
pankso@30 | 45 } |