diff options
Diffstat (limited to 'extra/pciutils/build')
-rwxr-xr-x | extra/pciutils/build | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/pciutils/build b/extra/pciutils/build new file mode 100755 index 00000000..24867e82 --- /dev/null +++ b/extra/pciutils/build @@ -0,0 +1,16 @@ +#!/bin/sh -e + +mk() { + make \ + CC="${CC:-cc}" \ + OPT="$CFLAGS -fPIC" \ + ZLIB=yes \ + PREFIX=/usr \ + SBINDIR=/usr/bin \ + SHAREDIR=/usr/share/hwdata \ + LDFLAGS="$LDFLAGS -static" \ + "$@" +} + +mk +mk DESTDIR="$1" install install-lib |