void-packages/srcpkgs/libgee08/template

47 lines
1.2 KiB
Text
Raw Normal View History

# Template file for 'libgee08'
pkgname=libgee08
2013-09-26 12:16:03 +00:00
version=0.12.0
wrksrc=libgee-${version}
revision=3
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool"
2013-09-26 12:16:03 +00:00
makedepends="libglib-devel vala-devel>=0.22"
short_desc="GObject collection library (0.8.x API)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://live.gnome.org/Libgee"
2013-09-26 12:16:03 +00:00
distfiles="${GNOME_SITE}/libgee/${version%.*}/libgee-${version}.tar.xz"
checksum=d106ed63fe0da5d5ee89aa8197a373cf9a2b96688cc3060144bfc0a022496ea5
# Package build options
build_options="gir"
desc_option_gir="Enable support for building gobject introspection data"
2014-02-20 23:24:31 +00:00
# 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
2014-02-20 23:24:31 +00:00
libgee08-devel_package() {
2014-02-20 23:24:31 +00:00
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
makedepends=$depends
2013-07-13 05:02:46 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-07-13 05:02:46 +00:00
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
vmove usr/share/vala
fi
}
}