void-packages/srcpkgs/t1lib/template

32 lines
935 B
Bash

# Template file for 't1lib'
pkgname=t1lib
version=5.1.2
revision=4
build_style=gnu-configure
make_build_target="without_doc"
makedepends="libXaw-devel"
short_desc="Rasterizer library for Adobe Type 1 fonts"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="http://www.ibiblio.org/pub/Linux/libs/graphics/!INDEX.html"
distfiles="http://www.ibiblio.org/pub/Linux/libs/graphics/$pkgname-$version.tar.gz"
checksum=821328b5054f7890a0d0cd2f52825270705df3641dbd476d58d17e56ed957b59
nocross="checking \"which ANSI integer type is 64 bit\"... configure: error: cannot run test program while cross compiling"
libt1_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
t1lib-devel_package() {
depends="libXaw-devel libt1>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}