milis/talimatname/genel/b/bmake/talimat

29 lines
852 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02: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
2016-02-24 01:27:23 +01:00
name=bmake
version=20150910
release=1
source=(http://www.crufty.net/ftp/pub/sjg/bmake-$version.tar.gz)
2017-10-27 23:59:41 +02:00
derle(){
2016-02-24 01:27:23 +01:00
cd $name
# Add missing bsd.*.mk symlinks (thanks to Arch)
_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
cd $SRC/bmake-build
# Fix directory permissions on install
install -dm0755 $PKG/usr/bin
install -dm0755 $PKG/usr/share/man/cat1
sh ../bmake/boot-strap --prefix=/usr --install-destdir=$PKG op=install
}