void-packages/srcpkgs/libcroco/template
2014-01-29 12:12:03 +01:00

26 lines
781 B
Bash

# Template build file for 'libcroco'.
pkgname=libcroco
version=0.6.8
revision=3
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
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/*.so"
vmove usr/lib/pkgconfig
vmove "usr/bin/croco-*config"
}
}