30 lines
814 B
Bash
30 lines
814 B
Bash
# Template file for 'libepoxy'
|
|
pkgname=libepoxy
|
|
version=1.3.1
|
|
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/archive/v${version}.tar.gz"
|
|
checksum=6700ddedffb827b42c72cce1e0be6fba67b678b19bf256e1b5efd3ea38cc2bb4
|
|
|
|
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
|
|
}
|
|
}
|