2017-12-17 19:13:22 +01:00
|
|
|
# Template file for 'clipper'
|
|
|
|
pkgname=clipper
|
|
|
|
version=6.4.2
|
2018-08-31 04:46:47 +02:00
|
|
|
revision=2
|
2017-12-17 19:13:22 +01:00
|
|
|
create_wrksrc=yes
|
2018-08-31 04:46:47 +02:00
|
|
|
build_wrksrc=cpp
|
2017-12-17 19:13:22 +01:00
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="unzip"
|
|
|
|
short_desc="Library for clipping and offsetting lines and polygons"
|
|
|
|
maintainer="John <johnz@posteo.net>"
|
2018-08-31 04:46:47 +02:00
|
|
|
license="BSL-1.0"
|
2017-12-17 19:13:22 +01:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|