wok view automake/receipt @ rev 10962
Fixed opencc CATEGORY. Don't use pushd and popd cause build bot may not use bash. Some clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 20 10:22:35 2011 +0000 (2011-09-20) |
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 }