vp-build/srcpkgs/make/template

26 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
}