summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-03-24 19:00:41 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-03-24 19:00:41 +0000
commit0e4fea507e919a94bd60b5259f41a864bd608d38 (patch)
treefb28120d4b1bfca7ef65ed9e99e50c04cdf1c33c /sci-mathematics
parentAdd a note that g-cpan cannot get every ebuild right, as some CPAN packages n... (diff)
downloadhistorical-0e4fea507e919a94bd60b5259f41a864bd608d38.tar.gz
historical-0e4fea507e919a94bd60b5259f41a864bd608d38.tar.bz2
historical-0e4fea507e919a94bd60b5259f41a864bd608d38.zip
Version bump. Now install real manual and examples. Removed sci-libs/taucs as a runtime dependency, only used for demos/examples
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/cgal/ChangeLog8
-rw-r--r--sci-mathematics/cgal/Manifest15
-rw-r--r--sci-mathematics/cgal/cgal-3.6.ebuild76
3 files changed, 97 insertions, 2 deletions
diff --git a/sci-mathematics/cgal/ChangeLog b/sci-mathematics/cgal/ChangeLog
index 413bfd054014..884924cd357b 100644
--- a/sci-mathematics/cgal/ChangeLog
+++ b/sci-mathematics/cgal/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-mathematics/cgal
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/cgal/ChangeLog,v 1.5 2010/01/09 12:17:29 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/cgal/ChangeLog,v 1.6 2010/03/24 19:00:41 bicatali Exp $
+
+*cgal-3.6 (24 Mar 2010)
+
+ 24 Mar 2010; SĂ©bastien Fabbro <bicatali@gentoo.org> +cgal-3.6.ebuild:
+ Version bump. Now install real manual and examples. Removed sci-libs/taucs
+ as a runtime dependency, only used for demos/examples
*cgal-3.5.1 (09 Jan 2010)
diff --git a/sci-mathematics/cgal/Manifest b/sci-mathematics/cgal/Manifest
index 77c8beccab63..a24605642e4e 100644
--- a/sci-mathematics/cgal/Manifest
+++ b/sci-mathematics/cgal/Manifest
@@ -1,4 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST CGAL-3.5.1.tar.gz 13529161 RMD160 165d325393878f12eb928bf74dde65135f1c8af3 SHA1 12518977d42cb2d689395526f64599ee5bcb6849 SHA256 ae30577b946f5d486ec35f4778d99f27d9879c08ed0bed61edb113d4e2cddd35
+DIST CGAL-3.6-doc_html.tar.gz 23003154 RMD160 6a6f3f97091b5acf852331b1f7c549285c864fe9 SHA1 305041ebf6b28ae3482fef7913808f2a814e4330 SHA256 bab358524a04b8553ed8d2b2f81506f29308b5c19a7f8cbbb4415374de60a6d8
+DIST CGAL-3.6.tar.gz 14019341 RMD160 263f98b0d8b8d52dc0f615709bbb3218c924e842 SHA1 d9fb363ed373f55050a3954481623d72c0656690 SHA256 31a32a7956765f0603a6d1f378645523d137396f9343922ed9c2fc38df88f817
EBUILD cgal-3.5.1.ebuild 1569 RMD160 17544bc9ff0f48a709bf9907a6f61e79a1b87e54 SHA1 6f6aa5a5fb0b89873880a491c957d4c2a1af894c SHA256 e4a727fca4dd1d2832aa774956ca7e729a273d2ce091cf83fa447be78e63aaec
-MISC ChangeLog 1013 RMD160 63082b5305193a7ac09c1a718fe138cb023cf61e SHA1 8bc1b5bdce8f3f863f317e7dadaab14e7df37b13 SHA256 b3a2db751fe224900675e6163630927d9bde01ec73bcfb93b6ef6cef6b34e253
+EBUILD cgal-3.6.ebuild 1781 RMD160 6b322a92d010fa9a5c708921404bdae5fdd21382 SHA1 d196b200c7edda33fac6c19fdd3ee2281fee205b SHA256 6cda8b4f1fb1df64c2faa666331afccdcd200aaa3c08e0eebf7f6028f61ea134
+MISC ChangeLog 1244 RMD160 492952b3f9fb54e62674159ec795cdb692240d9e SHA1 c5277ebb3dbeff5a09b9ade8ca36e10675f7b8fe SHA256 e9834ce06c0ba45b31092e741275b16957b8497bf7be3aaa903758aca8566d99
MISC metadata.xml 916 RMD160 1e3efe4abd679bae8f6a4c85dea67bd82968dfeb SHA1 8f8ea07fd33c62bfbe75a427984fbdfcf285a1f9 SHA256 37c0dcf6b8ff830f6b09db0403a15d18c625d442cb524a6cb2405960a6268557
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkuqbEcACgkQ1ycZbhPLE2AjVQCfYxpsKziNN2G6ACxWsX13SMM9
+3TsAn1gjmDcrTKznUvt3ym3tCVUJ3o64
+=+Xdl
+-----END PGP SIGNATURE-----
diff --git a/sci-mathematics/cgal/cgal-3.6.ebuild b/sci-mathematics/cgal/cgal-3.6.ebuild
new file mode 100644
index 000000000000..231874db3962
--- /dev/null
+++ b/sci-mathematics/cgal/cgal-3.6.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/cgal/cgal-3.6.ebuild,v 1.1 2010/03/24 19:00:41 bicatali Exp $
+
+EAPI=2
+CMAKE_BUILD_TYPE=Release
+inherit base multilib cmake-utils
+
+MY_P=CGAL-${PV}
+PID=26688
+DPID=26689
+
+DESCRIPTION="C++ library for geometric algorithms and data structures"
+HOMEPAGE="http://www.cgal.org/"
+SRC_URI="http://gforge.inria.fr/frs/download.php/${PID}/${MY_P}.tar.gz
+ doc? ( http://gforge.inria.fr/frs/download.php/${DPID}/${MY_P}-doc_html.tar.gz )"
+
+LICENSE="LGPL-2.1 MIT QPL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+cxx doc examples +gmp lapack qt4"
+
+RDEPEND="dev-libs/boost
+ dev-libs/mpfr
+ sys-libs/zlib
+ x11-libs/libX11
+ virtual/opengl
+ gmp? ( dev-libs/gmp
+ cxx? ( dev-libs/gmp[-nocxx] ) )
+ lapack? ( virtual/lapack )
+ qt4? ( x11-libs/qt-gui:4
+ x11-libs/qt-opengl:4 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="AUTHORS CHANGES* README"
+
+src_prepare() {
+ base_src_prepare
+ sed -i \
+ -e '/install(FILES AUTHORS/d' \
+ CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs
+ if use gmp; then
+ mycmakeargs+=( $(cmake-utils_use_with cxx GMPXX) )
+ else
+ mycmakeargs+=( "-DWITH_GMPXX=OFF" )
+ fi
+ mycmakeargs+=(
+ "-DCGAL_INSTALL_LIB_DIR=$(get_libdir)"
+ "-DWITH_CGAL_Qt3=OFF"
+ "-DWITH_LEDA=OFF"
+ $(cmake-utils_use_with examples)
+ $(cmake-utils_use_with examples DEMOS)
+ $(cmake-utils_use_with gmp)
+ $(cmake-utils_use_with lapack CPACK)
+ $(cmake-utils_use_with qt4 CGAL_Qt4)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ if use doc; then
+ dohtml -r "${WORKDIR}"/doc_html/cgal_manual/*
+ fi
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples || die
+ fi
+}