wok-6.x view automake/receipt @ rev 14582
vim*: unblock post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 26 17:48:34 2013 +0200 (2013-05-26) |
parents | 4219237b4608 |
children | a09e9d64e4c9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="automake"
4 VERSION="1.11.3"
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 ln -sf automake-1.11 $fs/usr/bin/automake-1.10
38 ln -sf aclocal-1.11 $fs/usr/bin/aclocal-1.10
39 ln -sf aclocal-1.11 $fs/usr/share/aclocal-1.10
40 ln -sf automake-1.11 $fs/usr/share/automake-1.10
41 }