hblock: bump to 3.4.0
[kiss-trunc88.git] / toybox.mine / build
blobc97a6ed0adc397a07b498da357334384ed8956ca
1 #!/bin/sh -e
3 LDFLAGS="$LDFLAGS --static"
5 #patch -p1 < POSIX2.patch
7 # Very conveniently, we can evade gmake
8 ./scripts/make.sh
9 PREFIX="$1/usr/bin" ./scripts/install.sh --symlink --force
11 chmod gu+s "$1/usr/bin/toybox"
13 # Install the license
14 install -Dm755 LICENSE "$1/usr/share/LICENSES/toybox.license"