1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh -e export CFLAGS="$CFLAGS -static" ./configure \ --prefix=/usr make make DESTDIR="$1" install ln -s dash "$1/usr/bin/sh"