From af13268526a7de6856b3658432de303d984d394c Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Sun, 5 Feb 2012 10:55:51 +0000 Subject: testing/raptor2: new aport RDF parser toolkit for Redland http://www.librdf.org/raptor --- testing/raptor2/APKBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 testing/raptor2/APKBUILD (limited to 'testing/raptor2/APKBUILD') diff --git a/testing/raptor2/APKBUILD b/testing/raptor2/APKBUILD new file mode 100644 index 0000000000..0ce17bd92d --- /dev/null +++ b/testing/raptor2/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: William Pitcock +# Maintainer: Natanael Copa +pkgname=raptor2 +pkgver=2.0.6 +pkgrel=0 +pkgdesc="RDF parser toolkit for Redland" +url="http://www.librdf.org/raptor" +arch="all" +license="GPL" +depends= +depends_dev="curl-dev libxml2-dev libxslt-dev yajl-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://download.librdf.org/source/raptor2-$pkgver.tar.gz" + +_builddir="$srcdir"/raptor2-$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 + rm "$pkgdir"/usr/lib/*.la +} + +md5sums="1f07af81cbe3cf1bf0d1d250b18d9f93 raptor2-2.0.6.tar.gz" -- cgit v1.2.3