You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
627 B
34 lines
627 B
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{6..9} )
|
|
|
|
inherit cmake
|
|
|
|
MY_PV="ver${PV}"
|
|
MY_P="${PN}_${MY_PV}"
|
|
|
|
DESCRIPTION="Polygon and line clipping and offsetting library (C++, C#, Delphi)"
|
|
HOMEPAGE="http://www.angusj.com/delphi/clipper.php"
|
|
SRC_URI="mirror://sourceforge/project/polyclipping/${MY_P}.zip -> ${P}.zip"
|
|
|
|
LICENSE="Boost-1.0"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
RDEPEND=""
|
|
BDEPEND="app-arch/unzip"
|
|
|
|
S="${WORKDIR}/cpp"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DBUILD_SHARED_LIBS=ON
|
|
)
|
|
cmake_src_configure
|
|
}
|