repo.or.cz
/
kiss-trunc88.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pcre2: bump to 10.40
[kiss-trunc88.git]
/
toybox
/
build
blob
2f7e7549cf8ef33393dc5e99691b82ea70dc9c07
1
#!/bin/sh -e
2
3
LDFLAGS
=
"
$LDFLAGS
--static"
4
5
# Very conveniently, we can evade gmake
6
.
/
script
s
/
make
.sh
7
PREFIX
=
"
$1
/usr/bin"
.
/
script
s
/
install
.sh
--symlink --force
8
9
chmod
gu
+
s
"
$1
/usr/bin/toybox"
10
11
# Install the license
12
install
-Dm755
LICENSE
"
$1
/usr/share/LICENSES/toybox.license"