void-packages/srcpkgs/libcroco/template
2017-04-07 09:39:56 +02:00

26 lines
779 B
Bash

# Template build file for 'libcroco'.
pkgname=libcroco
version=0.6.12
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=ddc4b5546c9fb4280a5017e2707fbd4839034ed1aba5b7d4372212f34f84f860
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
}
}