]> Pileus Git - ~andy/sunrise/commitdiff
sci-biology/phrap: new package (bug 114094)
authorazazello <gentoo@horizon.ath.cx>
Fri, 20 Apr 2007 21:15:07 +0000 (21:15 +0000)
committerazazello <gentoo@horizon.ath.cx>
Fri, 20 Apr 2007 21:15:07 +0000 (21:15 +0000)
svn path=/sunrise/; revision=3495

sci-biology/phrap/ChangeLog [new file with mode: 0644]
sci-biology/phrap/Manifest [new file with mode: 0644]
sci-biology/phrap/metadata.xml [new file with mode: 0644]
sci-biology/phrap/phrap-0.990329.ebuild [new file with mode: 0644]

diff --git a/sci-biology/phrap/ChangeLog b/sci-biology/phrap/ChangeLog
new file mode 100644 (file)
index 0000000..c5d60c4
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for sci-biology/phrap
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  20 Apr 2007; AK <gentoo@horizon.ath.cx> +phrap-0.990329.ebuild,
+  +metadata.xml:
+  new package (bug 114094)
+
diff --git a/sci-biology/phrap/Manifest b/sci-biology/phrap/Manifest
new file mode 100644 (file)
index 0000000..a330fa2
--- /dev/null
@@ -0,0 +1,4 @@
+DIST phrap-distrib.tar.Z 366163 RMD160 f6d15059903868b907df225b9022b47957f4004a SHA1 69d9343d1d3bc7edcab2ebca222370fc9db7b9f7 SHA256 e0be79818e3a8ca17391f42cc0ffbaf1a63299c8845a0b9ac3aaeb3cac641fcc
+EBUILD phrap-0.990329.ebuild 855 RMD160 0802d75b5bd0196607595a468c0bc2815467112a SHA1 39f365adffc26318bb141329759026628e9b0b10 SHA256 a774f70d6cf5903f44fa85b6f932c0edce574a7bcc516a04026a6379396e8706
+MISC ChangeLog 229 RMD160 d07e26fa3b4541fad029d9a74f3bbc37120aba9b SHA1 1f4ee8efd799a53f6eadbb8d3459d80a51b6bb0c SHA256 db7c607c3d8d40c62742d25d797687139bad098a304a977c4f5c0afa3d329602
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/sci-biology/phrap/metadata.xml b/sci-biology/phrap/metadata.xml
new file mode 100644 (file)
index 0000000..7e32869
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/sci-biology/phrap/phrap-0.990329.ebuild b/sci-biology/phrap/phrap-0.990329.ebuild
new file mode 100644 (file)
index 0000000..7baf513
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="Phrap, swat, cross_match: Shotgun assembly and alignment utilities"
+HOMEPAGE="http://www.phrap.org/"
+SRC_URI="phrap-distrib.tar.Z"
+
+LICENSE="as-is"
+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.Z", then rename it to "phrap-distrib.tar.Z" and put it in'
+       einfo ${DISTDIR}
+}
+
+src_compile() {
+       sed -i 's/CFLAGS=/#CFLAGS=/' makefile
+       sed -i 's|#!/usr/local/bin/perl|#!/usr/bin/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
+}