blob: 9de8a4298ec8d4cf8cfae0f2800fc279e2034deb (
plain)
1 # Description: A library for handling OpenGL function pointer management
2 # URL: https://github.com/anholt/libepoxy
3 # Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
4 # Depends on: mesa
5
6 name=libepoxy
7 version=1.5.10
8 release=1
9 source=(https://github.com/anholt/libepoxy/archive/$version/$name-$version.tar.gz)
10
11 build() {
12 meson setup build $name-$version \
13 --prefix=/usr \
14 --buildtype=plain \
15 --wrap-mode nodownload \
16 -D b_lto=true \
17 -D b_pie=true
18
19 meson compile -C build -j ${JOBS:-1}
20 DESTDIR=$PKG meson install -C build
21 }
|