void-packages/srcpkgs/sam2p/template
2021-05-17 00:32:25 -03:00

25 lines
669 B
Bash

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