2012-11-20 21:38:20 +00:00
|
|
|
# Template file for 'libgee08'
|
|
|
|
pkgname=libgee08
|
2015-06-06 12:49:43 +00:00
|
|
|
version=0.18.0
|
2014-03-27 09:19:40 +00:00
|
|
|
wrksrc="libgee-${version}"
|
|
|
|
revision=1
|
2012-11-20 21:38:20 +00:00
|
|
|
build_style=gnu-configure
|
2015-01-15 07:23:27 +00:00
|
|
|
configure_args="--disable-static $(vopt_enable gir instrospection)"
|
2015-03-27 09:50:40 +00:00
|
|
|
hostmakedepends="pkg-config intltool $(vopt_if gir 'vala-devel gobject-introspection')"
|
2015-01-15 07:23:27 +00:00
|
|
|
makedepends="libglib-devel"
|
2012-11-20 21:38:20 +00:00
|
|
|
short_desc="GObject collection library (0.8.x API)"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-11-20 21:38:20 +00:00
|
|
|
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"
|
2015-06-06 12:49:43 +00:00
|
|
|
checksum=4ad99ef937d071b4883c061df40bfe233f7649d50c354cf81235f180b4244399
|
2013-04-13 08:15:49 +00:00
|
|
|
|
2014-02-21 08:10:30 +00:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
2014-02-20 23:24:31 +00:00
|
|
|
|
2014-02-21 08:10:30 +00:00
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libgee08-devel_package() {
|
2014-02-20 23:24:31 +00:00
|
|
|
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
|
2013-07-13 05:02:46 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-07-13 05:02:46 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2014-02-21 08:10:30 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
fi
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|