void-packages/srcpkgs/t1lib/template

32 lines
889 B
Bash

# Template file for 't1lib'
pkgname=t1lib
version=5.1.2
revision=4
build_style=gnu-configure
configure_args="ac_16bit_type=short
ac_32bit_type=int ac_64bit_type=long"
make_build_target=without_doc
makedepends="libXaw-devel"
short_desc="Rasterizer library for Adobe Type 1 fonts"
maintainer="Orphaned <orphan@voidlinux.org>"
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
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"
}
}