30 lines
766 B
Bash
30 lines
766 B
Bash
# Template file for 'potrace'
|
|
pkgname=potrace
|
|
version=1.16
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--with-libpotrace"
|
|
makedepends="zlib-devel"
|
|
short_desc="Transforming bitmaps into vector graphics"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://potrace.sourceforge.net"
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=be8248a17dedd6ccbaab2fcc45835bb0502d062e40fbded3bc56028ce5eb7acc
|
|
|
|
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"
|
|
}
|
|
}
|