diff --git a/common/shlibs b/common/shlibs index c0a34bca596..989b44e0d29 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3129,3 +3129,4 @@ liboctgui.so.2 octave-4.2.1_8 libfifechan.so.0.1.4 fifechan-0.1.4_1 libfifechan_sdl.so.0.1.4 fifechan-0.1.4_1 libfifechan_opengl.so.0.1.4 fifechan-0.1.4_1 +libpolyclipping.so.22 clipper-6.4.2_1 diff --git a/srcpkgs/clipper-devel b/srcpkgs/clipper-devel new file mode 120000 index 00000000000..ecc79e4ba42 --- /dev/null +++ b/srcpkgs/clipper-devel @@ -0,0 +1 @@ +clipper \ No newline at end of file diff --git a/srcpkgs/clipper/template b/srcpkgs/clipper/template new file mode 100644 index 00000000000..f45028e3ce7 --- /dev/null +++ b/srcpkgs/clipper/template @@ -0,0 +1,28 @@ +# Template file for 'clipper' +pkgname=clipper +version=6.4.2 +revision=1 +create_wrksrc=yes +build_wrksrc="cpp" +build_style=cmake +hostmakedepends="unzip" +short_desc="Library for clipping and offsetting lines and polygons" +maintainer="John " +license="Boost Software License 1.0" +homepage="http://www.angusj.com/delphi/clipper.php" +distfiles="${SOURCEFORGE_SITE}/polyclipping/clipper_ver${version}.zip" +checksum=a14320d82194807c4480ce59c98aa71cd4175a5156645c4e2b3edd330b930627 + +post_install() { + vlicense ${wrksrc}/License.txt +} + +clipper-devel_package() { + short_desc+=" - development files" + depends="clipper-${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/share/pkgconfig + vmove usr/lib/*.so + } +}