diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-12-12 20:08:28 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-12-12 20:08:28 +0000 |
commit | e261b34a6ca3e5c69bc731f0fb711f3d037a1022 (patch) | |
tree | 77b3a8aeefb7d71139d4b3173840c4b599ab6b55 /sci-mathematics/cgal | |
parent | Stable for amd64, wrt bug #446496 (diff) | |
download | gentoo-2-e261b34a6ca3e5c69bc731f0fb711f3d037a1022.tar.gz gentoo-2-e261b34a6ca3e5c69bc731f0fb711f3d037a1022.tar.bz2 gentoo-2-e261b34a6ca3e5c69bc731f0fb711f3d037a1022.zip |
Version bump
(Portage version: 2.2.01.21418-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-mathematics/cgal')
-rw-r--r-- | sci-mathematics/cgal/ChangeLog | 8 | ||||
-rw-r--r-- | sci-mathematics/cgal/cgal-4.1.ebuild | 72 | ||||
-rw-r--r-- | sci-mathematics/cgal/metadata.xml | 10 |
3 files changed, 84 insertions, 6 deletions
diff --git a/sci-mathematics/cgal/ChangeLog b/sci-mathematics/cgal/ChangeLog index d96b72f571f0..7ec8efcadc86 100644 --- a/sci-mathematics/cgal/ChangeLog +++ b/sci-mathematics/cgal/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-mathematics/cgal # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/cgal/ChangeLog,v 1.19 2012/11/09 14:01:53 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/cgal/ChangeLog,v 1.20 2012/12/12 20:08:28 bicatali Exp $ + +*cgal-4.1 (12 Dec 2012) + + 12 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org> +cgal-4.1.ebuild, + metadata.xml: + Version bump 09 Nov 2012; Justin Lecher <jlec@gentoo.org> cgal-4.0.2.ebuild, metadata.xml: Addmissing dep on virtual/glu, #438504 diff --git a/sci-mathematics/cgal/cgal-4.1.ebuild b/sci-mathematics/cgal/cgal-4.1.ebuild new file mode 100644 index 000000000000..304e3ea1916a --- /dev/null +++ b/sci-mathematics/cgal/cgal-4.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/cgal/cgal-4.1.ebuild,v 1.1 2012/12/12 20:08:28 bicatali Exp $ + +EAPI=4 + +CMAKE_BUILD_TYPE=Release + +inherit base multilib cmake-utils + +MY_P=CGAL-${PV} +PID=31639 +DPID=31647 + +DESCRIPTION="C++ library for geometric algorithms and data structures" +HOMEPAGE="http://www.cgal.org/ https://gforge.inria.fr/projects/cgal/" +SRC_URI=" + http://gforge.inria.fr/frs/download.php/${PID}/${MY_P}.tar.xz + doc? ( http://gforge.inria.fr/frs/download.php/${DPID}/${MY_P}-doc_html.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" + +RDEPEND=" + dev-libs/boost + dev-libs/mpfr + sys-libs/zlib + x11-libs/libX11 + virtual/glu + virtual/opengl + gmp? ( dev-libs/gmp[cxx] ) + qt4? ( + x11-libs/qt-gui:4 + x11-libs/qt-opengl:4 ) + mpfi? ( sci-libs/mpfi )" +DEPEND="${RDEPEND} + app-arch/xz-utils" + +S="${WORKDIR}/${MY_P}" + +DOCS="AUTHORS CHANGES* README" + +src_prepare() { + base_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_src_configure +} + +src_install() { + cmake-utils_src_install + use doc && dohtml -r "${WORKDIR}"/doc_html/cgal_manual/* + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples demo + fi +} diff --git a/sci-mathematics/cgal/metadata.xml b/sci-mathematics/cgal/metadata.xml index 161b2fb8054e..a8b19aea2fbc 100644 --- a/sci-mathematics/cgal/metadata.xml +++ b/sci-mathematics/cgal/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci</herd> - <longdescription lang="en"> +<herd>sci</herd> +<longdescription lang="en"> The Computational Geometry Algorithms Library is a collaborative open source library containing: * the Kernel with geometric primitives such as points, vectors, @@ -15,7 +15,7 @@ * 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> +<use> + <flag name="mpfi">Enable support for multiple recision interval arithmetic via <pkg>sci-mathematics/mpfi</pkg></flag> +</use> </pkgmetadata> |