# Template build file for 'chroot-make'
pkgname=chroot-make
version=3.82
revision=3
wrksrc="make-${version}"
build_style=gnu-configure
configure_args="--disable-nls"
short_desc="The GNU make system -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://ftp.gnu.org/pub/gnu/make/make-$version.tar.bz2"
checksum=e2c1a73f179c40c71e2fe8abf8a8a0688b8499538512984da4a76958d0402966
homepage="http://www.gnu.org/software/make/"
license="GPL-3"
long_desc="
 GNU Make is a program that determines which pieces of a large
 program need to be recompiled and issues the commands to
 recompile them, when necessary.

 This package is only meant to be used by xbps-src, don't install it manually."

bootstrap=yes

post_install() {
	rm -rf ${DESTDIR}/usr/share
}

chroot-make_package() {
	conflicts="make>=0"
	provides="make-${version}"
	pkg_install() {
		vmove usr
	}
}
