2013-06-16 09:06:12 +00:00
|
|
|
# Template file for 'redland'
|
|
|
|
pkgname=redland
|
|
|
|
version=1.0.16
|
2013-06-16 16:59:39 +00:00
|
|
|
revision=3
|
2013-06-16 09:06:12 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static --enable-release --with-raptor=system
|
|
|
|
--with-rasqal=system --with-sqlite=3"
|
|
|
|
hostmakedepends="pkg-config perl"
|
2013-06-16 16:59:39 +00:00
|
|
|
makedepends="libltdl-devel db-devel rasqal-devel libmysqlclient-devel
|
|
|
|
postgresql-libs-devel sqlite-devel unixodbc-devel"
|
2013-06-16 09:06:12 +00:00
|
|
|
short_desc="Redland Resource Description Framework (RDF)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-06-16 10:21:24 +00:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2013-06-16 09:06:12 +00:00
|
|
|
homepage="http://librdf.org"
|
|
|
|
distfiles="http://librdf.org/dist/source/redland-${version}.tar.gz"
|
|
|
|
checksum=d9a274fc086e61119d5c9beafb8d05527e040ec86f4c0961276ca8de0a049dbd
|
|
|
|
long_desc="
|
|
|
|
Redland is a library that provides a high-level interface for RDF (Resource
|
|
|
|
Description Framework) implemented in an object-based API. It is modular and
|
|
|
|
supports different RDF/XML parsers, storage mechanisms and other elements.
|
|
|
|
Redland is designed for applications developers to provide RDF support in
|
|
|
|
their applications as well as for RDF developers to experiment with the technology."
|
|
|
|
|
|
|
|
librdf_package() {
|
|
|
|
short_desc+=" - library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so.*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
redland-storage-mysql_package() {
|
|
|
|
short_desc+=" - MySQL storage backend"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/redland/librdf_storage_mysql.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
redland-storage-pgsql_package() {
|
|
|
|
short_desc+=" - PostgreSQL storage backend"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/redland/librdf_storage_postgresql.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
redland-storage-sqlite_package() {
|
|
|
|
short_desc+=" - SQLite storage backend"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/redland/librdf_storage_sqlite.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-16 16:59:39 +00:00
|
|
|
redland-storage-virtuoso_package() {
|
|
|
|
short_desc+=" - virtuoso storage backend"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/redland/librdf_storage_virtuoso.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-16 09:06:12 +00:00
|
|
|
redland-devel_package() {
|
|
|
|
depends="db-devel rasqal-devel librdf-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/redland-config
|
|
|
|
vmove usr/share/man/man1/redland-config.1
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/gtk-doc
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
redland_package() {
|
|
|
|
short_desc+=" - Utilities"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|