void-packages/srcpkgs/gtkhtml/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

33 lines
949 B
Bash

# Template file for 'gtkhtml'
pkgname=gtkhtml
version=4.8.5
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="gtk+3-devel enchant-devel ORBit2-devel
libsoup-gnome-devel gsettings-desktop-schemas-devel
gsettings-desktop-schemas iso-codes"
depends="gsettings-desktop-schemas>=3.12 iso-codes"
short_desc="Layout engine written in C using the GTK+ widget toolkit"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=2ff5bbec4d8e7eca66a36f7e3863a104e098ce9b58e6d0374de7cb80c3d93e8d
libgtkhtml_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
gtkhtml-devel_package() {
depends="libgtkhtml>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}