wok-4.x view automake/receipt @ rev 6323
Up: imagemagick, imagemagick-dev to 6.6.4-2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Sep 17 16:59:19 2010 +0000 (2010-09-17) |
parents | 2bbd4f919f94 |
children | 33c114b1b1c1 |
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="perl m4"
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 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/aclocal-1.11 $fs/usr/share
33 cp -a $_pkg/usr/share/automake-1.11 $fs/usr/share
34 }
36 # Clean old files.
37 pre_install()
38 {
39 rm -rf /usr/share/automake-1.9
40 rm -rf /usr/share/aclocal-1.9
41 rm -rf /usr/share/automake-1.10
42 rm -rf /usr/share/aclocal-1.10
43 }