milis/talimatname/genel/b/bmake/talimat

29 lines
927 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: NetBSD make inşa aracının taşınabilir bir sürümü.
# URL: http://www.crufty.net/help/sjg/bmake.html
# Paketçi: milisarge
# Gerekler:
# Grup: geliştirme
isim=bmake
surum=20171028
devir=1
kaynak=(http://www.crufty.net/ftp/pub/sjg/bmake-$surum.tar.gz
)
derle() {
cd "$SRC/$isim"
# Add missing bsd.*.mk symlinks
_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
cd "$SRC"
mkdir -p bmake-build
cd bmake-build
sh ../bmake/boot-strap --prefix=/usr
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
}