pcre2: bump to 10.40
[kiss-trunc88.git] / toybox / build
blob2f7e7549cf8ef33393dc5e99691b82ea70dc9c07
1 #!/bin/sh -e
3 LDFLAGS="$LDFLAGS --static"
5 # Very conveniently, we can evade gmake
6 ./scripts/make.sh
7 PREFIX="$1/usr/bin" ./scripts/install.sh --symlink --force
9 chmod gu+s "$1/usr/bin/toybox"
11 # Install the license
12 install -Dm755 LICENSE "$1/usr/share/LICENSES/toybox.license"