summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2009-02-07 18:16:12 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2009-02-07 18:16:12 +0000
commitcb4c332851396ffb8ff632f471515e8614e866e8 (patch)
tree0bbdf6bf79219c35561d327ca7c080e536cdc44b /sci-biology/snpfile
parentStable for HPPA (bug #244888). (diff)
downloadgentoo-2-cb4c332851396ffb8ff632f471515e8614e866e8.tar.gz
gentoo-2-cb4c332851396ffb8ff632f471515e8614e866e8.tar.bz2
gentoo-2-cb4c332851396ffb8ff632f471515e8614e866e8.zip
New package, ebuild written by me
Diffstat (limited to 'sci-biology/snpfile')
-rw-r--r--sci-biology/snpfile/ChangeLog7
-rw-r--r--sci-biology/snpfile/Manifest5
-rw-r--r--sci-biology/snpfile/files/snpfile-2.0.0-gcc43.patch23
-rw-r--r--sci-biology/snpfile/metadata.xml9
-rw-r--r--sci-biology/snpfile/snpfile-2.0.0.ebuild26
5 files changed, 70 insertions, 0 deletions
diff --git a/sci-biology/snpfile/ChangeLog b/sci-biology/snpfile/ChangeLog
new file mode 100644
index 000000000000..fef603d60c1a
--- /dev/null
+++ b/sci-biology/snpfile/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for sci-biology/snpfile
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/snpfile/ChangeLog,v 1.1 2009/02/07 18:16:12 weaver Exp $
+
+ 07 Feb 2009; weaver <weaver@gentoo.org> ChangeLog:
+ New package, ebuild written by me
+
diff --git a/sci-biology/snpfile/Manifest b/sci-biology/snpfile/Manifest
new file mode 100644
index 000000000000..ced393958dc2
--- /dev/null
+++ b/sci-biology/snpfile/Manifest
@@ -0,0 +1,5 @@
+AUX snpfile-2.0.0-gcc43.patch 722 RMD160 4914766f03f02217cfec1c718b4242c38d37d97c SHA1 61bd3a4817f5357e5106077a9f56b62e62a0a92f SHA256 b3dadfcb4c29202a61472448ad46210207c3e90293a46c15dd7749468c2754e4
+DIST snpfile-2.0.0.tar.gz 185195 RMD160 f07250ee0a9510908c4f129bca9ebc612141a393 SHA1 00497c8e2b22b386767fbd5ac0b5b25f75aecbf0 SHA256 e12d19eb7e13247e5d8aa74208d0b6414959ae8a9945ebbff5a88d4b269f9d56
+EBUILD snpfile-2.0.0.ebuild 573 RMD160 2b98d50b5d0cd8f53853cf8c59d1fef511b05fb9 SHA1 e3fac4abecccdfc61a7aeb7f7da09ed959abdbbc SHA256 0ff928f17eb13df58c386497bdde0d42183237bfb3064b55fc182022200489cd
+MISC ChangeLog 210 RMD160 969667be4f63d372cca7decaafe477008b0cea81 SHA1 92b78a7cbdcadcba97794ecca892673aad9efd7c SHA256 dcd1025dbe367580a37e109af087ff7f26a0ff56788a6449691938a672131c99
+MISC metadata.xml 259 RMD160 d9d81b67d635fabd81aef8ae0edf971211ae9072 SHA1 8e32f751c67ff891fa35405a2cf6fb33752d6eb1 SHA256 541c3fbcf299d9a8ccf4132ee61f9e53a5d737cefdaa6fdc77764d8d4c7f3110
diff --git a/sci-biology/snpfile/files/snpfile-2.0.0-gcc43.patch b/sci-biology/snpfile/files/snpfile-2.0.0-gcc43.patch
new file mode 100644
index 000000000000..4c0ed46b4e6f
--- /dev/null
+++ b/sci-biology/snpfile/files/snpfile-2.0.0-gcc43.patch
@@ -0,0 +1,23 @@
+diff -dur snpfile-2.0.0-orig/matrix.hh snpfile-2.0.0/matrix.hh
+--- snpfile-2.0.0-orig/matrix.hh 2009-02-07 12:51:44.090353089 +0000
++++ snpfile-2.0.0/matrix.hh 2009-02-07 12:54:45.602853488 +0000
+@@ -29,6 +29,7 @@
+ #ifndef MATRIX_HH_INCLUDED
+ #define MATRIX_HH_INCLUDED
+
++#include <cstring>
+ #include <vector>
+ #include <set>
+ #include <algorithm>
+diff -dur snpfile-2.0.0-orig/metadata.hh snpfile-2.0.0/metadata.hh
+--- snpfile-2.0.0-orig/metadata.hh 2009-02-07 12:51:44.090353089 +0000
++++ snpfile-2.0.0/metadata.hh 2009-02-07 12:55:56.181360877 +0000
+@@ -27,7 +27,7 @@
+ #define METADATA_HH_INCLUDED
+
+ #include <stdexcept>
+-#include <string>
++#include <cstring>
+
+ /** \file
+ * \brief Declaration of metadata concepts.
diff --git a/sci-biology/snpfile/metadata.xml b/sci-biology/snpfile/metadata.xml
new file mode 100644
index 000000000000..3302123e5718
--- /dev/null
+++ b/sci-biology/snpfile/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/snpfile/snpfile-2.0.0.ebuild b/sci-biology/snpfile/snpfile-2.0.0.ebuild
new file mode 100644
index 000000000000..2c51a17da801
--- /dev/null
+++ b/sci-biology/snpfile/snpfile-2.0.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/snpfile/snpfile-2.0.0.ebuild,v 1.1 2009/02/07 18:16:12 weaver Exp $
+
+inherit eutils
+
+DESCRIPTION="A library and API for manipulating large SNP datasets"
+HOMEPAGE="http://www.birc.au.dk/~mailund/SNPFile/"
+SRC_URI="http://www.birc.au.dk/~mailund/SNPFile/download/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-libs/boost"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}"/${P}-*.patch
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+}