agg: make this build again.
This commit is contained in:
parent
a3245edb03
commit
9574dac872
|
@ -1,9 +1,10 @@
|
|||
# Template file for 'agg'
|
||||
pkgname=agg
|
||||
version=2.5
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config automake libtool gettext-devel"
|
||||
disable_parallel_build=1
|
||||
hostmakedepends="pkg-config automake libtool gettext-devel SDL-devel"
|
||||
makedepends="freetype-devel SDL-devel"
|
||||
short_desc="A High Quality Rendering Engine for C++"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -12,10 +13,6 @@ license="GPL-2"
|
|||
distfiles="http://www.antigrain.com/agg-${version}.tar.gz"
|
||||
checksum=ab1edc54cc32ba51a62ff120d501eecd55fceeedf869b9354e7e13812289911f
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" SDL-devel"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
sed -e '/AM_C_PROTOTYPES/d' -i configure.in
|
||||
touch NEWS README AUTHORS
|
||||
|
@ -23,12 +20,13 @@ pre_configure() {
|
|||
}
|
||||
|
||||
agg-devel_package() {
|
||||
depends="freetype-devel agg>=$version"
|
||||
depends="freetype-devel agg>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove usr/lib/*.a
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/share
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue