void-packages/srcpkgs/make/template

25 lines
764 B
Bash

# Template file for 'make'
pkgname=make
version=4.2.1
revision=4
bootstrap=yes
build_style=gnu-configure
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.org>"
license="GPL-3.0-or-later"
homepage="http://www.gnu.org/software/make"
distfiles="${GNU_SITE}/make/${pkgname}-${version}.tar.bz2"
checksum=d6e262bf3601b42d2b1e4ef8310029e1dcf20083c5446b4b7aa67081fdffc589
build_options=guile
patch_args="-Np1"
# 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
}