2012-11-20 22:38:20 +01:00
|
|
|
# Template file for 'libgee08'
|
|
|
|
pkgname=libgee08
|
2013-09-26 14:16:03 +02:00
|
|
|
version=0.12.0
|
2012-11-20 22:38:20 +01:00
|
|
|
wrksrc=libgee-${version}
|
2014-02-21 00:24:31 +01:00
|
|
|
revision=2
|
2012-11-20 22:38:20 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
2013-03-28 15:49:17 +01:00
|
|
|
hostmakedepends="pkg-config intltool gobject-introspection"
|
2013-09-26 14:16:03 +02:00
|
|
|
makedepends="libglib-devel vala-devel>=0.22"
|
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"
|
|
|
|
checksum=d106ed63fe0da5d5ee89aa8197a373cf9a2b96688cc3060144bfc0a022496ea5
|
2013-04-13 10:15:49 +02:00
|
|
|
|
2014-02-21 00:24:31 +01:00
|
|
|
post_install() {
|
|
|
|
# on crossbuild for armv6/7 /usr/share/gir-1.0 wont be installed
|
|
|
|
[ -d "${DESTDIR}/usr/share/gir-1.0" ] && return 0;
|
|
|
|
|
|
|
|
vmkdir usr/share/gir-1.0
|
|
|
|
vcopy gee/Gee-0.8.gir usr/share/gir-1.0
|
|
|
|
}
|
|
|
|
|
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}"
|
|
|
|
makedepends=$depends
|
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"
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
vmove usr/share/vala
|
|
|
|
}
|
|
|
|
}
|