2013-10-09 07:33:57 +00:00
|
|
|
# Template file for 'potrace'
|
|
|
|
pkgname=potrace
|
2015-03-29 07:06:34 +00:00
|
|
|
version=1.12
|
|
|
|
revision=1
|
2013-10-09 07:33:57 +00:00
|
|
|
build_style=gnu-configure
|
2013-10-09 07:35:15 +00:00
|
|
|
makedepends="zlib-devel"
|
2013-10-09 07:33:57 +00:00
|
|
|
configure_args="--with-libpotrace"
|
|
|
|
short_desc="Transforming bitmaps into vector graphics"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-10-09 07:33:57 +00:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://potrace.sourceforge.net"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
2015-03-29 07:06:34 +00:00
|
|
|
checksum=b0bbf1d7badbebfcb992280f038936281b47ddbae212e8ae91e863ce0b76173b
|
2013-10-09 07:33:57 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|