forked from ports/compat-32
28 lines
702 B
Plaintext
28 lines
702 B
Plaintext
# Description: Generic PCI access library
|
|
# URL: https://xorg.freedesktop.org
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: xorg-libpciaccess zlib-32
|
|
# Optional: hwdata
|
|
|
|
name=xorg-libpciaccess-32
|
|
version=0.18.1
|
|
release=1
|
|
source=(https://www.x.org/releases/individual/lib/libpciaccess-$version.tar.xz)
|
|
|
|
build() {
|
|
prt-get isinst hwdata && PKGMK_LIBPCIA+=' -D pci-ids=hwdata'
|
|
|
|
meson setup libpciaccess-$version build $PKGMK_LIBPCIA \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=false \
|
|
-D b_pie=true \
|
|
-D zlib=enabled
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -rf $PKG/usr/include
|
|
}
|