void-packages/srcpkgs/libgweather/template

36 lines
1.2 KiB
Text
Raw Normal View History

# Template file for 'libgweather'
pkgname=libgweather
2015-01-13 10:26:46 +00:00
version=3.14.2
2013-10-15 19:36:04 +00:00
revision=1
build_style=gnu-configure
2015-01-13 10:26:46 +00:00
build_options="gir"
configure_args="$(vopt_enable gir '--enable-introspection --enable-vala' '--disable-introspection --disable-vala')
--disable-schemas-compile --enable-locations-compression --with-zoneinfo-dir=/usr/share/zoneinfo"
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir 'gobject-introspection vala-devel')"
makedepends="libxml2-devel libsoup-gnome-devel>=2.46 gtk+3-devel geocode-glib-devel"
short_desc="GNOME Weather information access library"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-10-24 20:17:52 +00:00
license="LGPL-2.1"
homepage="http://www.gnome.org/"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
2015-01-13 10:26:46 +00:00
checksum=aa0d03132fc6c446cf549df1d91e319e1abcc676f1d9f8bc1dc01f033dcff493
2015-01-13 10:26:46 +00:00
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
libgweather-devel_package() {
depends="gdk-pixbuf-devel gtk+3-devel libxml2-devel
2014-03-27 09:32:12 +00:00
libsoup-devel>=2.46 ${sourcepkg}>=${version}_${revision}"
2013-05-13 20:55:46 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
vmove usr/share/vala
}
}