kiss-mfavila-small/ports/pciutils/build

25 lines
391 B
Plaintext
Raw Normal View History

#!/bin/sh -e
2021-05-11 00:07:37 -04:00
mk()
{
make \
CC="${CC:-cc}" \
OPT="$CFLAGS -fPIC" \
ZLIB=yes \
PREFIX=/usr \
SBINDIR=/usr/bin \
SHAREDIR=/usr/share/hwdata \
"$@"
}
2021-05-11 00:07:37 -04:00
for shared in yes no
do
(
cd "$shared"
2021-05-11 00:07:37 -04:00
mk SHARED="$shared"
mk SHARED="$shared" DESTDIR="$1" install install-lib
)
done