29 lines
718 B
Bash
29 lines
718 B
Bash
# Template file for 'clipper'
|
|
pkgname=clipper
|
|
version=6.4.2
|
|
revision=2
|
|
create_wrksrc=yes
|
|
build_wrksrc=cpp
|
|
build_style=cmake
|
|
hostmakedepends="unzip"
|
|
short_desc="Library for clipping and offsetting lines and polygons"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="BSL-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
|
|
}
|
|
}
|