void-packages/srcpkgs/clipper/template

29 lines
737 B
Bash
Raw Normal View History

2017-12-17 18:13:22 +00:00
# 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
}
}