summaryrefslogblamecommitdiff
path: root/user/rasqal/APKBUILD
blob: 3329fd30f2db8b92d99e404ca0e6b942af0c9707 (plain) (tree)





















                                                                                












                                           



                  



                                                                                                                                                                   
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Max Rees <maxcrees@me.com>
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() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--target=$CTARGET \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="05728682797470db9e51d156012e8fde9dec1554d107372faa11cbe6cdc3356e92386f4f8de6d7c41e3100b76f9b1c6809102a913829cddbd2ff29043c04d522  rasqal-0.9.33.tar.gz"