aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libgdiplus/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libgdiplus/APKBUILD')
-rw-r--r--testing/libgdiplus/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/libgdiplus/APKBUILD b/testing/libgdiplus/APKBUILD
new file mode 100644
index 0000000000..5e49e2cd6b
--- /dev/null
+++ b/testing/libgdiplus/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=libgdiplus
+pkgver=3.12
+pkgrel=0
+pkgdesc="An Open Source Implementation of the GDI+ API"
+url="http://www.mono-project.com"
+arch="all"
+license="LGPL"
+depends=""
+depends_dev="tiff-dev cairo-dev libexif-dev glib-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev"
+source="http://download.mono-project.com/sources/libgdiplus/libgdiplus-$pkgver.tar.gz"
+
+_builddir="$srcdir"/libgdiplus-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="b8fd78c2adce16498354c2476a248d98 libgdiplus-3.12.tar.gz"
+sha256sums="e61c4dc1bc2ba993e4f79029472efcf5760eb9e60eb20d9cd31f0ebe9113bfc9 libgdiplus-3.12.tar.gz"
+sha512sums="12c58e7ad99e5aa7caf19f64f47bddd399648292f3c2b9ade64e9051b0495bb8772af8ca9cdb6cb664d20c845d7136f028e10e659548bffd35e7604548bb8743 libgdiplus-3.12.tar.gz"