summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2008-12-31 00:28:51 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2008-12-31 00:28:51 +0000
commitf6da404a93baa9412d4598d64b6924f8bdf97ac7 (patch)
tree14221ad91f171fb5f7d5700fcee1e29cbad913ab /sci-biology/phrap
parentStable on sparc, bug #252656 (diff)
downloadgentoo-2-f6da404a93baa9412d4598d64b6924f8bdf97ac7.tar.gz
gentoo-2-f6da404a93baa9412d4598d64b6924f8bdf97ac7.tar.bz2
gentoo-2-f6da404a93baa9412d4598d64b6924f8bdf97ac7.zip
Import from Science overlay, bug 114094
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-tuxonice i686)
Diffstat (limited to 'sci-biology/phrap')
-rw-r--r--sci-biology/phrap/ChangeLog11
-rw-r--r--sci-biology/phrap/Manifest4
-rw-r--r--sci-biology/phrap/metadata.xml9
-rw-r--r--sci-biology/phrap/phrap-1.080812.ebuild48
4 files changed, 72 insertions, 0 deletions
diff --git a/sci-biology/phrap/ChangeLog b/sci-biology/phrap/ChangeLog
new file mode 100644
index 000000000000..611942cb2297
--- /dev/null
+++ b/sci-biology/phrap/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-biology/phrap
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/phrap/ChangeLog,v 1.1 2008/12/31 00:28:51 weaver Exp $
+
+*phrap-1.080812 (31 Dec 2008)
+
+ 31 Dec 2008; weaver <weaver@gentoo.org> +metadata.xml,
+ +phrap-1.080812.ebuild:
+ Import from Science overlay, bug 114094. Thanks to Brady Catherman and Martin
+ Mokrejs.
+
diff --git a/sci-biology/phrap/Manifest b/sci-biology/phrap/Manifest
new file mode 100644
index 000000000000..0e77f7b2a939
--- /dev/null
+++ b/sci-biology/phrap/Manifest
@@ -0,0 +1,4 @@
+DIST phrap-1.080812-distrib.tar.gz 317350 RMD160 9ac2e6209b4b681fd8099c49be5fbd511a5da1a8 SHA1 0f63613324dbce931c9b38b84d8ede314730dc87 SHA256 7025f3cb30e5a3305a13d150f39a85580ade0bbf8169b25db65cbe396e201052
+EBUILD phrap-1.080812.ebuild 1336 RMD160 ee0bf5912ce91073e51d40f6d06cb6bb839fe5c2 SHA1 75eb3a6e9f2ec42e941fd6c7cfdb59f1a4df0742 SHA256 f387bf5272bdd91899822c11f14ad07b70ee6665d287baea75f8cf812ddd7406
+MISC ChangeLog 324 RMD160 aace994b3db1a0e6324cdcdafe48aa6059beddfa SHA1 f989b23a9aa0dfe4bafc330a0f3bbbe5033f87e6 SHA256 e10c899e988bb75cb52b687aff947d43ca693903805b7553aee1630ab44203c1
+MISC metadata.xml 259 RMD160 d9d81b67d635fabd81aef8ae0edf971211ae9072 SHA1 8e32f751c67ff891fa35405a2cf6fb33752d6eb1 SHA256 541c3fbcf299d9a8ccf4132ee61f9e53a5d737cefdaa6fdc77764d8d4c7f3110
diff --git a/sci-biology/phrap/metadata.xml b/sci-biology/phrap/metadata.xml
new file mode 100644
index 000000000000..3302123e5718
--- /dev/null
+++ b/sci-biology/phrap/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>weaver@gentoo.org</email>
+ <name>Andrey Kislyuk</name>
+ </maintainer>
+ <herd>sci-biology</herd>
+</pkgmetadata>
diff --git a/sci-biology/phrap/phrap-1.080812.ebuild b/sci-biology/phrap/phrap-1.080812.ebuild
new file mode 100644
index 000000000000..8b1d86ffc2e2
--- /dev/null
+++ b/sci-biology/phrap/phrap-1.080812.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/phrap/phrap-1.080812.ebuild,v 1.1 2008/12/31 00:28:51 weaver Exp $
+
+DESCRIPTION="Phrap, swat, cross_match: Shotgun assembly and alignment utilities"
+HOMEPAGE="http://www.phrap.org/"
+SRC_URI="phrap-${PV}-distrib.tar.gz"
+
+LICENSE="phrap"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}"
+
+RESTRICT="fetch"
+
+pkg_nofetch() {
+ einfo "Please visit http://www.phrap.org/phredphrapconsed.html and obtain the file"
+ einfo "\"distrib.tar.gz\", then rename it to \"phrap-${PV}-distrib.tar.gz\""
+ einfo "and put it in ${DISTDIR}"
+}
+
+src_compile() {
+ sed -i 's/CFLAGS=/#CFLAGS=/' makefile
+ sed -i 's|#!/usr/local/bin/perl|#!/usr/bin/env perl|' phrapview
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin cluster cross_match loco phrap phrapview swat
+ for i in {general,phrap,swat}.doc ; do
+ newdoc ${i} ${i}.txt
+ done
+}
+
+pkg_postinst() {
+ elog If you are operating a non-commercial \(academic or government\)
+ elog computer facility which provides access to several independent
+ elog investigators, you are required by the licensing agreement to set the
+ elog permissions on the executables and source code to allow execute but
+ elog not read access, so that the programs may not be copied.
+ elog
+ elog Phrap documentation is installed in ${ROOT}/usr/share/doc/${P}.
+}