void-packages/srcpkgs/redland/template
2021-08-28 16:55:30 +07:00

71 lines
1.9 KiB
Bash

# Template file for 'redland'
_desc="Redland Resource Description Framework (RDF)"
pkgname=redland
version=1.0.17
revision=6
build_style=gnu-configure
configure_args="--disable-static --enable-release --with-raptor=system
--with-rasqal=system --with-sqlite=3"
hostmakedepends="pkg-config perl postgresql-libs-devel"
makedepends="libltdl-devel db-devel rasqal-devel libmariadbclient-devel
postgresql-libs-devel sqlite-devel unixodbc-devel"
maintainer="Orphaned <orphan@voidlinux.org>"
short_desc="${_desc} - Utilities"
license="GPL-2.0-or-later, LGPL-2.1-or-later, Apache-2.0"
homepage="https://librdf.org"
distfiles="https://librdf.org/dist/source/redland-${version}.tar.gz"
checksum=de1847f7b59021c16bdc72abb4d8e2d9187cd6124d69156f3326dd34ee043681
librdf_package() {
short_desc="${_desc} - library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
redland-storage-mysql_package() {
lib32disabled=yes
short_desc="${_desc} - MySQL storage backend"
pkg_install() {
vmove usr/lib/redland/librdf_storage_mysql.so
}
}
redland-storage-pgsql_package() {
lib32disabled=yes
short_desc="${_desc} - PostgreSQL storage backend"
pkg_install() {
vmove usr/lib/redland/librdf_storage_postgresql.so
}
}
redland-storage-sqlite_package() {
lib32disabled=yes
short_desc="${_desc} - SQLite storage backend"
pkg_install() {
vmove usr/lib/redland/librdf_storage_sqlite.so
}
}
redland-storage-virtuoso_package() {
lib32disabled=yes
short_desc="${_desc} - virtuoso storage backend"
pkg_install() {
vmove usr/lib/redland/librdf_storage_virtuoso.so
}
}
redland-devel_package() {
depends="db-devel rasqal-devel librdf-${version}_${revision}"
short_desc="${_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
}
}