void-packages/srcpkgs/agg/template

33 lines
853 B
Bash
Raw Normal View History

2013-05-06 20:57:01 +02:00
# Template file for 'agg'
pkgname=agg
version=2.5
2014-10-12 11:04:29 +02:00
revision=3
2013-05-06 20:57:01 +02:00
build_style=gnu-configure
2014-05-25 12:00:01 +02:00
disable_parallel_build=1
hostmakedepends="pkg-config automake libtool gettext-devel SDL-devel"
2013-05-06 20:57:01 +02:00
makedepends="freetype-devel SDL-devel"
short_desc="A High Quality Rendering Engine for C++"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-05-06 20:57:01 +02:00
homepage="http://www.antigrain.com/"
license="GPL-2"
distfiles="http://www.antigrain.com/agg-${version}.tar.gz"
checksum=ab1edc54cc32ba51a62ff120d501eecd55fceeedf869b9354e7e13812289911f
pre_configure() {
sed -e '/AM_C_PROTOTYPES/d' -i configure.in
touch NEWS README AUTHORS
autoreconf -fi
}
agg-devel_package() {
2014-05-25 12:00:01 +02:00
depends="freetype-devel agg>=${version}_${revision}"
2013-05-06 20:57:01 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-05-25 12:00:01 +02:00
vmove usr/lib/*.a
vmove usr/lib/*.so
2013-05-06 20:57:01 +02:00
vmove usr/share
}
}