41 lines
1016 B
Plaintext
41 lines
1016 B
Plaintext
# Description: NetBSD make program
|
|
# URL: http://www.crufty.net/help/sjg/bmake.html
|
|
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
|
|
|
name=bmake
|
|
version=20220208
|
|
release=1
|
|
source=(http://www.crufty.net/ftp/pub/sjg/${name}-${version}.tar.gz)
|
|
|
|
build() {
|
|
cd ${name}
|
|
|
|
# The first block may only be broken in util-linux's unshare(1) which
|
|
# disables interrupts (busybox unshare(1) does not), the second is broken
|
|
# due to dash or whatever else
|
|
BROKEN_TESTS='\
|
|
cmd-interrupt \
|
|
deptgt-interrupt \
|
|
\
|
|
opt-debug-x-trace \
|
|
var-op-shell \
|
|
'
|
|
export BROKEN_TESTS
|
|
|
|
mkdir -p build
|
|
cd build
|
|
|
|
sh ../boot-strap --with-default-sys-path=/usr/share/mk
|
|
|
|
sh ../boot-strap --prefix=/usr \
|
|
--with-mksrc=/usr/share/mk \
|
|
--install-destdir="${PKG}" op=install
|
|
|
|
chmod g-w "${PKG}"/usr/bin "${PKG}"/usr/share/mk
|
|
rm -rf "${PKG}"/usr/share/man/cat1
|
|
mkdir "${PKG}"/usr/share/man/man1
|
|
cp ../bmake.1 "${PKG}"/usr/share/man/man1/
|
|
}
|
|
|
|
# s-sh-mode
|