aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bmake
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-02-15 20:28:19 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2020-02-15 20:52:24 +0100
commiteef9a6010fc8b9cc70ff842050851d99ff5bb2db (patch)
tree550b59263ba734cf73cf228f1ea5b1ccfcd1b393 /testing/bmake
parenta68949ce1b6c16929b2bca70ae96dda26859ce71 (diff)
downloadaports-eef9a6010fc8b9cc70ff842050851d99ff5bb2db.tar.bz2
aports-eef9a6010fc8b9cc70ff842050851d99ff5bb2db.tar.xz
community/bmake: move from testing
Diffstat (limited to 'testing/bmake')
-rw-r--r--testing/bmake/APKBUILD42
-rw-r--r--testing/bmake/install-sh.patch8
-rw-r--r--testing/bmake/separate-tests.patch26
3 files changed, 0 insertions, 76 deletions
diff --git a/testing/bmake/APKBUILD b/testing/bmake/APKBUILD
deleted file mode 100644
index bb78fd83ef..0000000000
--- a/testing/bmake/APKBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
-pkgname=bmake
-pkgver=20200212
-pkgrel=1
-pkgdesc="Portable version of the NetBSD make build tool"
-url="http://www.crufty.net/help/sjg/bmake.html"
-arch="all"
-license="BSD-2-Clause"
-subpackages="$pkgname-doc"
-source="http://www.crufty.net/ftp/pub/sjg/bmake-$pkgver.tar.gz
- install-sh.patch
- separate-tests.patch"
-builddir="$srcdir/$pkgname"
-
-# Reset MAKEFLAGS since it might contain options not supported
-# by bmake. This is, for instance, the case on the builders.
-export MAKEFLAGS="-j${JOBS:-1}"
-
-build() {
- sh ./boot-strap --with-default-sys-path=/usr/share/mk op=build
-}
-
-check() {
- sh ./boot-strap op=test
-}
-
-package() {
- sh ./boot-strap --prefix=/usr --with-mksrc=/usr/share/mk \
- --install-destdir="$pkgdir" op=install
-
- rm -rf "$pkgdir"/usr/share/man/cat1
- install -Dm644 bmake.1 \
- "$pkgdir"/usr/share/man/man1/bmake.1
-
- mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
- install -m644 README ChangeLog \
- "$pkgdir"/usr/share/doc/$pkgname/
-}
-
-sha512sums="a528c67173d663ebc5a877156ef4fe93976599af7d0e3538b5d6f4b73a21da8093a279df08403adb1b7b57aba6ee7145109d1b2a95e1755b46a3169f409fff0f bmake-20200212.tar.gz
-0de9022a2991c5ef02c09ab592a3e2d218cd0bbf58e54f21bc7694110f3dd9e4589bf2b3d241fd167fb220b425007863f20e71e141b4f65bf92d305ba94209da install-sh.patch
-04217b04aca4252f54c836e982d95106a09166370f84fa672c418d1b1799adb9697f5ac9eb10a6ee3a8527e39196a37ad92bb5945733407bf9ec1a7f223183bb separate-tests.patch"
diff --git a/testing/bmake/install-sh.patch b/testing/bmake/install-sh.patch
deleted file mode 100644
index 974b5193bb..0000000000
--- a/testing/bmake/install-sh.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- XXX/install-sh.orig
-+++ XXX/install-sh
-@@ -1,4 +1,4 @@
--:
-+#!/bin/sh
- # NAME:
- # install.sh - portable version of install(1)
- #
diff --git a/testing/bmake/separate-tests.patch b/testing/bmake/separate-tests.patch
deleted file mode 100644
index 0e306652c1..0000000000
--- a/testing/bmake/separate-tests.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-By default tests are run on build and install. Normally, Alpine
-tests are invoked separately in a check stage. To allow doing
-that this patch disable the automatic test invocations during build and
-install.
-
-diff -upr bmake.orig/boot-strap bmake/boot-strap
---- bmake.orig/boot-strap 2019-12-21 13:39:52.658136365 +0100
-+++ bmake/boot-strap 2019-12-21 13:40:25.954816539 +0100
-@@ -414,9 +414,6 @@ op_build() {
- [ -s make-bootstrap.sh ] || op_configure
- chmod 755 make-bootstrap.sh || exit 1
- ./make-bootstrap.sh || exit 1
-- case "$op" in
-- build) op_test;;
-- esac
- }
-
- op_test() {
-@@ -435,7 +432,6 @@ op_clean() {
- }
-
- op_install() {
-- op_test
- case "$INSTALL_PREFIX,$INSTALL_BIN,$prefix" in
- ,$HOST_TARGET/bin,*/$HOST_TARGET)
- INSTALL_PREFIX=`dirname $prefix`