From 7dfa4f6b98a2f38da47ef18f2f2026233d2f0e48 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 9 Oct 2013 09:33:57 +0200 Subject: [PATCH] New package: potrace-1.11 (close #191). --- common/shlibs | 1 + srcpkgs/libpotrace | 1 + srcpkgs/potrace-devel | 1 + srcpkgs/potrace/template | 43 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 46 insertions(+) create mode 120000 srcpkgs/libpotrace create mode 120000 srcpkgs/potrace-devel create mode 100644 srcpkgs/potrace/template diff --git a/common/shlibs b/common/shlibs index 23245fa9546..701c26bbfaf 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/libpotrace b/srcpkgs/libpotrace new file mode 120000 index 00000000000..a595c948438 --- /dev/null +++ b/srcpkgs/libpotrace @@ -0,0 +1 @@ +potrace \ No newline at end of file diff --git a/srcpkgs/potrace-devel b/srcpkgs/potrace-devel new file mode 120000 index 00000000000..a595c948438 --- /dev/null +++ b/srcpkgs/potrace-devel @@ -0,0 +1 @@ +potrace \ No newline at end of file diff --git a/srcpkgs/potrace/template b/srcpkgs/potrace/template new file mode 100644 index 00000000000..d6150789dd1 --- /dev/null +++ b/srcpkgs/potrace/template @@ -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 " +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 + } +}