commit: f0525146c4040655c2e34e13a6d8ecdcaeec172b Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> AuthorDate: Fri May 1 21:47:38 2015 +0000 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> CommitDate: Fri May 1 21:47:38 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f0525146
sci-libs/lighter: new package; contains IUSE=threads but ... does the Makefile need a tweak for -lpthreads ? ;-). Go ahead and fix this. Package-Manager: portage-2.2.18 sci-biology/lighter/ChangeLog | 10 +++++++++ sci-biology/lighter/lighter-9999.ebuild | 36 +++++++++++++++++++++++++++++++++ sci-biology/lighter/metadata.xml | 9 +++++++++ 3 files changed, 55 insertions(+) diff --git a/sci-biology/lighter/ChangeLog b/sci-biology/lighter/ChangeLog new file mode 100644 index 0000000..a24b936 --- /dev/null +++ b/sci-biology/lighter/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-biology/lighter +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*lighter-9999 (01 May 2015) + + 01 May 2015; Martin Mokrejs <[email protected]> + +lighter-9999.ebuild, +metadata.xml: + sci-libs/lighter: new package; contains IUSE=threads but ... does the Makefile + need a tweak for -lpthreads ? ;-). Go ahead and fix this. diff --git a/sci-biology/lighter/lighter-9999.ebuild b/sci-biology/lighter/lighter-9999.ebuild new file mode 100644 index 0000000..8e2319a --- /dev/null +++ b/sci-biology/lighter/lighter-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit toolchain-funcs + +[ "$PV" == "9999" ] && inherit git-r3 + +DESCRIPTION="NGS reads corrector" +HOMEPAGE="https://github.com/mourisl/Lighter" +if [ "$PV" == "9999" ]; then + EGIT_REPO_URI="https://github.com/mourisl/Lighter.git" + KEYWORDS="" +else + SRC_URI="" + KEYWORDS="" +fi + +LICENSE="GPL-2+" +SLOT="0" +IUSE="threads" + +DEPEND="sys-libs/zlib + sci-libs/bloom" +RDEPEND="${DEPEND}" + +src_prepare(){ + sed -e "s#g++#$(tc-getCC)#;s#-Wall -O3#${CXXFLAGS}#" -i Makefile || die +} + +src_install(){ + dobin lighter + dodoc README.md +} diff --git a/sci-biology/lighter/metadata.xml b/sci-biology/lighter/metadata.xml new file mode 100644 index 0000000..2bc8930 --- /dev/null +++ b/sci-biology/lighter/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-biology</herd> + <maintainer> + <email>[email protected]</email> + <name>Martin Mokrejs</name> + </maintainer> +</pkgmetadata>
