# Template file for 'autotrace'
pkgname=autotrace
version=0.31.1
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
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

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
        }
}
