xorg/libepoxy/Pkgfile

22 lines
548 B
Plaintext
Raw Normal View History

2014-07-19 16:41:13 +02:00
# 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
2014-07-19 16:41:13 +02:00
name=libepoxy
2021-08-16 15:10:51 +02:00
version=1.5.9
2019-07-25 00:01:47 +02:00
release=1
2018-07-25 13:27:35 +02:00
source=(https://github.com/anholt/libepoxy/releases/download/$version/$name-$version.tar.xz)
2014-07-19 16:41:13 +02:00
build() {
2020-11-04 17:24:56 +01:00
meson setup build $name-$version \
--prefix=/usr \
2021-09-19 20:09:43 +02:00
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
2020-11-04 17:24:56 +01:00
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
2014-07-19 16:41:13 +02:00
}