From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 482E1138239 for ; Tue, 27 Nov 2018 13:59:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A905E0A5D; Tue, 27 Nov 2018 13:59:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 09B7EE0A5D for ; Tue, 27 Nov 2018 13:59:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4B28F335C47 for ; Tue, 27 Nov 2018 13:59:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 64DDAA8 for ; Tue, 27 Nov 2018 13:59:19 +0000 (UTC) From: "Martin Mokrejs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Martin Mokrejs" Message-ID: <1543327143.213fbaee602b48bf23d3de3f55691dc6ea9fea07.mmokrejs@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/seqtk/files/, sci-biology/seqtk/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/seqtk/files/seqtk-1.3_Makefile.patch sci-biology/seqtk/metadata.xml sci-biology/seqtk/seqtk-1.3.ebuild X-VCS-Directories: sci-biology/seqtk/files/ sci-biology/seqtk/ X-VCS-Committer: mmokrejs X-VCS-Committer-Name: Martin Mokrejs X-VCS-Revision: 213fbaee602b48bf23d3de3f55691dc6ea9fea07 X-VCS-Branch: master Date: Tue, 27 Nov 2018 13:59:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cb742561-6a86-4ba5-8587-6a0e0dc83a9b X-Archives-Hash: 87dea12d6269015c3c8d8de42c03b679 commit: 213fbaee602b48bf23d3de3f55691dc6ea9fea07 Author: Martin Mokrejs fold natur cuni cz> AuthorDate: Tue Nov 27 13:49:25 2018 +0000 Commit: Martin Mokrejs fold natur cuni cz> CommitDate: Tue Nov 27 13:59:03 2018 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=213fbaee sci-biology/seqtk: new package This package will be needed by sci-biology/tigmint Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Martin Mokrejs fold.natur.cuni.cz> sci-biology/seqtk/files/seqtk-1.3_Makefile.patch | 27 ++++++++++++++++++++++++ sci-biology/seqtk/metadata.xml | 12 +++++++++++ sci-biology/seqtk/seqtk-1.3.ebuild | 22 +++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/sci-biology/seqtk/files/seqtk-1.3_Makefile.patch b/sci-biology/seqtk/files/seqtk-1.3_Makefile.patch new file mode 100644 index 000000000..bc0af18c5 --- /dev/null +++ b/sci-biology/seqtk/files/seqtk-1.3_Makefile.patch @@ -0,0 +1,27 @@ +diff --git a/Makefile b/Makefile +index 0a60ccc..1f3e429 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,9 @@ +-CC=gcc +-CFLAGS=-g -Wall -O2 -Wno-unused-function +-BINDIR=/usr/local/bin ++CC ?= gcc ++CFLAGS ?= -g -Wall -O2 -Wno-unused-function ++PREFIX ?= /usr/local ++BINDIR ?= $(DESTDIR)$(PREFIX)/bin ++INSTALL ?= install ++MKDIR ?= mkdir + + all:seqtk + +@@ -8,7 +11,8 @@ seqtk:seqtk.c khash.h kseq.h + $(CC) $(CFLAGS) seqtk.c -o $@ -lz -lm + + install:all +- install seqtk $(BINDIR) ++ $(MKDIR) -p $(BINDIR) ++ $(INSTALL) seqtk $(BINDIR) + + clean: + rm -fr gmon.out *.o ext/*.o a.out seqtk trimadap *~ *.a *.dSYM session* diff --git a/sci-biology/seqtk/metadata.xml b/sci-biology/seqtk/metadata.xml new file mode 100644 index 000000000..138cb7705 --- /dev/null +++ b/sci-biology/seqtk/metadata.xml @@ -0,0 +1,12 @@ + + + + + mmokrejs@fold.natur.cuni.cz + Martin Mokrejs + + + sci-biology@gentoo.org + Gentoo Biology Project + + diff --git a/sci-biology/seqtk/seqtk-1.3.ebuild b/sci-biology/seqtk/seqtk-1.3.ebuild new file mode 100644 index 000000000..2024de85d --- /dev/null +++ b/sci-biology/seqtk/seqtk-1.3.ebuild @@ -0,0 +1,22 @@ +# Copyright 2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Manipulate FASTA and FASTQ files" +HOMEPAGE="https://github.com/lh3/seqtk" +SRC_URI="https://github.com/lh3/seqtk/archive/v1.3.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" +PATCHES="${FILESDIR}"/"${P}"_Makefile.patch + +src_install(){ + emake install BINDIR="${ED}/usr/bin" +}