wok view automake/receipt @ rev 8170

imported patch toolchain/automake.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:49 2011 +0100 (2011-01-27)
parents 33c114b1b1c1
children 9f14db5de762
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 DEPENDS="autoconf"
9 BUILD_DEPENDS="autoconf"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/automake/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure &&
19 make &&
20 make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/share/aclocal-1.11 $fs/usr/share
29 cp -a $_pkg/usr/share/automake-1.11 $fs/usr/share
30 }
32 # Clean old files.
33 pre_install()
34 {
35 rm -rf /usr/share/automake-1.9
36 rm -rf /usr/share/aclocal-1.9
37 rm -rf /usr/share/automake-1.10
38 rm -rf /usr/share/aclocal-1.10
39 }