wok view automake/receipt @ rev 24418
clamtk: replaced perl-gtk2 by perl-gtk3
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 09:25:31 2022 +0100 (2022-02-11) |
parents | 71360a13cd94 |
children | d79ed38ace18 |
line source
1 # SliTaz package receipt.
3 PACKAGE="automake"
4 VERSION="1.16.5"
5 CATEGORY="development"
6 SHORT_DESC="A GNU tool for automatically creating Makefiles."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gnu.org/software/automake/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="autoconf"
15 BUILD_DEPENDS="autoconf bison flex"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to compile & install the temporary toolchain.
25 cook_tmp_toolchain()
26 {
27 ./configure &&
28 make &&
29 make install
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 ./configure $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/* $fs
45 ln -sf aclocal-${VERSION%.*} $fs/usr/bin/aclocal
46 ln -sf automake-${VERSION%.*} $fs/usr/bin/automake
48 rm -rf $fs/usr/share/doc
49 rm -rf $fs/usr/share/info
50 rm -rf $fs/usr/share/man
51 }