kiss-mfavila-small/ports/pciutils/build

25 lines
391 B
Bash
Executable File

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