1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh -e sed 's/-I/-isystem /g' libelf.pc.in > _ cat _ > libelf.pc.in; rm -f _ ./configure \ --prefix=/usr \ --enable-nls=auto make make prefix="$1/usr" install