wok-stable view libtool/receipt @ rev 8728
Fixed linux not to put a tmp folder in WOK. Instead its WOK/PACKAGE/tmp now. This fixes a problem with update-repository dying out cause of WOK/tmp folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 19 01:35:37 2011 +0000 (2011-02-19) |
parents | 38286698e49d |
children | ac4274a26d94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libtool"
4 VERSION="2.4"
5 CATEGORY="development"
6 SHORT_DESC="The GNU Portable Library Tool."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libltdl automake autoconf"
9 BUILD_DEPENDS="automake autoconf"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/libtool/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --enable-shared && make && 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 \
26 $fs/usr/share $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
29 cp -a $_pkg/usr/include $fs/usr
30 cp -a $_pkg/usr/share/aclocal $fs/usr/share
31 cp -a $_pkg/usr/share/libtool $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 }