libcroco: cross build support.

This commit is contained in:
Juan RP 2014-01-29 12:12:03 +01:00
parent e1d807b7ea
commit a12239336a
1 changed files with 3 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'libcroco'.
pkgname=libcroco
version=0.6.8
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel libxml2-devel"
@ -11,19 +11,15 @@ license="LGPL-2.1"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/0.6/$pkgname-$version.tar.xz"
checksum=ea6e1b858c55219cefd7109756bff5bc1a774ba7a55f7d3ccd734d6b871b8570
long_desc="
The Libcroco project is a generic Cascading Style Sheet (CSS)
parsing and manipulation toolkit. It provides a Simple Api for CSS
and Cascading Style Sheet Object Model parser, a CSS2 selection
engine, and an XML/CSS layout/rendering engine."
libcroco-devel_package() {
depends="glib-devel libxml2-devel ${sourcepkg}-${version}_${revision}"
depends="glib-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove "usr/bin/croco-*config"
}