1 2 3 4 5 6 7 8
#!/bin/sh -e ./configure \ --prefix=/usr \ CXXFLAGS+=-static make make DESTDIR="$1" install