void-packages/srcpkgs/libspectre/template

24 lines
703 B
Bash

# Template file for 'libspectre'
pkgname=libspectre
version=0.2.8
revision=1
build_style=gnu-configure
configure_args="--disable-static"
makedepends="ghostscript-devel"
short_desc="Small library for rendering Postscript documents"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://libspectre.freedesktop.org/wiki/"
distfiles="http://libspectre.freedesktop.org/releases/${pkgname}-${version}.tar.gz"
checksum=65256af389823bbc4ee4d25bfd1cc19023ffc29ae9f9677f2d200fa6e98bc7a8
libspectre-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}