void-packages/srcpkgs/pangox-compat/template

35 lines
1011 B
Plaintext

# Template build file for 'pangox-compat'.
pkgname=pangox-compat
version=0.0.2
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="pango-devel"
short_desc="Library for layout and rendering of text (pangox compat library)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.pango.org/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/${pkgname}/0.0/${pkgname}-${version}.tar.xz"
checksum=552092b3b6c23f47f4beee05495d0f9a153781f62a1c4b7ec53857a37dfce046
long_desc="
This is a compatibility library providing the obsolete pangox library
that is not shipped by Pango itself anymore. If you are still using
pangox, well, really, get a life..."
pangox-compat-devel_package() {
depends="libX11-devel pango-devel>=1.31 ${sourcepkg}-${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
pangox-compat_package() {
replaces="pango<1.32"
pkg_install() {
vmove usr
}
}