void-packages/srcpkgs/potrace/template

31 lines
751 B
Plaintext
Raw Normal View History

# Template file for 'potrace'
pkgname=potrace
version=1.11
2014-02-17 17:37:43 +01:00
revision=2
build_style=gnu-configure
2013-10-09 09:35:15 +02:00
makedepends="zlib-devel"
configure_args="--with-libpotrace"
short_desc="Transforming bitmaps into vector graphics"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://potrace.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=5aa5eb496e00206d68b67edf8f6067999a45d1b69f848c18af5cbdf8e4a17ead
libpotrace_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
potrace-devel_package() {
short_desc+=" - development files"
depends="libpotrace>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}