2017-11-19 17:33:25 +01:00
|
|
|
|
# Tanım: NetBSD make inşa aracının taşınabilir bir sürümü.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.crufty.net/help/sjg/bmake.html
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
2017-01-30 23:55:06 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=bmake
|
2017-11-19 17:33:25 +01:00
|
|
|
|
surum=20171028
|
2017-10-28 14:10:23 +02:00
|
|
|
|
devir=1
|
2017-11-19 17:33:25 +01:00
|
|
|
|
kaynak=(http://www.crufty.net/ftp/pub/sjg/bmake-$surum.tar.gz
|
|
|
|
|
)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-11-19 17:33:25 +01:00
|
|
|
|
derle() {
|
|
|
|
|
cd "$SRC/$isim"
|
|
|
|
|
# Add missing bsd.*.mk symlinks
|
2016-02-24 01:27:23 +01:00
|
|
|
|
_links_orig="dep doc init lib links man nls obj own prog subdir"
|
|
|
|
|
_links_new="dep doc inc init lib links man nls obj own prog subdir"
|
|
|
|
|
sed -i -e "s/$_links_orig/$_links_new/" mk/install-mk
|
2017-11-19 17:33:25 +01:00
|
|
|
|
cd "$SRC"
|
2016-02-24 01:27:23 +01:00
|
|
|
|
mkdir -p bmake-build
|
|
|
|
|
cd bmake-build
|
|
|
|
|
sh ../bmake/boot-strap --prefix=/usr
|
2017-11-19 17:33:25 +01:00
|
|
|
|
install -dm0755 "$PKG/usr/bin"
|
|
|
|
|
install -dm0755 "$PKG/usr/share/man/cat1"
|
|
|
|
|
install -dm0755 "$PKG/usr/share/licenses/$isim"
|
|
|
|
|
sh ../bmake/boot-strap --prefix=/usr --install-destdir="$PKG" op=install
|
|
|
|
|
head -n70 ../bmake/main.c >"$PKG"/usr/share/licenses/$isim/LICENSE
|
2016-02-24 01:27:23 +01:00
|
|
|
|
}
|
2017-11-19 17:33:25 +01:00
|
|
|
|
|