wok view automake/receipt @ rev 10352
bash: make it cross compile!
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 22 22:38:05 2011 +0200 (2011-05-22) |
parents | 01d291cc9cac |
children | 88ec8ecd6b1f |
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 $CONFIGURE_ARGS &&
19 make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/share/aclocal-1.11 $fs/usr/share
28 cp -a $_pkg/usr/share/automake-1.11 $fs/usr/share
29 }
31 # Clean old files.
32 pre_install()
33 {
34 rm -rf /usr/share/automake-1.9
35 rm -rf /usr/share/aclocal-1.9
36 rm -rf /usr/share/automake-1.10
37 rm -rf /usr/share/aclocal-1.10
38 }