diff options
author | Cem Keylan <cem@ckyln.com> | 2020-06-05 18:38:12 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-06-05 18:38:12 +0300 |
commit | 8fd118f268b9f30420be6b1c75b739675d47efe3 (patch) | |
tree | 3af2b0db72d8a56aa8718c12c2c71388ddb4080f /extra/pciutils/build | |
parent | 9d1a2968dcc50fe1f62a0b142eb19143da0bfc1a (diff) | |
download | repository-8fd118f268b9f30420be6b1c75b739675d47efe3.tar.gz |
pciutils: add new package at 3.7.0
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 |