void-packages/srcpkgs/autotrace/template
2015-05-11 18:21:47 +02:00

32 lines
899 B
Bash

# Template file for 'autotrace'
pkgname=autotrace
version=0.31.1
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config libtool automake"
makedepends="libmagick-devel libpng-devel"
short_desc="Converts bitmap image data into vector graphics"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3"
homepage="http://autotrace.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=5a1a923c3335dfd7cbcccb2bbd4cc3d68cafe7713686a2f46a1591ed8a92aff6
pre_configure() {
libtoolize -f
sed -i '/AM_PATH_PSTOEDIT/d' configure.in
autoreconf -fi
}
autotrace-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/bin/autotrace-config
vmove usr/share/aclocal
}
}