32 lines
828 B
Bash
32 lines
828 B
Bash
# Template file for 'libepoxy'
|
|
pkgname=libepoxy
|
|
version=1.5.1
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="pkg-config python xorg-util-macros"
|
|
makedepends="MesaLib-devel"
|
|
short_desc="Library for handling OpenGL function pointer management for you"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MIT"
|
|
homepage="https://github.com/anholt/libepoxy"
|
|
distfiles="https://github.com/anholt/libepoxy/archive/${version}.tar.gz"
|
|
checksum=f53a35db484341c0a77f1bb0eb04cc9389e3049d2437bcf5915a1cebd2c04ff7
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) configure_args+=" -Dhas-dlvsym=false" ;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libepoxy-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|