wok-4.x view automake/receipt @ rev 11797

ppp: build rp-pppoe.so
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 25 10:42:24 2012 +0100 (2012-02-25)
parents 9f14db5de762
children
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 }
39 # Clean old files.
40 pre_install()
41 {
42 rm -rf /usr/share/automake-1.9
43 rm -rf /usr/share/aclocal-1.9
44 rm -rf /usr/share/automake-1.10
45 rm -rf /usr/share/aclocal-1.10
46 }