aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qca/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-05-10 15:08:38 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-05-10 15:08:38 -0500
commit45dffb6a5757ddcacf8aa8767b6ff3976aa89b42 (patch)
tree85c1c27780011c3061af422bdab6881638b39acb /testing/qca/APKBUILD
parent1da47659f467ef16a6f14351313c24ccad692f08 (diff)
downloadaports-45dffb6a5757ddcacf8aa8767b6ff3976aa89b42.tar.bz2
aports-45dffb6a5757ddcacf8aa8767b6ff3976aa89b42.tar.xz
testing/qca: new aport
Diffstat (limited to 'testing/qca/APKBUILD')
-rw-r--r--testing/qca/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/qca/APKBUILD b/testing/qca/APKBUILD
new file mode 100644
index 0000000000..b11415ffcd
--- /dev/null
+++ b/testing/qca/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=qca
+pkgver=2.0.3
+pkgrel=0
+pkgdesc="Qt cryptographic architecture"
+url="http://delta.affinix.com/qca/"
+arch="all"
+license="LGPL"
+depends=
+depends_dev="qt-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://delta.affinix.com/download/qca/2.0/qca-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/qca-$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 --prefix=/usr \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make INSTALL_ROOT="$pkgdir" install || return 1
+}
+
+md5sums="fc15bd4da22b8096c51fcfe52d2fa309 qca-2.0.3.tar.bz2"