void-packages/srcpkgs/libepoxy/template
2020-12-28 16:05:33 -03:00

28 lines
802 B
Bash

# Template file for 'libepoxy'
pkgname=libepoxy
version=1.5.5
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="Juan RP <xtraeme@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=5d80a43a6524a1ebdd0c9c5d5105295546a0794681853c636a0c70f8f9c658ce
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
}
}