New package: clipper-6.4.2

This commit is contained in:
John 2017-12-17 19:13:22 +01:00 committed by Jürgen Buchmüller
parent bcc6ee1e95
commit 312d3ada40
3 changed files with 30 additions and 0 deletions

View File

@ -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

1
srcpkgs/clipper-devel Symbolic link
View File

@ -0,0 +1 @@
clipper

28
srcpkgs/clipper/template Normal file
View File

@ -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 <johnz@posteo.net>"
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
}
}