aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2015-01-15 12:44:16 +0100
committerMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2015-01-15 12:44:16 +0100
commit0d09d404b268844e465c95d67083f0cce0d1e1e4 (patch)
treea726b64dba8a5cfdb531cf64876f2638b29def66
parentMerge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/sci (diff)
downloadsci-0d09d404b268844e465c95d67083f0cce0d1e1e4.tar.gz
sci-0d09d404b268844e465c95d67083f0cce0d1e1e4.tar.bz2
sci-0d09d404b268844e465c95d67083f0cce0d1e1e4.zip
sci-biology/sabre: new package
Package-Manager: portage-2.2.7
-rw-r--r--sci-biology/sabre/ChangeLog9
-rw-r--r--sci-biology/sabre/metadata.xml9
-rw-r--r--sci-biology/sabre/sabre-9999.ebuild39
3 files changed, 57 insertions, 0 deletions
diff --git a/sci-biology/sabre/ChangeLog b/sci-biology/sabre/ChangeLog
new file mode 100644
index 000000000..f7f747fa1
--- /dev/null
+++ b/sci-biology/sabre/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-biology/sabre
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*sabre-9999 (15 Jan 2015)
+
+ 15 Jan 2015; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> +metadata.xml,
+ +sabre-9999.ebuild:
+ sci-biology/sabre: new package
diff --git a/sci-biology/sabre/metadata.xml b/sci-biology/sabre/metadata.xml
new file mode 100644
index 000000000..2bc893037
--- /dev/null
+++ b/sci-biology/sabre/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>mmokrejs@fold.natur.cuni.cz</email>
+ <name>Martin Mokrejs</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/sci-biology/sabre/sabre-9999.ebuild b/sci-biology/sabre/sabre-9999.ebuild
new file mode 100644
index 000000000..2aee70121
--- /dev/null
+++ b/sci-biology/sabre/sabre-9999.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+[ "$PV" == "9999" ] && inherit git-2
+
+inherit toolchain-funcs
+
+DESCRIPTION="Barcode demultiplexing and trimming tool for Illumina FastQ files"
+HOMEPAGE="https://github.com/najoshi/sabre"
+if [ "$PV" == "9999" ]; then
+ EGIT_REPO_URI="https://github.com/najoshi/sabre.git"
+ KEYWORDS=""
+else
+ SRC_URI=""
+ KEYWORDS=""
+fi
+
+
+LICENSE="MIT" # almost verbatim
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+S="${S}"/src
+
+src_prepare(){
+ sed -e "s#OPT = -O3#OPT = ${CFLAGS}#" \
+ -e "s#CC = gcc#CC = $(tc-getCC)#" -i Makefile || die
+}
+
+src_install(){
+ dobin sabre
+}