wok view libtool/receipt @ rev 12787

galculator: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 15 14:50:31 2012 +0200 (2012-05-15)
parents ac4274a26d94
children 6eff489aa802
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/libtool/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="libltdl automake autoconf"
13 BUILD_DEPENDS="automake autoconf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --enable-shared \
21 $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr \
29 $fs/usr/share $fs/usr/lib
31 cp -a $install/usr/lib/*.*a $fs/usr/lib
32 cp -a $install/usr/include $fs/usr
33 cp -a $install/usr/share/aclocal $fs/usr/share
34 cp -a $install/usr/share/libtool $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 }