wok-stable view automake/receipt @ rev 8974

[q-z]*: use veriable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 11:06:20 2011 +0100 (2011-03-02)
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 }