libgee08: support crossbuild
This commit is contained in:
parent
d7aa48669e
commit
eef9ffac63
|
@ -2,7 +2,7 @@
|
|||
pkgname=libgee08
|
||||
version=0.12.0
|
||||
wrksrc=libgee-${version}
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static"
|
||||
hostmakedepends="pkg-config intltool gobject-introspection"
|
||||
|
@ -14,8 +14,17 @@ homepage="http://live.gnome.org/Libgee"
|
|||
distfiles="${GNOME_SITE}/libgee/${version%.*}/libgee-${version}.tar.xz"
|
||||
checksum=d106ed63fe0da5d5ee89aa8197a373cf9a2b96688cc3060144bfc0a022496ea5
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
libgee08-devel_package() {
|
||||
depends="libglib-devel ${sourcepkg}-${version}_${revision}"
|
||||
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
|
||||
makedepends=$depends
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
|
@ -25,9 +34,3 @@ libgee08-devel_package() {
|
|||
vmove usr/share/vala
|
||||
}
|
||||
}
|
||||
|
||||
libgee08_package() {
|
||||
pkg_install() {
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue