2021-12-26 12:40:14 +00:00
|
|
|
pkgver=20211024
|
2020-12-27 17:36:57 +00:00
|
|
|
pkgname=bmake
|
2021-09-11 08:24:20 +00:00
|
|
|
mkdeps=""
|
|
|
|
deps=""
|
2020-12-27 17:36:57 +00:00
|
|
|
|
|
|
|
fetch() {
|
2021-01-31 11:09:14 +00:00
|
|
|
curl http://www.crufty.net/ftp/pub/sjg/bmake-$pkgver.tar.gz -o $pkgname-$pkgver.tar.gz
|
2020-12-27 17:36:57 +00:00
|
|
|
tar -xf $pkgname-$pkgver.tar.gz
|
|
|
|
mv $pkgname $pkgname-$pkgver
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
patch ./boot-strap < ../../no-test.patch
|
2021-01-12 11:06:46 +00:00
|
|
|
patch ./install-sh < ../../install.patch
|
2020-12-27 17:36:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-01-31 11:09:14 +00:00
|
|
|
./configure --prefix=/usr --with-default-sys-path=/usr/share/mk
|
2020-12-27 17:36:57 +00:00
|
|
|
sh ./make-bootstrap.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./bmake -m ./mk install DESTDIR=$pkgdir
|
2021-01-12 11:06:46 +00:00
|
|
|
ln -sr $pkgdir/usr/bin/bmake $pkgdir/usr/bin/make
|
2020-12-27 17:36:57 +00:00
|
|
|
}
|
|
|
|
|
2021-12-26 12:40:14 +00:00
|
|
|
backup() {
|
|
|
|
return
|
2020-12-27 17:36:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cat LICENSE
|
|
|
|
}
|