void-packages/srcpkgs/libepoxy/template
2017-02-09 06:12:21 +01:00

30 lines
847 B
Bash

# Template file for 'libepoxy'
pkgname=libepoxy
version=1.4.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config python xorg-util-macros"
makedepends="libX11-devel 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/releases/download/v${version%.*}/libepoxy-${version}.tar.xz"
checksum=25a906b14a921bc2b488cfeaa21a00486fe92630e4a9dd346e4ecabeae52ab41
pre_configure() {
autoreconf -fi
}
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
}
}