22 lines
539 B
Plaintext
22 lines
539 B
Plaintext
# Description: A library for handling OpenGL function pointer management
|
|
# URL: https://github.com/anholt/libepoxy
|
|
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
|
# Depends on: mesa
|
|
|
|
name=libepoxy
|
|
version=1.5.10
|
|
release=1
|
|
source=(https://github.com/anholt/libepoxy/archive/$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
meson setup build $name-$version \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|