1 |
commit: 43678bc9223604dc05063d14c025edcb802c0b4d |
2 |
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Sun Apr 1 16:15:44 2018 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Sun Apr 1 16:15:44 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=43678bc9 |
7 |
|
8 |
sci-biology/genepop: version bump |
9 |
|
10 |
Upstream does not version the release tarballs, now 4.7 is being |
11 |
actually exposed on the website. |
12 |
|
13 |
Package-Manager: Portage-2.3.27, Repoman-2.3.9 |
14 |
|
15 |
.../genepop/{genepop-4.6.ebuild => genepop-4.7.ebuild} | 13 +++++++------ |
16 |
1 file changed, 7 insertions(+), 6 deletions(-) |
17 |
|
18 |
diff --git a/sci-biology/genepop/genepop-4.6.ebuild b/sci-biology/genepop/genepop-4.7.ebuild |
19 |
similarity index 77% |
20 |
rename from sci-biology/genepop/genepop-4.6.ebuild |
21 |
rename to sci-biology/genepop/genepop-4.7.ebuild |
22 |
index 22605e6cd..c70f60dba 100644 |
23 |
--- a/sci-biology/genepop/genepop-4.6.ebuild |
24 |
+++ b/sci-biology/genepop/genepop-4.7.ebuild |
25 |
@@ -1,4 +1,4 @@ |
26 |
-# Copyright 1999-2017 Gentoo Foundation |
27 |
+# Copyright 1999-2018 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
EAPI=6 |
31 |
@@ -7,8 +7,7 @@ inherit cmake-utils |
32 |
|
33 |
DESCRIPTION="Population genetics analysis" |
34 |
HOMEPAGE="http://genepop.curtin.edu.au/ http://kimura.univ-montp2.fr/~rousset/Genepop.htm" |
35 |
-SRC_URI="http://kimura.univ-montp2.fr/%7Erousset/GenepopV4.tar.gz -> ${P}.tar.gz |
36 |
- http://kimura.univ-montp2.fr/%7Erousset/Genepop.pdf -> ${PN}.pdf" |
37 |
+SRC_URI="http://kimura.univ-montp2.fr/%7Erousset/GenepopV4.tar.gz -> ${P}.tar.gz" |
38 |
|
39 |
LICENSE="CeCILL-2" |
40 |
SLOT="0" |
41 |
@@ -19,8 +18,7 @@ S="${WORKDIR}" |
42 |
|
43 |
src_prepare() { |
44 |
gzip -dc sources.tar.gz | tar xf - || die |
45 |
- mv Cpp/* . || die |
46 |
- rmdir Cpp || die |
47 |
+ rm -f exe.zip || die |
48 |
cat >> CMakeLists.txt <<- EOF |
49 |
cmake_minimum_required (VERSION 2.6) |
50 |
project (${PN} CXX) |
51 |
@@ -36,5 +34,8 @@ src_prepare() { |
52 |
|
53 |
src_install(){ |
54 |
cmake-utils_src_install |
55 |
- dodoc "${DISTDIR}"/"${PN}".pdf |
56 |
+ mv "${ED}"/usr/bin/Genepop "${ED}"/usr/bin/genepop || die |
57 |
+ newdoc Genepop.pdf genepop.pdf |
58 |
+ insinto /usr/share/"${PN}" |
59 |
+ doins examples.zip |
60 |
} |