2020-12-30 22:26:26 +01:00
|
|
|
# Description: NetBSD make program
|
|
|
|
# URL: http://www.crufty.net/help/sjg/bmake.html
|
|
|
|
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
|
|
|
|
|
|
|
name=bmake
|
2021-02-08 23:50:53 +01:00
|
|
|
version=20210110
|
2020-12-30 22:26:26 +01:00
|
|
|
release=2
|
2021-02-08 23:50:53 +01:00
|
|
|
source=(http://www.crufty.net/ftp/pub/sjg/${name}-${version}.tar.gz
|
|
|
|
u-t-makefile.patch)
|
2020-12-30 22:26:26 +01:00
|
|
|
|
|
|
|
build() {
|
2021-02-08 23:50:53 +01:00
|
|
|
cd ${name}
|
2020-12-30 22:26:26 +01:00
|
|
|
|
2021-02-08 23:50:53 +01:00
|
|
|
patch -p0 < "${SRC}"/u-t-makefile.patch
|
2020-12-30 22:26:26 +01:00
|
|
|
|
|
|
|
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 \
|
2021-02-08 23:50:53 +01:00
|
|
|
--install-destdir="${PKG}" op=install
|
2020-12-30 22:26:26 +01:00
|
|
|
|
2021-02-08 23:50:53 +01:00
|
|
|
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/
|
2020-12-30 22:26:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
# s-sh-mode
|