1 2 3 4 5 6
#!/bin/sh -e cd wpa_supplicant make LIBDIR=/usr/lib BINDIR=/usr/bin LDFLAGS="$LDFLAGS -static" make LIBDIR=/usr/lib BINDIR=/usr/bin DESTDIR="$1" install