moving packages
This commit is contained in:
parent
d2235a7fc5
commit
7488ce0293
48 changed files with 0 additions and 0 deletions
36
base/bmake/build.sh
Normal file
36
base/bmake/build.sh
Normal file
|
@ -0,0 +1,36 @@
|
|||
pkgver=20210420
|
||||
pkgname=bmake
|
||||
bad="musl"
|
||||
ext="doc"
|
||||
|
||||
fetch() {
|
||||
curl http://www.crufty.net/ftp/pub/sjg/bmake-$pkgver.tar.gz -o $pkgname-$pkgver.tar.gz
|
||||
tar -xf $pkgname-$pkgver.tar.gz
|
||||
mv $pkgname $pkgname-$pkgver
|
||||
cd $pkgname-$pkgver
|
||||
patch ./boot-strap < ../../no-test.patch
|
||||
patch ./install-sh < ../../install.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr --with-default-sys-path=/usr/share/mk
|
||||
sh ./make-bootstrap.sh
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
./bmake -m ./mk install DESTDIR=$pkgdir
|
||||
ln -sr $pkgdir/usr/bin/bmake $pkgdir/usr/bin/make
|
||||
rm -r $pkgdir/usr/share/man
|
||||
}
|
||||
|
||||
package_doc() {
|
||||
cd $pkgname-$pkgver
|
||||
install -Dm644 ./bmake.1 $pkgdir/usr/share/man/man1/bmake.1
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
}
|
7
base/bmake/install.patch
Normal file
7
base/bmake/install.patch
Normal file
|
@ -0,0 +1,7 @@
|
|||
--- install-sh
|
||||
+++ install-sh.1
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/bin/sh
|
||||
:
|
||||
# NAME:
|
||||
# install.sh - portable version of install(1)
|
11
base/bmake/no-test.patch
Normal file
11
base/bmake/no-test.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- ../bmakeb/bmake/boot-strap 2020-11-13 21:47:25.000000000 +0000
|
||||
+++ boot-strap 2020-12-27 17:26:13.126598658 +0000
|
||||
@@ -431,7 +431,7 @@
|
||||
|
||||
op_test() {
|
||||
[ -x bmake ] || op_build
|
||||
- Bmake test || exit 1
|
||||
+ #Bmake test || exit 1
|
||||
}
|
||||
|
||||
op_clean() {
|
Loading…
Add table
Add a link
Reference in a new issue