wok-next view automake/receipt @ rev 11218

Add from wok-undigest: buildroot cairo-compmgr catfish cdrtools collectd collectd-apache collectd-bind collectd-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 03 22:14:55 2011 +0100 (2011-11-03)
parents 9f14db5de762
children 4219237b4608
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 }