void-packages/srcpkgs/libepoxy/template

33 lines
888 B
Bash

# Template file for 'libepoxy'
pkgname=libepoxy
version=1.5.3
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="maxice8 <thinkbit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/anholt/libepoxy"
#changelog="https://github.com/anholt/libepoxy/releases"
distfiles="https://github.com/anholt/libepoxy/archive/${version}.tar.gz"
checksum=c2f1e2c9c12dcc57dee07cd4ca47de83cf19d0226a225b695066ce58ebb4b117
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
}
}