wok annotate libtool/receipt @ rev 24773
libkeybinder: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 14:54:49 2022 +0000 (2022-03-19) |
parents | 83774c8a65dc |
children | d79ed38ace18 |
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 |
pascal@24336 | 24 # What is the latest version available today? |
pascal@24336 | 25 current_version() |
pascal@24336 | 26 { |
pascal@24336 | 27 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 28 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 29 } |
pascal@24336 | 30 |
pankso@30 | 31 # Rules to configure and make the package. |
pankso@30 | 32 compile_rules() |
pankso@30 | 33 { |
Hans-G?nter@21319 | 34 ./configure \ |
Hans-G?nter@21319 | 35 --enable-shared \ |
pankso@12546 | 36 $CONFIGURE_ARGS && |
Hans-G?nter@21319 | 37 make -j 1 && |
Hans-G?nter@21319 | 38 make install |
pankso@30 | 39 } |
pankso@30 | 40 |
pankso@30 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@30 | 42 genpkg_rules() |
pankso@30 | 43 { |
Hans-G?nter@21319 | 44 mkdir -p $fs/usr/share |
Hans-G?nter@21319 | 45 mkdir -p $fs/usr/lib |
erjo@8695 | 46 |
Hans-G?nter@21319 | 47 cp -a $install/usr/lib/*.*a $fs/usr/lib |
Hans-G?nter@21319 | 48 cp -a $install/usr/include $fs/usr |
Hans-G?nter@21319 | 49 cp -a $install/usr/share/aclocal $fs/usr/share |
Hans-G?nter@21319 | 50 cp -a $install/usr/share/libtool $fs/usr/share |
Hans-G?nter@21319 | 51 cp -a $install/usr/bin $fs/usr |
pankso@30 | 52 } |