]> git.armaanb.net Git - asd-repo.git/blob - core/bmake/build
ncurses, dvtm: reduce size of terminfo db
[asd-repo.git] / core / bmake / build
1 #!/bin/sh -e
2
3 cd bmake
4
5 sed -i 's/build) op_test/build) /' boot-strap
6 sed -i 's/      op_test//' boot-strap
7
8 export CFLAGS="$CFLAGS -static"
9 export LDFLAGS="$LDFLAGS -static"
10
11 ./boot-strap --with-default-sys-path=/usr/share/mk op=build
12 INSTALL=install ./boot-strap --prefix=/usr --with-mksrc=/usr/share/mk --install-destdir="$1" op=install
13
14 rm -rf "$1/usr/share/man/cat1"
15 install -Dm644 bmake.1 "$1/usr/share/man/man1/bmake.1"
16 ln -s bmake "$1/usr/bin/make"