wok-current view automake115/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="automake115"
4 VERSION="1.15"
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/"
10 SOURCE="automake"
11 TARBALL="$SOURCE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$SOURCE/$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 --prefix=/usr --program-suffix=-1.15 &&
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 }