2013-06-16 09:06:12 +00:00
|
|
|
# Template file for 'redland'
|
2014-01-01 15:10:11 +00:00
|
|
|
_desc="Redland Resource Description Framework (RDF)"
|
|
|
|
|
2013-06-16 09:06:12 +00:00
|
|
|
pkgname=redland
|
2014-09-09 20:35:19 +00:00
|
|
|
version=1.0.17
|
|
|
|
revision=1
|
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
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc="${_desc} - Utilities"
|
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"
|
2014-09-09 20:35:19 +00:00
|
|
|
checksum=de1847f7b59021c16bdc72abb4d8e2d9187cd6124d69156f3326dd34ee043681
|
2013-06-16 09:06:12 +00:00
|
|
|
|
|
|
|
librdf_package() {
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc="${_desc} - library"
|
2013-06-16 09:06:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so.*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
redland-storage-mysql_package() {
|
2014-04-02 08:35:27 +00:00
|
|
|
lib32disabled=yes
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc="${_desc} - MySQL storage backend"
|
2013-06-16 09:06:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/redland/librdf_storage_mysql.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
redland-storage-pgsql_package() {
|
2014-04-02 08:35:27 +00:00
|
|
|
lib32disabled=yes
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc="${_desc} - PostgreSQL storage backend"
|
2013-06-16 09:06:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/redland/librdf_storage_postgresql.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
redland-storage-sqlite_package() {
|
2014-04-02 08:35:27 +00:00
|
|
|
lib32disabled=yes
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc="${_desc} - SQLite storage backend"
|
2013-06-16 09:06:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/redland/librdf_storage_sqlite.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-16 16:59:39 +00:00
|
|
|
redland-storage-virtuoso_package() {
|
2014-04-02 08:35:27 +00:00
|
|
|
lib32disabled=yes
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc="${_desc} - virtuoso storage backend"
|
2013-06-16 16:59:39 +00:00
|
|
|
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}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc="${_desc} - development files"
|
2013-06-16 09:06:12 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|