void-packages/srcpkgs/agg/template

35 lines
939 B
Text
Raw Normal View History

2013-05-06 18:57:01 +00:00
# Template file for 'agg'
pkgname=agg
version=2.5
2014-10-12 09:04:29 +00:00
revision=3
2013-05-06 18:57:01 +00:00
build_style=gnu-configure
2014-05-25 10:00:01 +00:00
disable_parallel_build=1
hostmakedepends="pkg-config automake libtool gettext-devel SDL-devel"
2013-05-06 18:57:01 +00:00
makedepends="freetype-devel SDL-devel"
short_desc="A High Quality Rendering Engine for C++"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.antigrain.com/"
update_site="http://www.antigrain.com/download/index.html"
update_ignore="21 22 23 2web"
2013-05-06 18:57:01 +00:00
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 10:00:01 +00:00
depends="freetype-devel agg>=${version}_${revision}"
2013-05-06 18:57:01 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-05-25 10:00:01 +00:00
vmove usr/lib/*.a
vmove usr/lib/*.so
2013-05-06 18:57:01 +00:00
vmove usr/share
}
}