1 2 3 4 5 6 7
#!/bin/sh -e make CC="${CC:-cc} -static" make PREFIX=/usr DESTDIR="$1" install rm -f "$1/usr/bin/tar" rm -f "$1/usr/bin/sed"