27 lines
600 B
Plaintext
27 lines
600 B
Plaintext
# Description: Userspace interface to kernel DRM services
|
|
# URL: https://dri.freedesktop.org/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: libpthread-stubs-32 xorg-libpciaccess-32 libdrm
|
|
|
|
name=libdrm-32
|
|
version=2.4.97
|
|
release=1
|
|
source=(https://dri.freedesktop.org/${name%-*}/${name%-*}-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd ${name%-*}-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--disable-manpages \
|
|
--disable-valgrind \
|
|
--disable-cairo-tests
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{include,share/libdrm}
|
|
rmdir $PKG/usr/share
|
|
}
|