void-packages/srcpkgs/libcroco/template

30 lines
1,015 B
Text

# Template build file for 'libcroco'.
pkgname=libcroco
version=0.6.8
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel libxml2-devel"
short_desc="Toolkit to parse and manipulate CSS (Cascading Style Sheets)"
maintainer="Juan RP <xtraeme@gmail.com>"
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}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
vmove "usr/bin/croco-*config"
}
}