1 |
commit: 2570d9f509a9b92dcdc8cdb0de492597bda202ff |
2 |
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com> |
3 |
AuthorDate: Sat Mar 22 23:15:13 2014 +0000 |
4 |
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 22 23:53:12 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2570d9f5 |
7 |
|
8 |
Address ebuild-issues: Use zip-snapshot instead of repo-tag, add missing die, fix typo in description. |
9 |
|
10 |
--- |
11 |
sci-physics/vgm/ChangeLog | 6 +++++- |
12 |
sci-physics/vgm/vgm-3.06.ebuild | 16 ++++++++++------ |
13 |
2 files changed, 15 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/sci-physics/vgm/ChangeLog b/sci-physics/vgm/ChangeLog |
16 |
index 21a947c..e02c874 100644 |
17 |
--- a/sci-physics/vgm/ChangeLog |
18 |
+++ b/sci-physics/vgm/ChangeLog |
19 |
@@ -1,7 +1,11 @@ |
20 |
# ChangeLog for sci-physics/vgm |
21 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
22 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
23 |
# $Header: $ |
24 |
|
25 |
+ 22 Mar 2014; <o.freyermuth@××××××××××.com> vgm-3.06.ebuild: |
26 |
+ Address ebuild-issues: Use zip-snapshot instead of repo-tag, add missing die, |
27 |
+ fix typo in description. |
28 |
+ |
29 |
21 Jan 2013; Sébastien Fabbro <bicatali@g.o> vgm-3.06.ebuild: |
30 |
Updated minimum geant4 version, thanks Oliver Freyermuth |
31 |
|
32 |
|
33 |
diff --git a/sci-physics/vgm/vgm-3.06.ebuild b/sci-physics/vgm/vgm-3.06.ebuild |
34 |
index 83b5fef..efd9cc4 100644 |
35 |
--- a/sci-physics/vgm/vgm-3.06.ebuild |
36 |
+++ b/sci-physics/vgm/vgm-3.06.ebuild |
37 |
@@ -4,14 +4,16 @@ |
38 |
|
39 |
EAPI=5 |
40 |
|
41 |
-inherit cmake-utils versionator subversion |
42 |
+inherit cmake-utils versionator |
43 |
|
44 |
-ESVN_REPO_URI="https://vgm.svn.sourceforge.net/svnroot/${PN}/tags/v$(replace_all_version_separators '-')/${PN}" |
45 |
-ESVN_PROJECT="${PN}.${PV}" |
46 |
+#ESVN_REPO_URI="https://vgm.svn.sourceforge.net/svnroot/${PN}/tags/v$(replace_all_version_separators '-')/${PN}" |
47 |
+#ESVN_PROJECT="${PN}.${PV}" |
48 |
|
49 |
-DESCRIPTION="Virtual Geometry Model for High Enegery Physics Experiments" |
50 |
+TAG_VER="${PN}-code-731-tags-v$(replace_all_version_separators '-')" |
51 |
+ |
52 |
+DESCRIPTION="Virtual Geometry Model for High Energy Physics Experiments" |
53 |
HOMEPAGE="http://ivana.home.cern.ch/ivana/VGM.html" |
54 |
-SRC_URI="" |
55 |
+SRC_URI="http://sourceforge.net/code-snapshots/svn/v/vg/vgm/code/${TAG_VER}.zip" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
@@ -27,6 +29,8 @@ DEPEND="${RDEPEND} |
60 |
doc? ( app-doc/doxygen[dot] ) |
61 |
test? ( geant4? ( xml? ( >=sci-physics/geant-4.9.6[gdml] ) ) )" |
62 |
|
63 |
+S=${WORKDIR}/${TAG_VER}/${PN} |
64 |
+ |
65 |
src_configure() { |
66 |
local mycmakeargs=( |
67 |
-DCLHEP_DIR="${EROOT}usr" |
68 |
@@ -58,7 +62,7 @@ src_install() { |
69 |
insinto /usr/share/doc/${PF} |
70 |
doins -r examples |
71 |
fi |
72 |
- cd doc |
73 |
+ cd doc || die |
74 |
dodoc README todo.txt VGMhistory.txt VGM.html VGMversions.html |
75 |
use doc && dohtml -r html/* |
76 |
} |