wok-4.x view libtool/receipt @ rev 205

Full up category office
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 13 14:12:47 2008 +0100 (2008-02-13)
parents
children cf22fee17710
line source
1 # SliTaz package receipt.
3 PACKAGE="libtool"
4 VERSION="1.5.24"
5 CATEGORY="extra"
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 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 cp -a $_pkg/usr/include $fs/usr
29 cp -a $_pkg/usr/share/aclocal $fs/usr/share
30 cp -a $_pkg/usr/share/libtool $fs/usr/share
31 strip -s $fs/usr/bin/*
32 strip -s $fs/usr/lib/*.so*
33 }