void-packages/srcpkgs/libgda/template

39 lines
1.1 KiB
Text

# Template file for 'libgda'
pkgname=libgda
version=5.1.2
revision=3
build_style=gnu-configure
configure_args="--with-ui --with-gtksourceview --with-graphviz --enable-json
--enable-system-sqlite"
hostmakedepends="pkg-config intltool"
makedepends="glib-devel gtk+3-devel libxml2-devel libxslt-devel
openssl-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="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
homepage="http://www.gnome-db.org/"
distfiles="${GNOME_SITE}/${pkgname}/5.1/${pkgname}-${version}.tar.xz"
checksum=59c4416a151297a406091fcfe7af781ea88af3381d10b365ba73b1eb8e23b6c5
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
}
}