25 lines
662 B
Bash
25 lines
662 B
Bash
# Template file for 'sam2p'
|
|
pkgname=sam2p
|
|
version=0.49.4
|
|
revision=1
|
|
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"
|
|
homepage="https://github.com/pts/sam2p"
|
|
distfiles="https://github.com/pts/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=d23707b2405ca94e2a237cb81f62fb5916f5e4360cf9a705061479c8fa1dff5c
|
|
nocross=yes
|
|
|
|
LDFLAGS="-fPIC"
|
|
|
|
post_extract() {
|
|
sed -i '/^CXXFLAGS=/d' configure
|
|
}
|
|
do_install() {
|
|
vbin sam2p
|
|
vdoc README
|
|
}
|