void-packages/srcpkgs/libcroco/template
2015-12-18 07:25:23 +01:00

26 lines
779 B
Bash

# Template build file for 'libcroco'.
pkgname=libcroco
version=0.6.11
revision=1
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@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=132b528a948586b0dfa05d7e9e059901bca5a3be675b6071a90a90b81ae5a056
libcroco-devel_package() {
depends="${makedepends} ${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
}
}