void-packages/srcpkgs/make/template
q66 30d93dddca Revert "make: use tar.gz distfile to not depend on xz"
This reverts commit fc251d6134.

Doing this fails:

```
=> make-4.3_1: running pre_configure ...
/usr/bin/autopoint: line 494: xz: command not found
tar: This does not look like a tar archive
tar: gettext-0.19.4: Not found in archive
tar: Exiting with failure status due to previous errors
```
2020-01-21 01:57:15 +01:00

25 lines
771 B
Bash

# Template file for 'make'
pkgname=make
version=4.3
revision=1
bootstrap=yes
build_style=gnu-configure
configure_args="$(vopt_with guile)"
hostmakedepends="$(vopt_if guile pkg-config) xz"
makedepends="$(vopt_if guile 'gc-devel guile-devel')"
short_desc="The GNU make system"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://www.gnu.org/software/make"
distfiles="${GNU_SITE}/make/${pkgname}-${version}.tar.lz"
checksum=de1a441c4edf952521db30bfca80baae86a0ff1acd0a00402999344f04c45e82
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 tar"
fi
pre_configure() {
autoreconf -fi
}