aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rasqal
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-05-10 13:26:12 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-05-10 13:26:12 -0500
commitd3b5eac4f46e401c8154955b061af04b1fdbdb54 (patch)
tree39463337fc8952cd428bb70833a4818e94727711 /testing/rasqal
parent97e29d50f7e0ee39ba594d5e8792f679e39199d8 (diff)
downloadaports-d3b5eac4f46e401c8154955b061af04b1fdbdb54.tar.bz2
aports-d3b5eac4f46e401c8154955b061af04b1fdbdb54.tar.xz
testing/rasqal: new aport
Diffstat (limited to 'testing/rasqal')
-rw-r--r--testing/rasqal/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/rasqal/APKBUILD b/testing/rasqal/APKBUILD
new file mode 100644
index 0000000000..97251ebc83
--- /dev/null
+++ b/testing/rasqal/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=rasqal
+pkgver=0.9.25
+pkgrel=0
+pkgdesc="RDF query library"
+url="http://www.librdf.org/"
+arch="all"
+license="GPL"
+depends=
+depends_dev="raptor2-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://download.librdf.org/source/rasqal-$pkgver.tar.gz"
+
+_builddir="$srcdir"/rasqal-$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 \
+ --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
+}
+
+md5sums="ee12d7ad59c581eb65db89c851672c0a rasqal-0.9.25.tar.gz"