wok view libtool/receipt @ rev 24102
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 17 10:35:57 2021 +0000 (2021-09-17) |
parents | 124c3a7da04f |
children | 71360a13cd94 |
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 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --enable-shared \
29 $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.*a $fs/usr/lib
41 cp -a $install/usr/include $fs/usr
42 cp -a $install/usr/share/aclocal $fs/usr/share
43 cp -a $install/usr/share/libtool $fs/usr/share
44 cp -a $install/usr/bin $fs/usr
45 }