diff options
author | Cem Keylan <cem@ckyln.com> | 2021-05-10 01:57:12 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-05-10 01:57:12 +0300 |
commit | e65dc91fb42647b140ac010475ad3017cfad4421 (patch) | |
tree | 3f7973547a0a5dbf9702b78550d224c117e6f783 /extra/bmake/build | |
parent | 53ec5ea7af930da4cd0cdedcf50a612fe2c7c59d (diff) | |
download | repository-e65dc91fb42647b140ac010475ad3017cfad4421.tar.gz |
bmake: add new package at 20210314
Diffstat (limited to 'extra/bmake/build')
-rwxr-xr-x | extra/bmake/build | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/bmake/build b/extra/bmake/build new file mode 100755 index 00000000..300bbc52 --- /dev/null +++ b/extra/bmake/build @@ -0,0 +1,11 @@ +#!/bin/sh -e + +export LDFLAGS="$LDFLAGS -static" + +sed -i '1s,:,#!/bin/sh,' install-sh +sed -i 's/op_test() {/& return 0;/' boot-strap + +./boot-strap --prefix=/usr op=build +./boot-strap --prefix=/usr --install-destdir="$1" op=install + +install -Dm644 bmake.1 "$1/usr/share/man/man1/bmake.1" |