wok view autoconf-archive/receipt @ rev 25284

roundup: added BUILD_DEPENDS
author Hans-G?nter Theisgen
date Mon Jul 18 16:14:38 2022 +0100 (2022-07-18)
parents ef4ee17e784f
children d79ed38ace18
line source
1 # SliTaz package receipt.
3 PACKAGE="autoconf-archive"
4 VERSION="2021.02.19"
5 CATEGORY="development"
6 SHORT_DESC="Collection of GNU Autoconf macros."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://www.gnu.org/software/autoconf-archive/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="autoconf"
16 HOST_ARCH="any"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 compile_rules()
26 {
27 ./configure \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/share/aclocal $fs/usr/share
37 }