New package: potrace-1.11 (close #191).

This commit is contained in:
Juan RP 2013-10-09 09:33:57 +02:00
parent dadc75c350
commit 7dfa4f6b98
4 changed files with 46 additions and 0 deletions

View File

@ -1413,3 +1413,4 @@ libupnp.so.6 libupnp-1.6.18_1
libmozjs-17.0.so mozjs17-17.0.0_1
libgeocode-glib.so.0 geocode-glib-3.10.0_1
libzeitgeist-2.0.so.0 libzeitgeist2-0.9.14_1
libpotrace.so.0 libpotrace-1.11_1

1
srcpkgs/libpotrace Symbolic link
View File

@ -0,0 +1 @@
potrace

1
srcpkgs/potrace-devel Symbolic link
View File

@ -0,0 +1 @@
potrace

43
srcpkgs/potrace/template Normal file
View File

@ -0,0 +1,43 @@
# Template file for 'potrace'
pkgname=potrace
version=1.11
revision=1
build_style=gnu-configure
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
long_desc="
Potrace(TM) is a tool for tracing a bitmap, which means, transforming a
bitmap into a smooth, scalable image. The input is a bitmap (PBM, PGM,
PPM, or BMP format), and the default output is an encapsulated PostScript
file (EPS). A typical use is to create EPS files from scanned data, such
as company or university logos, handwritten notes, etc. The resulting image
is not "jaggy" like a bitmap, but smooth. It can then be rendered at any
resolution."
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"
}
}
potrace_package() {
pkg_install() {
vmove all
}
}