/[gentoo-x86]/sci-mathematics/cgal/cgal-4.0.2.ebuild
Gentoo

Diff of /sci-mathematics/cgal/cgal-4.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/cgal/Attic/cgal-4.0.2.ebuild,v 1.2 2012/08/09 18:06:20 bicatali Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/cgal/Attic/cgal-4.0.2.ebuild,v 1.3 2012/11/09 14:01:53 jlec Exp $
4 4
5EAPI=4 5EAPI=4
6
6CMAKE_BUILD_TYPE=Release 7CMAKE_BUILD_TYPE=Release
8
7inherit base multilib cmake-utils 9inherit base multilib cmake-utils
8 10
9MY_P=CGAL-${PV} 11MY_P=CGAL-${PV}
10PID=31176 12PID=31176
11DPID=31181 13DPID=31181
12 14
13DESCRIPTION="C++ library for geometric algorithms and data structures" 15DESCRIPTION="C++ library for geometric algorithms and data structures"
14HOMEPAGE="http://www.cgal.org/ https://gforge.inria.fr/projects/cgal/" 16HOMEPAGE="http://www.cgal.org/ https://gforge.inria.fr/projects/cgal/"
17SRC_URI="
15SRC_URI="http://gforge.inria.fr/frs/download.php/${PID}/${MY_P}.tar.xz 18 http://gforge.inria.fr/frs/download.php/${PID}/${MY_P}.tar.xz
16 doc? ( http://gforge.inria.fr/frs/download.php/${DPID}/${MY_P}-doc_html.tar.xz )" 19 doc? ( http://gforge.inria.fr/frs/download.php/${DPID}/${MY_P}-doc_html.tar.xz )"
17 20
18LICENSE="LGPL-3 GPL-3 Boost-1.0" 21LICENSE="LGPL-3 GPL-3 Boost-1.0"
19SLOT="0" 22SLOT="0"
20KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" 23KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
21IUSE="doc examples +gmp mpfi qt4" 24IUSE="doc examples +gmp mpfi qt4"
22 25
23RDEPEND="dev-libs/boost 26RDEPEND="
27 dev-libs/boost
24 dev-libs/mpfr 28 dev-libs/mpfr
25 sys-libs/zlib 29 sys-libs/zlib
26 x11-libs/libX11 30 x11-libs/libX11
31 virtual/glu
27 virtual/opengl 32 virtual/opengl
28 gmp? ( dev-libs/gmp[cxx] ) 33 gmp? ( dev-libs/gmp[cxx] )
34 qt4? (
29 qt4? ( x11-libs/qt-gui:4 35 x11-libs/qt-gui:4
30 x11-libs/qt-opengl:4 ) 36 x11-libs/qt-opengl:4 )
31 mpfi? ( sci-libs/mpfi )" 37 mpfi? ( sci-libs/mpfi )"
32DEPEND="${RDEPEND} 38DEPEND="${RDEPEND}
33 app-arch/xz-utils" 39 app-arch/xz-utils"
34 40
36 42
37DOCS="AUTHORS CHANGES* README" 43DOCS="AUTHORS CHANGES* README"
38 44
39src_prepare() { 45src_prepare() {
40 base_src_prepare 46 base_src_prepare
41 sed -i \ 47 sed \
42 -e '/install(FILES AUTHORS/d' \ 48 -e '/install(FILES AUTHORS/d' \
43 CMakeLists.txt || die 49 -i CMakeLists.txt || die
44} 50}
45 51
46src_configure() { 52src_configure() {
47 local mycmakeargs+=( 53 local mycmakeargs+=(
48 -DCGAL_INSTALL_LIB_DIR=$(get_libdir) 54 -DCGAL_INSTALL_LIB_DIR=$(get_libdir)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20