wok view libtool/receipt @ rev 18061

py3k3: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 17 00:09:41 2015 +0200 (2015-05-17)
parents 6eff489aa802
children 124c3a7da04f
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 cd $src
26 ./configure \
27 --enable-shared \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr \
36 $fs/usr/share $fs/usr/lib
38 cp -a $install/usr/lib/*.*a $fs/usr/lib
39 cp -a $install/usr/include $fs/usr
40 cp -a $install/usr/share/aclocal $fs/usr/share
41 cp -a $install/usr/share/libtool $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 }