wok-stable view libtool/receipt @ rev 12460

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 09:09:24 2017 +0200 (2017-04-28)
parents ac1a2a3338dd
children
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 --enable-shared $CONFIGURE_ARGS &&
19 make && make 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 }