moving packages

This commit is contained in:
Ella-0 2021-07-31 12:55:09 +00:00
parent d2235a7fc5
commit 7488ce0293
48 changed files with 0 additions and 0 deletions

36
base/bmake/build.sh Normal file
View 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
}