void-packages/srcpkgs/libepoxy/template
2022-02-14 09:56:39 +01:00

28 lines
806 B
Bash

# Template file for 'libepoxy'
pkgname=libepoxy
version=1.5.9
revision=1
build_style=meson
hostmakedepends="pkg-config xorg-util-macros"
makedepends="MesaLib-devel"
short_desc="Library for handling OpenGL function pointer management for you"
maintainer="Orphaned <orphan@voidlinux.org>"
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=ee8048d20179a2e86156ac842ddb6428732d9cd7a2cfc2eca905165bf24887a2
post_install() {
vlicense COPYING
}
libepoxy-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} libglvnd-devel"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}