commit:     244da94d9f3d1fa1a359a2663c2b8f309e94b634
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sun Apr 10 20:24:43 2016 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sun Apr 10 20:24:43 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=244da94d

sci-biology/snpomatic: new package

Package-Manager: portage-2.2.28

 sci-biology/snpomatic/metadata.xml          | 12 ++++++++++
 sci-biology/snpomatic/snpomatic-9999.ebuild | 34 +++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/sci-biology/snpomatic/metadata.xml 
b/sci-biology/snpomatic/metadata.xml
new file mode 100644
index 0000000..f68a1b6
--- /dev/null
+++ b/sci-biology/snpomatic/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>mmokr...@fold.natur.cuni.cz</email>
+    <name>Martin Mokrejs</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>sci-biol...@gentoo.org</email>
+    <name>Gentoo Biology Project</name>
+  </maintainer>
+</pkgmetadata>

diff --git a/sci-biology/snpomatic/snpomatic-9999.ebuild 
b/sci-biology/snpomatic/snpomatic-9999.ebuild
new file mode 100644
index 0000000..1d134f1
--- /dev/null
+++ b/sci-biology/snpomatic/snpomatic-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+[ "$PV" == "9999" ] && inherit git-r3
+
+DESCRIPTION="Stringent short-read aligner supporting filters and various 
output formats"
+HOMEPAGE="https://github.com/magnusmanske/snpomatic";
+# http://snpomatic.sourceforge.net/snpomatic_manual.pdf
+if [ "$PV" == "9999" ]; then
+       EGIT_REPO_URI="https://github.com/magnusmanske/snpomatic.git";
+       KEYWORDS=""
+else
+       SRC_URI=""
+       KEYWORDS=""
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare(){
+       sed -e 's/^CXX=/#CXX=/;s/^CXXFLAGS=/#CXXFLAGS=/' -i Makefile || die
+}
+
+src_install(){
+       dobin findknownsnps
+       dodoc doc/Manual.doc
+}

Reply via email to