void-packages/srcpkgs/libgda/template

43 lines
1.2 KiB
Bash

# Template file for 'libgda'
pkgname=libgda
version=5.2.4
revision=3
build_style=gnu-configure
configure_args="--with-ui --with-gtksourceview --with-graphviz --enable-json
--enable-system-sqlite"
hostmakedepends="pkg-config intltool itstool flex perl glib-devel"
makedepends="gtk+3-devel libxml2-devel libxslt-devel
libressl-devel libgcrypt-devel sqlite-devel db-devel libsoup-devel
libsecret-devel libgnome-keyring-devel gtksourceview-devel graphviz-devel
json-glib-devel readline-devel"
conf_files="/etc/libgda-5.0/config"
short_desc="Database and data abstraction layer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.gnome-db.org/"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=2cee38dd583ccbaa5bdf6c01ca5f88cc08758b9b144938a51a478eb2684b765e
if [ "$CROSS_BUILD" ]; then
configure_args+=" --disable-binreloc"
fi
libgda-devel_package() {
short_desc+=" - development files"
depends="libxslt-devel libgda>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
}
}
libgda-tools_package() {
short_desc+=" - Command-line tools"
pkg_install() {
vmove usr/bin
vmove usr/share/applications
}
}