void-packages/srcpkgs/clipper/template
2020-12-01 10:30:47 -03:00

29 lines
756 B
Bash

# Template file for 'clipper'
pkgname=clipper
version=6.4.2
revision=3
create_wrksrc=yes
build_wrksrc=cpp
build_style=cmake
configure_args="-DVERSION=${version}"
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
}
}