wok view libtool/receipt @ rev 25051
Up terminology (0.7.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 05 10:44:35 2022 +0000 (2022-06-05) |
parents | 83774c8a65dc |
children | d79ed38ace18 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libtool"
4 VERSION="2.4.6"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Portable Library Tool."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnu.org/software/libtool/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libltdl automake autoconf"
15 BUILD_DEPENDS="automake autoconf"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation.
20 case "$ARCH" in
21 arm) BUILD_DEPENDS="" ;;
22 esac
24 # What is the latest version available today?
25 current_version()
26 {
27 wget -O - ${WGET_URL%/*} 2>/dev/null | \
28 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./configure \
35 --enable-shared \
36 $CONFIGURE_ARGS &&
37 make -j 1 &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
45 mkdir -p $fs/usr/lib
47 cp -a $install/usr/lib/*.*a $fs/usr/lib
48 cp -a $install/usr/include $fs/usr
49 cp -a $install/usr/share/aclocal $fs/usr/share
50 cp -a $install/usr/share/libtool $fs/usr/share
51 cp -a $install/usr/bin $fs/usr
52 }