aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qimageblitz
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-05-09 16:21:07 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-05-09 16:21:07 -0500
commit172f6fc20b3a76ca65446fc94fbbce868ab1c90e (patch)
treefa8e5c7e53ed8c8b3f9d0a120dfeedf056170b8d /testing/qimageblitz
parent0ee395c950d2b6b7766016bd711f764a6756823b (diff)
downloadaports-172f6fc20b3a76ca65446fc94fbbce868ab1c90e.tar.bz2
aports-172f6fc20b3a76ca65446fc94fbbce868ab1c90e.tar.xz
testing/qimageblitz: new aport
Diffstat (limited to 'testing/qimageblitz')
-rw-r--r--testing/qimageblitz/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/qimageblitz/APKBUILD b/testing/qimageblitz/APKBUILD
new file mode 100644
index 0000000000..f4450fcce2
--- /dev/null
+++ b/testing/qimageblitz/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=qimageblitz
+pkgver=0.0.4
+pkgrel=0
+pkgdesc="qt image processing library"
+url="http://sourceforge.net/projects/qimageblitz"
+arch="all"
+license="LGPL"
+depends=
+depends_dev="qt-dev"
+makedepends="$depends_dev cmake automoc4"
+install=""
+subpackages="$pkgname-dev"
+source="http://sourceforge.net/projects/qimageblitz/files/qimageblitz-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/qimageblitz-$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
+ mkdir -p "$_builddir"/build
+}
+
+build() {
+ cd "$_builddir"/build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON "$_builddir" || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"/build
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="cb87c7f1c0455e8984ee4830f1e749cf qimageblitz-0.0.4.tar.bz2"