void-packages/srcpkgs/libepoxy/template

29 lines
807 B
Bash

# Template file for 'libepoxy'
pkgname=libepoxy
version=1.5.10
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=a7ced37f4102b745ac86d6a70a9da399cc139ff168ba6b8002b4d8d43c900c15
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
}
}