void-packages/srcpkgs/potrace/template
2017-02-23 10:05:49 +00:00

30 lines
754 B
Bash

# Template file for 'potrace'
pkgname=potrace
version=1.14
revision=1
build_style=gnu-configure
makedepends="zlib-devel"
configure_args="--with-libpotrace"
short_desc="Transforming bitmaps into vector graphics"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://potrace.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=db72b65311cfdcb63880b317f610d84485f086e15f88ca2346012d49414cd97e
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"
}
}