wok-next view automake/receipt @ rev 19001
Use variables in $TARBALL
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 23 11:51:37 2016 +0200 (2016-03-23) |
parents | 8fddb5f5b2e0 |
children | 7f39549720b8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="automake"
4 VERSION="1.14.1"
5 CATEGORY="development"
6 SHORT_DESC="A GNU tool for automatically creating Makefiles"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnu.org/software/automake/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="autoconf"
14 BUILD_DEPENDS="autoconf bison flex"
16 # Rules to compile & install the temporary toolchain.
17 cook_tmp_toolchain()
18 {
19 ./configure && make && make install
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 ln -sf aclocal-${VERSION%.*} $fs/usr/bin/aclocal
35 ln -sf automake-${VERSION%.*} $fs/usr/bin/automake
36 rm -rf $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/man
37 }