wok view automake/receipt @ rev 12652
codeblocks, compiz-core: add LDFLAGS for Binutils 2.22
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 30 09:47:26 2012 +0200 (2012-04-30) |
parents | 88ec8ecd6b1f |
children | e552d81cb066 |
line source
1 # SliTaz package receipt.
3 PACKAGE="automake"
4 VERSION="1.11.1"
5 CATEGORY="development"
6 SHORT_DESC="Tool for automatically generating 'Makefile.in'."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/automake/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="autoconf"
13 BUILD_DEPENDS="autoconf"
15 # Rules to compile & install the temporary toolchain.
16 cook_tmp_toolchain()
17 {
18 cd $src
19 ./configure && make && make install
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/aclocal-1.11 $fs/usr/share
36 cp -a $_pkg/usr/share/automake-1.11 $fs/usr/share
37 cd $fs/usr/bin
38 ln -s automake-1.11 automake-1.10
39 ln -s aclocal-1.11 aclocal-1.10
40 cd ../share
41 ln -s aclocal-1.11 aclocal-1.10
42 ln -s automake-1.11 automake-1.10
43 }