43 lines
1.2 KiB
Bash
43 lines
1.2 KiB
Bash
# Template file for 'mk-configure'
|
|
pkgname=mk-configure
|
|
version=0.39.4
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_cmd=bmake
|
|
make_install_args="MANDIR=/usr/share/man"
|
|
make_check_target="test"
|
|
hostmakedepends="bmake bmkdep tar texinfo"
|
|
depends="bmake bmkdep"
|
|
checkdepends="automake glib-devel groff pkg-config bison flex libbsd-devel"
|
|
short_desc="Lightweight replacement for GNU autotools"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-2-Clause, BSD-3-Clause"
|
|
homepage="https://github.com/cheusov/mk-configure/"
|
|
distfiles="https://github.com/cheusov/${pkgname}/archive/${pkgname}-${version}.tar.gz"
|
|
checksum=2bf7e95e6923ff3e79faced67169f616a83f27f6f68849b6f00badee3a6474f7
|
|
disable_parallel_build=yes
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
checkdepends+=" musl-fts-devel"
|
|
esac
|
|
|
|
post_extract() {
|
|
rm -r tests/pkg_config_2 # different wording
|
|
rm -r tests/*lua*
|
|
rm -r examples/*lua*
|
|
rm -r examples/*lex*
|
|
rm -r tests/test_subprj_dash
|
|
rm -r tests/test_mkc_vs_*
|
|
}
|
|
pre_build() {
|
|
${make_cmd} all-scripts PROG.awk=/usr/bin/awk PREFIX=/usr
|
|
}
|
|
pre_check() {
|
|
unset CC CFLAGS CXXFLAGS
|
|
}
|
|
post_install() {
|
|
vlicense doc/LICENSE
|
|
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE
|
|
}
|