void-packages/srcpkgs/geocode-glib/template

45 lines
1.2 KiB
Plaintext
Raw Normal View History

2013-09-26 18:10:44 +02:00
# Template file for 'geocode-glib'
pkgname=geocode-glib
2014-03-27 10:25:53 +01:00
version=3.12.0
revision=1
2013-09-26 18:10:44 +02:00
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool glib-devel"
2014-03-27 10:25:53 +01:00
makedepends="json-glib-devel>=1.0 libsoup-gnome-devel>=2.46"
2013-09-26 18:10:44 +02:00
short_desc="GLib library for geocoding and reverse geocoding"
homepage="http://www.gnome.org"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/${pkgname}-${version}.tar.xz"
2014-03-27 10:25:53 +01:00
checksum=ab80b3368d0bf36f6e4eeb7a5b50968d28808f8c9f4675d7d7e38e8c937b0bb0
# Package build options
build_options="gir"
desc_option_gir="Enable support for building gobject introspection data"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
2013-09-26 18:10:44 +02:00
geocode-glib-devel_package() {
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
2013-09-26 18:10:44 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
2013-09-26 18:10:44 +02:00
}
}