void-packages/srcpkgs/sam2p/template
2017-05-08 14:11:25 +02:00

24 lines
617 B
Bash

# Template file for 'sam2p'
pkgname=sam2p
version=0.49.3
revision=2
build_style=gnu-configure
hostmakedepends="perl"
depends="perl"
short_desc="Raster image converter with smart PDF and PostScript output"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="https://github.com/pts/sam2p"
distfiles="https://github.com/pts/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=33b1bf018a19b19c30d41defcb8b20c7cdcbc7ddd7703040c3a54d9cb1fcaaea
nocross=yes
LDFLAGS="-fPIC"
post_extract() {
sed -i '/^CXXFLAGS=/d' configure
}
do_install() {
vbin sam2p
vdoc README
}