diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-biology/mosaik/mosaik-2.2.30.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-biology/mosaik/mosaik-2.2.30.ebuild')
-rw-r--r-- | sci-biology/mosaik/mosaik-2.2.30.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/sci-biology/mosaik/mosaik-2.2.30.ebuild b/sci-biology/mosaik/mosaik-2.2.30.ebuild new file mode 100644 index 000000000000..45633c47dab5 --- /dev/null +++ b/sci-biology/mosaik/mosaik-2.2.30.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic toolchain-funcs vcs-snapshot + +DESCRIPTION="A reference-guided aligner for next-generation sequencing technologies" +HOMEPAGE="https://github.com/wanpinglee/MOSAIK" +SRC_URI="https://github.com/wanpinglee/MOSAIK/archive/5c25216d3522d6a33e53875cd76a6d65001e4e67.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${P}/src" + +PATCHES=( + "${FILESDIR}/${P}-remove-platform-code.patch" + "${FILESDIR}/${P}-fix-build-system.patch" + "${FILESDIR}/${P}-Wformat-security.patch" +) + +src_configure() { + # readd default warning flags from build system + append-flags -Wall -Wno-char-subscripts + append-lfs-flags + export BLD_PLATFORM=linux +} + +src_compile() { + emake \ + CC=$(tc-getCC) \ + CXX=$(tc-getCXX) \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + CPPFLAGS="${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin bin/Mosaik* + + dodoc ../README + + insinto /usr/share/${PN}/examples + doins -r ../demo/. +} |