aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBradley J Chambers <brad.chambers@gmail.com>2017-09-07 11:05:06 -0400
committerWilliam Pitcock <nenolod@dereferenced.org>2017-10-19 04:46:27 +0000
commit243e2681697aa68590b79255bcd17fbf8f0014d3 (patch)
treef1f764874855dae21f6d7b3093c4cdd7e8346a31
parentff4334ca5941a3ba585d77172cc03ba89fca948c (diff)
downloadaports-243e2681697aa68590b79255bcd17fbf8f0014d3.tar.bz2
aports-243e2681697aa68590b79255bcd17fbf8f0014d3.tar.xz
testing/agg: new aport
http://www.antigrain.com Anti-Grain Geometry (AGG) is a general purpose graphical toolkit written completely in standard and platform independent C++.
-rw-r--r--testing/agg/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/agg/APKBUILD b/testing/agg/APKBUILD
new file mode 100644
index 0000000000..67fc51bce7
--- /dev/null
+++ b/testing/agg/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
+# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
+pkgname=agg
+pkgver=2.5
+pkgrel=0
+pkgdesc="Anti-Grain Geometry (AGG) is a general purpose graphical toolkit written completely in standard and platform independent C++."
+url="http://www.antigrain.com"
+arch="all"
+license="GPL2+"
+options="!check"
+makedepends="autoconf automake libgfortran libtool sdl-dev"
+install=""
+subpackages="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::http://www.antigrain.com/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+
+ sed -i 's: -L@x_libraries@::' src/platform/X11/Makefile.am
+ sed -i '/^AM_C_PROTOTYPES/d' configure.in
+
+ sh autogen.sh \
+ --prefix=/usr \
+ --disable-static
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e2c79f0bf6da80e16e5b50e69638647224fbe778a42a83d72e9de444b3ea711735177de92bf16134da313b9f75e63eb76bd7b0aaf390059f4d0785454e8a6fcf agg-2.5.tar.gz"