25 lines
616 B
Plaintext
25 lines
616 B
Plaintext
# Description: Generic PCI access library
|
|
# URL: http://xorg.freedesktop.org
|
|
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
|
# Depends on: zlib
|
|
# Optional: hwdata
|
|
|
|
name=xorg-libpciaccess
|
|
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 \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D zlib=enabled
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|