From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:fixing commit in: sci-biology/ssaha2-bin/
Date: Sun, 16 Jun 2013 20:19:03 +0000 (UTC) [thread overview]
Message-ID: <1371412187.aaa0c7123809ee73cae45234e128621497860e31.jlec@gentoo> (raw)
commit: aaa0c7123809ee73cae45234e128621497860e31
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 19:49:47 2013 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> 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 <jlec@gentoo.org> -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 <jlec@gentoo.org> 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 @@
<?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>
+ <herd>sci-biology</herd>
+ <maintainer>
+ <email>mmokrejs@fold.natur.cuni.cz</email>
+ <name>Martin Mokrejs</name>
+ </maintainer>
</pkgmetadata>
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
}
reply other threads:[~2013-06-16 20:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1371412187.aaa0c7123809ee73cae45234e128621497860e31.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox