diff --git a/common/shlibs b/common/shlibs index 23245fa954..701c26bbfa 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 0000000000..a595c94843 --- /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 0000000000..a595c94843 --- /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 0000000000..d6150789dd --- /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 + } +}