summaryrefslogtreecommitdiffstats
path: root/testing/soprano
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-05-09 14:21:33 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-05-09 14:21:33 -0500
commit03131cf7adaf7da13c87a296945b5cc30587ebb0 (patch)
tree46b62495c0c6fc39b3d111d57011e46ee889f2b6 /testing/soprano
parent8ac6e7aab500ca30e9761e7bebfb724ee37d825c (diff)
downloadaports-03131cf7adaf7da13c87a296945b5cc30587ebb0.tar.bz2
aports-03131cf7adaf7da13c87a296945b5cc30587ebb0.tar.xz
testing/soprano: new aport
Diffstat (limited to 'testing/soprano')
-rw-r--r--testing/soprano/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/soprano/APKBUILD b/testing/soprano/APKBUILD
new file mode 100644
index 000000000..5ff663621
--- /dev/null
+++ b/testing/soprano/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer:
+pkgname=soprano
+pkgver=2.6.0
+pkgrel=0
+pkgdesc="KDE RDF framework"
+url="http://soprano.sourceforge.net/"
+arch="all"
+license="LGPL"
+depends=
+depends_dev="qt-dev raptor2-dev"
+makedepends="$depends_dev cmake automoc4"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://sourceforge.net/projects/soprano/files/Soprano/$pkgver/soprano-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/soprano-$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 "$_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="03ae49e87c6ec99e57d0433c2650846f soprano-2.6.0.tar.bz2"