wok-6.x view libtool/receipt @ rev 19914
python-gammu: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 13 15:41:26 2017 +0200 (2017-04-13) |
parents | ab15b09c1a91 |
children | 83774c8a65dc |
line source
1 # SliTaz package receipt.
3 PACKAGE="libtool"
4 VERSION="2.4.2"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Portable Library Tool."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/libtool/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libltdl automake autoconf"
15 BUILD_DEPENDS="automake autoconf"
17 # Handle cross compilation.
18 case "$ARCH" in
19 arm) BUILD_DEPENDS="" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --enable-shared \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr \
35 $fs/usr/share $fs/usr/lib
37 cp -a $install/usr/lib/*.*a $fs/usr/lib
38 cp -a $install/usr/include $fs/usr
39 cp -a $install/usr/share/aclocal $fs/usr/share
40 cp -a $install/usr/share/libtool $fs/usr/share
41 cp -a $install/usr/bin $fs/usr
42 }