void-packages/srcpkgs/geoclue/template

43 lines
1.3 KiB
Text
Raw Normal View History

# Template file for 'geoclue'
pkgname=geoclue
version=0.12.0
2013-03-30 17:26:47 +00:00
revision=6
build_style=gnu-configure
configure_args="--disable-static --enable-networkmanager=no --enable-conic=no"
hostmakedepends="automake gtk-doc pkg-config intltool gobject-introspection"
makedepends="dbus-glib-devel libxslt-devel GConf-devel gtk+-devel libsoup-gnome-devel"
short_desc="The Geoinformation Service"
2013-03-30 17:26:47 +00:00
homepage="http://www.freedesktop.org/wiki/Software/GeoClue"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://launchpad.net/geoclue/trunk/0.12/+download/geoclue-$version.tar.gz"
checksum=0f533f177ae9aa35e807a01c754840f66df9579f5524552f14f2b5ba670a4696
long_desc="
Geoclue is a modular geoinformation service built on top of the D-Bus
messaging system. The goal of the Geoclue project is to make creating
location-aware applications as simple as possible."
pre_configure() {
sed -i 's/libnm_glib/libnm-glib/g' configure.ac
sed -i '/libsoup-gnome/s/$/ gthread-2.0/' configure.ac
sed -i '/-Werror/d' configure.ac
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac
autoreconf -fi
}
geoclue-devel_package() {
depends="${sourcepkg}>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
}
}
geoclue_package() {
pkg_install() {
vmove usr
}
}