void-packages/srcpkgs/sam2p/template

25 lines
610 B
Bash
Raw Normal View History

2017-04-11 20:50:36 +00:00
# Template file for 'sam2p'
pkgname=sam2p
version=0.49.3
2017-05-08 12:11:20 +00:00
revision=2
2017-04-11 20:50:36 +00:00
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() {
2017-07-11 17:59:18 +00:00
sed -i '/^CXXFLAGS=/d' configure
2017-04-11 20:50:36 +00:00
}
do_install() {
vbin sam2p
vdoc README
}