wok view libtool/receipt @ rev 299

Typo in categories and clean gcc receipt
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 29 23:22:41 2008 +0100 (2008-02-29)
parents ebc6b242794b
children 864dfe91a1df
line source
1 # SliTaz package receipt.
3 PACKAGE="libtool"
4 VERSION="1.5.24"
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 # 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 }