bicatali    14/06/30 18:50:48

  Modified:             ChangeLog
  Added:                clhep-2.2.0.1.ebuild
  Log:
  Version bump
  
  (Portage version: 2.2.10.1-prefix/cvs/Linux x86_64, signed Manifest commit 
with key 0x13CB1360)

Revision  Changes    Path
1.47                 sci-physics/clhep/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?rev=1.47&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?rev=1.47&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/ChangeLog?r1=1.46&r2=1.47

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- ChangeLog   28 May 2014 16:35:42 -0000      1.46
+++ ChangeLog   30 Jun 2014 18:50:48 -0000      1.47
@@ -1,6 +1,11 @@
 # ChangeLog for sci-physics/clhep
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.46 
2014/05/28 16:35:42 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.47 
2014/06/30 18:50:48 bicatali Exp $
+
+*clhep-2.2.0.1 (30 Jun 2014)
+
+  30 Jun 2014; Sébastien Fabbro <bicat...@gentoo.org> +clhep-2.2.0.1.ebuild:
+  Version bump
 
 *clhep-2.1.4.2 (28 May 2014)
 



1.1                  sci-physics/clhep/clhep-2.2.0.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.2.0.1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/clhep/clhep-2.2.0.1.ebuild?rev=1.1&content-type=text/plain

Index: clhep-2.2.0.1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/clhep-2.2.0.1.ebuild,v 1.1 
2014/06/30 18:50:48 bicatali Exp $

EAPI=5

inherit cmake-utils multilib

DESCRIPTION="High Energy Physics C++ library"
HOMEPAGE="http://www.cern.ch/clhep";
SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/${P}.tgz";
LICENSE="GPL-3 LGPL-3"
SLOT="2/${PV}"
KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux"

IUSE="doc static-libs test"
RDEPEND=""
DEPEND="${RDEPEND}
        doc? ( virtual/latex-base )"

S="${WORKDIR}/${PV}/CLHEP"

src_prepare() {
        # respect flags
        sed -i -e 's:-O::g' cmake/Modules/ClhepVariables.cmake || die
        # no batch mode to allow parallel building (bug #437482)
        sed -i \
                -e 's:-interaction=batchmode::g' \
                cmake/Modules/ClhepBuildTex.cmake || die
        # gentoo doc directory
        sed -i \
                -e "/DESTINATION/s:doc:share/doc/${PF}:" \
                cmake/Modules/ClhepBuildTex.cmake */doc/CMakeLists.txt || die
        # dont build test if not asked
        if ! use test; then
                sed -i \
                        -e '/add_subdirectory(test)/d' \
                        */CMakeLists.txt || die
        fi
}

src_configure() {
        local mycmakeargs=(
                $(cmake-utils_use_enable test TESTING)
                $(cmake-utils_use doc CLHEP_BUILD_DOCS)
        )
        DESTDIR="${ED}" cmake-utils_src_configure
        use doc && MAKEOPTS+=" -j1"
}

src_install() {
        cmake-utils_src_install
        use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a
}




Reply via email to