From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E8DF61381F3 for ; Sun, 16 Jun 2013 20:20:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0167CE09C2; Sun, 16 Jun 2013 20:19:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71787E09BF for ; Sun, 16 Jun 2013 20:19:11 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 61DF933E2D2 for ; Sun, 16 Jun 2013 20:19:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 0337BE5464 for ; Sun, 16 Jun 2013 20:19:03 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1371412187.aaa0c7123809ee73cae45234e128621497860e31.jlec@gentoo> Subject: [gentoo-commits] proj/sci:fixing commit in: sci-biology/ssaha2-bin/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/ssaha2-bin/ChangeLog sci-biology/ssaha2-bin/metadata.xml sci-biology/ssaha2-bin/ssaha2-bin-2.5.3.ebuild sci-biology/ssaha2-bin/ssaha2-bin-2.5.5.ebuild X-VCS-Directories: sci-biology/ssaha2-bin/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: aaa0c7123809ee73cae45234e128621497860e31 X-VCS-Branch: fixing Date: Sun, 16 Jun 2013 20:19:03 +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-Archives-Salt: 06989479-9ba9-436c-a15a-f5aed1d0ac6f X-Archives-Hash: 1ad2ef29177fda7986105c943a1c5f7b commit: aaa0c7123809ee73cae45234e128621497860e31 Author: Justin Lecher gentoo org> AuthorDate: Sun Jun 16 19:49:47 2013 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sun Jun 16 19:49:47 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=aaa0c712 sci-biology/ssaha2-bin: Version Bump; restrict license; add QA_PREBUILT for binaries Package-Manager: portage-2.2.0_alpha180 --- sci-biology/ssaha2-bin/ChangeLog | 6 ++++- sci-biology/ssaha2-bin/metadata.xml | 10 ++++----- ...a2-bin-2.5.3.ebuild => ssaha2-bin-2.5.5.ebuild} | 26 +++++++++++++--------- 3 files changed, 26 insertions(+), 16 deletions(-) diff --git a/sci-biology/ssaha2-bin/ChangeLog b/sci-biology/ssaha2-bin/ChangeLog index 914725e..8b3f2ff 100644 --- a/sci-biology/ssaha2-bin/ChangeLog +++ b/sci-biology/ssaha2-bin/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for sci-biology/ssaha2-bin -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 16 Jun 2013; Justin Lecher -ssaha2-bin-2.5.3.ebuild, + +ssaha2-bin-2.5.5.ebuild, metadata.xml: + Version Bump; restrict license; add QA_PREBUILT for binaries + 25 Jun 2011; Justin Lecher ssaha2-bin-2.5.3.ebuild: Cleaned ebuild and fixed LICENSE diff --git a/sci-biology/ssaha2-bin/metadata.xml b/sci-biology/ssaha2-bin/metadata.xml index 07b5255..2bc8930 100644 --- a/sci-biology/ssaha2-bin/metadata.xml +++ b/sci-biology/ssaha2-bin/metadata.xml @@ -1,9 +1,9 @@ - sci-biology - - mmokrejs@fold.natur.cuni.cz - Martin Mokrejs - + sci-biology + + mmokrejs@fold.natur.cuni.cz + Martin Mokrejs + diff --git a/sci-biology/ssaha2-bin/ssaha2-bin-2.5.3.ebuild b/sci-biology/ssaha2-bin/ssaha2-bin-2.5.5.ebuild similarity index 55% rename from sci-biology/ssaha2-bin/ssaha2-bin-2.5.3.ebuild rename to sci-biology/ssaha2-bin/ssaha2-bin-2.5.5.ebuild index 34b63dd..96a183d 100644 --- a/sci-biology/ssaha2-bin/ssaha2-bin-2.5.3.ebuild +++ b/sci-biology/ssaha2-bin/ssaha2-bin-2.5.5.ebuild @@ -1,34 +1,40 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=4 +EAPI=5 inherit toolchain-funcs +MY_PN="${PN%-bin}" +MY_P="${MY_PN}_v${PV}" + DESCRIPTION="SSAHA2: Sequence Search and Alignment by Hashing Algorithm" HOMEPAGE="http://www.sanger.ac.uk/resources/software/ssaha2" SRC_URI=" - x86? ( ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/ssaha2_i686.tgz ) - amd64? ( ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/ssaha2_x86_64.tgz ) - ia64? ( ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/ssaha2_ia64.tgz ) + x86? ( ftp://ftp.sanger.ac.uk/pub4/resources/software/${MY_PN}/${MY_P}_i686.tgz ) + amd64? ( ftp://ftp.sanger.ac.uk/pub4/resources/software/${MY_PN}/${MY_P}_x86_64.tgz ) ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/samflag.c ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/ssaha2-manual.pdf" -LICENSE="as-is" +LICENSE="all-rights-reserved" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -use x86 && S="${WORKDIR}"/ssaha2_v"${PV}"_i686 -use amd64 && S="${WORKDIR}"/ssaha2_v"${PV}"_x86_64 -use ia64 && S="${WORKDIR}"/ssaha2_v"${PV}"_ia64 +QA_PREBUILT="/opt/.*" +pkg_setup() { + use x86 && export S="${WORKDIR}"/${MY_P}_i686 + use amd64 && export S="${WORKDIR}"/${MY_P}_x86_64 +} src_compile() { $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o samflag "${DISTDIR}"/samflag.c || die "Failed to compile samflags" } src_install() { - dobin samflag ssaha2 ssaha2Build ssahaSNP + dobin samflag + exeinto /opt/bin + doexe ssaha2 ssaha2Build ssahaSNP dodoc README "${DISTDIR}"/ssaha2-manual.pdf }