From b48d46647ed485e6fd05cf812dd7570b310c17e8 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Sat, 11 Aug 2018 19:43:59 -0400 Subject: user/rasqal: pull in, fix license, add tests --- user/rasqal/APKBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 user/rasqal/APKBUILD (limited to 'user') diff --git a/user/rasqal/APKBUILD b/user/rasqal/APKBUILD new file mode 100644 index 000000000..ddeb6bd5e --- /dev/null +++ b/user/rasqal/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: William Pitcock +# Contributor: Natanael Copa +# Maintainer: Max Rees +pkgname=rasqal +pkgver=0.9.33 +pkgrel=1 +pkgdesc="RDF query library" +url="http://www.librdf.org/" +arch="all" +license="(LGPL-2.1+ OR GPL-2.0+ OR Apache-2.0+) AND Unlicense AND Public-Domain" +depends="" +depends_dev="raptor2-dev" +makedepends="$depends_dev" +subpackages="$pkgname-dev $pkgname-doc" +source="http://download.librdf.org/source/$pkgname-$pkgver.tar.gz" + +prepare() { + default_prepare + update_config_sub +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --target=$CTARGET \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="05728682797470db9e51d156012e8fde9dec1554d107372faa11cbe6cdc3356e92386f4f8de6d7c41e3100b76f9b1c6809102a913829cddbd2ff29043c04d522 rasqal-0.9.33.tar.gz" -- cgit v1.2.3-70-g09d2