2012-11-20 22:38:20 +01:00
|
|
|
# Template file for 'libgee08'
|
|
|
|
pkgname=libgee08
|
2015-01-15 08:23:27 +01:00
|
|
|
version=0.16.1
|
2014-03-27 10:19:40 +01:00
|
|
|
wrksrc="libgee-${version}"
|
|
|
|
revision=1
|
2012-11-20 22:38:20 +01:00
|
|
|
build_style=gnu-configure
|
2015-01-15 08:23:27 +01:00
|
|
|
configure_args="--disable-static $(vopt_enable gir instrospection)"
|
|
|
|
hostmakedepends="pkg-config intltool $(vopt_if gir 'vala-devel>=0.26 gobject-introspection')"
|
|
|
|
makedepends="libglib-devel"
|
2012-11-20 22:38:20 +01:00
|
|
|
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 14:16:03 +02:00
|
|
|
distfiles="${GNOME_SITE}/libgee/${version%.*}/libgee-${version}.tar.xz"
|
2015-01-15 08:23:27 +01:00
|
|
|
checksum=d95f8ea8e78f843c71b1958fa2fb445e4a325e4821ec23d0d5108d8170e564a5
|
2013-04-13 10:15:49 +02:00
|
|
|
|
2014-02-21 09:10:30 +01:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
2014-02-21 00:24:31 +01:00
|
|
|
|
2014-02-21 09:10:30 +01:00
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
libgee08-devel_package() {
|
2014-02-21 00:24:31 +01:00
|
|
|
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
|
2013-07-13 07:02:46 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-07-13 07:02:46 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2014-02-21 09:10:30 +01:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
fi
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|