diff options
author | Martin Mokrejš <mmokrejs@fold.natur.cuni.cz> | 2017-02-24 14:00:51 +0100 |
---|---|---|
committer | Martin Mokrejš <mmokrejs@fold.natur.cuni.cz> | 2017-02-24 14:00:51 +0100 |
commit | 244b13c92e071701a929875ae77cd5213785e1d8 (patch) | |
tree | 6a0e82f4ddebee2ede7ecb6253a4db22f86b2277 | |
parent | sci-biology/Ray: fix typo in USE variable (diff) | |
download | sci-244b13c92e071701a929875ae77cd5213785e1d8.tar.gz sci-244b13c92e071701a929875ae77cd5213785e1d8.tar.bz2 sci-244b13c92e071701a929875ae77cd5213785e1d8.zip |
sci-biology/genepop: version bump, install PDF doc
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r-- | sci-biology/genepop/Manifest | 2 | ||||
-rw-r--r-- | sci-biology/genepop/genepop-4.6.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/sci-biology/genepop/Manifest b/sci-biology/genepop/Manifest index 68906abb4..4891decec 100644 --- a/sci-biology/genepop/Manifest +++ b/sci-biology/genepop/Manifest @@ -1 +1,3 @@ DIST genepop-4.2.1.tar.gz 136675 SHA256 08d82c6236814573086627305b47e201ec6abc6ce1a15fcebac9671f24f57f91 SHA512 f658f6ab82c1ef21bf15a9bd03335ea792e670ce7cf8f2eb3e1c4d75ae24ff099bde5580b310fdcd552dfb1dbb6df55352a8c06fedeeb7d46434a58767233882 WHIRLPOOL 20ac7ad1e9ff710e4ff420cdf67ba479019a020f5da9ac5f961a5937e7532c6e069f909e48074cd738d4d857a6c84331aca8972eb5cd3567c649c218b386cdb1 +DIST genepop-4.6.tar.gz 1872683 SHA256 1b6cbb4c133ea2bfb0bee728bad01e25bdd7e8574d21401d09fd93f34298ff14 SHA512 813040f43c3d0c1b41f4689c005f00e7593cb1c201182b202343b3dcafa63f141086e98b140056e0916d3383cb17166694e42277152436831139c1aa02532349 WHIRLPOOL a47312cb52dc8a28af46940f24acf55f5a3bbdd28d5b19f82ec28835e02cd39ee4e921fd88b8d6788331d43ec0a7472d189cda02209e4c3d86545e491d78df24 +DIST genepop.pdf 578521 SHA256 8d7477d182dc91b6b35a46831752ad90d06681572e272935b3d26ffb44a09db1 SHA512 48d1b951c3ab9896827c9f8dca2dbeb447db5a9af1559cb7c2bac2cf27c0c36e7b27268678258a81aacc925ac1346d9ed1b63b25b8517a9acc55177438ee885e WHIRLPOOL 6b422bf8b568261ff09e779c367e3b4fc33bf9a1f8f73cdb58a7482255afd0d380f4ddace24288213377fa5da0af7f1240a06c3c9035915ccc274a5a3bf3afd3 diff --git a/sci-biology/genepop/genepop-4.6.ebuild b/sci-biology/genepop/genepop-4.6.ebuild new file mode 100644 index 000000000..e42f57c82 --- /dev/null +++ b/sci-biology/genepop/genepop-4.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Population genetics analysis" +HOMEPAGE="http://genepop.curtin.edu.au/ http://kimura.univ-montp2.fr/~rousset/Genepop.htm" +SRC_URI="http://kimura.univ-montp2.fr/%7Erousset/GenepopV4.tar.gz -> ${P}.tar.gz + http://kimura.univ-montp2.fr/%7Erousset/Genepop.pdf -> ${PN}.pdf" + +LICENSE="CeCILL-2" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}" + +src_prepare() { + gzip -dc sources.tar.gz | tar xf - || die + mv Cpp/* . || die + rmdir Cpp || die + cat >> CMakeLists.txt <<- EOF + cmake_minimum_required (VERSION 2.6) + project (${PN} CXX) + + set(CMAKE_CXX_FLAGS "\${CMAKE_CXX_FLAGS} -DNO_MODULES") + + add_executable(Genepop GenepopS.cpp) + install(TARGETS Genepop DESTINATION bin) + EOF + cmake-utils_src_prepare + default +} + +src_install(){ + cmake-utils_src_install + dodoc "${DISTDIR}"/"${PN}".pdf +} |