Major cleanup

This commit is contained in:
layman
2016-07-08 15:04:50 +02:00
parent 528b4c8758
commit 7ca66cca1a
127 changed files with 19 additions and 103663 deletions
-4
View File
@@ -1,4 +0,0 @@
DIST CGAL-4.7-1.tar.xz 13673360 SHA256 50bd0a1cad7a8957b09012f831eebaf7d670e2a3467e8f365ec0c71fa5436369 SHA512 8126e861fb091a21a0eaf777205d5d688a0d33f005b91c85b2e5fb91afa66796611ec8a314647a322141169483ab8ff0dba769840bf4fb0f4397cf167172b21f WHIRLPOOL 6f1b0c9855161c0841faf1022742fd09157d5605fb5d5046d2b3bde1f1027b3ee6813ac631fb981f026239e0027434102c16d25b1dfda8619c571adc8639a921
DIST CGAL-4.7-doc_html-1.tar.xz 25248068 SHA256 2a15a16229dd90f991ea976761c8ae3c1f9e09f4023bb4446629c3b948a3b9bd SHA512 7542d1937c8cd8cfd174aa67b74b1e242c1dbbd40ca772eb0b7bdc80a947f0851222b10d098193b5c2cab1fe3f32cd40ab2555248bd99b7a29c296df288dabf7 WHIRLPOOL f7657994ffa71e4c5f30b75060cd87fc46686b5d2e1a05012b36a0c0f2a6b2ddcf40b9fb1ae038c69e3f363d12e92acf6455c2ad2838567d3a1cc31dd4722c54
EBUILD cgal-4.7.ebuild 1658 SHA256 bc1df088085e98fdab32b5704a751ffe1f38b8ff38804720b416cfe3534042fd SHA512 6f1cb8a7be48557243f5440650abb5ef2f3c2e711450106b7ab325561473d912fff8bcf74ccfbb21c19042d0bb37234b2e5de3f2b4f0ea8adce92dbed93d59d2 WHIRLPOOL 64dafd5513dfd5673f4fd3bb11b34b85fa62af510025e5409d87895d1bc4412029eff17c4e7cca41c6982e690db2c7c9acd45407c7a75d979caeabab90a68ad5
MISC metadata.xml 1176 SHA256 cb26cc714b9f3fefb7c52a2f1d8a1b314193013d359e1d0edbc7096226683cf0 SHA512 5cf662c5843200b28ff691d04751d4b1b44bb0699a318233c05e4713f097da8432be5ac9b69a6ceb44abf8e213fbe711e1da1db75b3889a1c639d091f230ae22 WHIRLPOOL 56ee6667f068eea00b833fd8451062ccf659b70ddcd2ad3e4e5fc043ec5655c2263f637c49cd4880a652e73be6227115de682dda1dbe7738f44b7031255c7cd0
-74
View File
@@ -1,74 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
CMAKE_BUILD_TYPE=Release
inherit multilib cmake-utils
MY_P=CGAL-${PV}
DESCRIPTION="C++ library for geometric algorithms and data structures"
HOMEPAGE="http://www.cgal.org/ https://gforge.inria.fr/projects/cgal/"
SRC_URI="
https://github.com/CGAL/cgal/releases/download/releases%2F${MY_P}/${MY_P}.tar.xz -> ${MY_P}-1.tar.xz
doc? ( https://github.com/CGAL/cgal/releases/download/releases%2F${MY_P}/${MY_P}-doc_html.tar.xz -> ${MY_P}-doc_html-1.tar.xz )"
LICENSE="LGPL-3 GPL-3 Boost-1.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples +gmp mpfi qt4 +tbb"
RDEPEND="
dev-libs/boost
dev-libs/mpfr:0
sys-libs/zlib
x11-libs/libX11
virtual/glu
virtual/opengl
gmp? ( dev-libs/gmp[cxx] )
qt4? (
dev-qt/qtgui:4
dev-qt/qtopengl:4
)
mpfi? ( sci-libs/mpfi )
tbb? ( dev-cpp/tbb )"
DEPEND="${RDEPEND}
app-arch/xz-utils
virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
DOCS="AUTHORS CHANGES* README"
src_prepare() {
cmake-utils_src_prepare
sed \
-e '/install(FILES AUTHORS/d' \
-i CMakeLists.txt || die
}
src_configure() {
local mycmakeargs=(
-DCGAL_INSTALL_LIB_DIR=$(get_libdir)
-DWITH_CGAL_Qt3=OFF
-DWITH_LEDA=OFF
$(cmake-utils_use_with gmp)
$(cmake-utils_use_with gmp GMPXX)
$(cmake-utils_use_with qt4 CGAL_Qt4)
$(cmake-utils_use_with mpfi)
$(cmake-utils_use_with tbb)
)
cmake-utils_src_configure
}
src_install() {
use doc && HTML_DOCS=( "${WORKDIR}"/doc_html/. )
cmake-utils_src_install
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples demo
fi
}
-24
View File
@@ -1,24 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sci-mathematics@gentoo.org</email>
<name>Gentoo Mathematics Project</name>
</maintainer>
<longdescription lang="en">
The Computational Geometry Algorithms Library is a collaborative
open source library containing:
* the Kernel with geometric primitives such as points, vectors,
lines, predicates for testing things such as relative positions of
points, and operations such as intersections and distance calculation.
* the Basic Library which is a collection of standard data
structures and geometric algorithms, such as convex hull in 2D/3D,
(Delaunay) triangulation in 2D/3D, planar map, polyhedron, smallest
enclosing circle, and multidimensional query structures.
* the Support Library which offers interfaces to other packages,
e.g., for visualisation, and I/O, and other support facilities.
</longdescription>
<use>
<flag name="mpfi">Enable support for multiple recision interval arithmetic via <pkg>sci-mathematics/mpfi</pkg></flag>
</use>
</pkgmetadata>