void-packages/srcpkgs/make/template
Jürgen Buchmüller f24a9b9aa1
make: add to hostmakedepends only if chroot ready
If bootstrapping the dependencies automake, gettext-devel, and pkg-config
are required to be installed in the builder's host environment.

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-10-24 17:47:59 +02:00

25 lines
752 B
Bash

# Template file for 'make'
pkgname=make
version=4.2.1
revision=3
patch_args="-Np1"
bootstrap=yes
build_style=gnu-configure
build_options=guile
configure_args="$(vopt_with guile)"
hostmakedepends="$(vopt_if guile pkg-config)"
makedepends="$(vopt_if guile 'gc-devel guile-devel')"
short_desc="The GNU make system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.gnu.org/software/make"
distfiles="${GNU_SITE}/make/${pkgname}-${version}.tar.bz2"
checksum=d6e262bf3601b42d2b1e4ef8310029e1dcf20083c5446b4b7aa67081fdffc589
# This should be temporary until upstream releases a new version with fixes
if [ -n "$CHROOT_READY" ]; then
hostmakedepends+=" automake gettext-devel pkg-config"
fi
pre_configure() {
autoreconf -fi
}