Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/sailfish/, sci-biology/sailfish/files/
Date: Sun, 28 Feb 2016 10:43:59
Message-Id: 1456656194.78cab883d2457b52fb12f8a72ec7ce29c0d51950.jlec@gentoo
1 commit: 78cab883d2457b52fb12f8a72ec7ce29c0d51950
2 Author: mschubert <mschu.dev <AT> gmail <DOT> com>
3 AuthorDate: Sat Jan 23 21:59:18 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 28 10:43:14 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=78cab883
7
8 sci-biology/sailfish: add ebuild
9
10 Package-Manager: portage-2.2.20-prefix
11
12 .../files/sailfish-0.9.1-no-boost-static.patch | 20 ++++++++++++++++
13 sci-biology/sailfish/metadata.xml | 15 ++++++++++++
14 sci-biology/sailfish/sailfish-0.9.1.ebuild | 28 ++++++++++++++++++++++
15 sci-biology/sailfish/sailfish-9999.ebuild | 28 ++++++++++++++++++++++
16 4 files changed, 91 insertions(+)
17
18 diff --git a/sci-biology/sailfish/files/sailfish-0.9.1-no-boost-static.patch b/sci-biology/sailfish/files/sailfish-0.9.1-no-boost-static.patch
19 new file mode 100644
20 index 0000000..7ac3d08
21 --- /dev/null
22 +++ b/sci-biology/sailfish/files/sailfish-0.9.1-no-boost-static.patch
23 @@ -0,0 +1,20 @@
24 +Do not force static and multithreaded boost libs, use what is available
25 +
26 +Patch by Michael Schubert
27 +
28 +--- a/CMakeLists.txt
29 ++++ b/CMakeLists.txt
30 +@@ -162,13 +162,6 @@ if ( DEFINED CUSTOM_BOOST_PATH )
31 + set (CMAKE_LIBRARY_PATH ${CUSTOM_BOOST_PATH}/lib ${CMAKE_LIBRARY_PATH})
32 + endif ( DEFINED CUSTOM_BOOST_PATH )
33 +
34 +-##
35 +-# We want static, multithreaded boost libraries
36 +-##
37 +-set (Boost_USE_STATIC_LIBS ON)
38 +-set (Boost_USE_MULTITHREADED ON)
39 +-#set (Boost_USE_STATIC_RUNTIME OFF)
40 +-
41 + find_package (ZLIB)
42 + if (NOT ZLIB_FOUND)
43 + message (FATAL_ERROR "zlib must be installed before configuration & building can proceed")
44
45 diff --git a/sci-biology/sailfish/metadata.xml b/sci-biology/sailfish/metadata.xml
46 new file mode 100644
47 index 0000000..2831ceb
48 --- /dev/null
49 +++ b/sci-biology/sailfish/metadata.xml
50 @@ -0,0 +1,15 @@
51 +<?xml version="1.0" encoding="UTF-8"?>
52 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
53 +<pkgmetadata>
54 + <maintainer type="project">
55 + <email>sci-biology@g.o</email>
56 + <name>Gentoo Biology Project</name>
57 + </maintainer>
58 + <maintainer type="person">
59 + <email>mschu.dev@×××××.com</email>
60 + <name>Michael Schubert</name>
61 + </maintainer>
62 + <upstream>
63 + <remote-id type="github">kingsfordgroup/sailfish</remote-id>
64 + </upstream>
65 +</pkgmetadata>
66
67 diff --git a/sci-biology/sailfish/sailfish-0.9.1.ebuild b/sci-biology/sailfish/sailfish-0.9.1.ebuild
68 new file mode 100644
69 index 0000000..c17ea29
70 --- /dev/null
71 +++ b/sci-biology/sailfish/sailfish-0.9.1.ebuild
72 @@ -0,0 +1,28 @@
73 +# Copyright 1999-2016 Gentoo Foundation
74 +# Distributed under the terms of the GNU General Public License v2
75 +# $Id$
76 +
77 +EAPI=5
78 +
79 +inherit cmake-utils
80 +
81 +DESCRIPTION="Rapid Mapping-based Isoform Quantification from RNA-Seq Reads"
82 +HOMEPAGE="http://www.cs.cmu.edu/~ckingsf/software/sailfish/"
83 +SRC_URI="https://github.com/kingsfordgroup/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
84 +
85 +LICENSE="GPL-3"
86 +SLOT="0"
87 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
88 +IUSE=""
89 +
90 +PATCHES=( "${FILESDIR}"/${PN}-0.9.1-no-boost-static.patch )
91 +
92 +DEPEND="dev-libs/boost:0
93 + dev-libs/jemalloc
94 + dev-cpp/tbb"
95 +RDEPEND="${DEPEND}"
96 +
97 +src_install() {
98 + cmake-utils_src_install
99 + rm -r "${ED}"/usr/tests || die
100 +}
101
102 diff --git a/sci-biology/sailfish/sailfish-9999.ebuild b/sci-biology/sailfish/sailfish-9999.ebuild
103 new file mode 100644
104 index 0000000..2d60e34
105 --- /dev/null
106 +++ b/sci-biology/sailfish/sailfish-9999.ebuild
107 @@ -0,0 +1,28 @@
108 +# Copyright 1999-2016 Gentoo Foundation
109 +# Distributed under the terms of the GNU General Public License v2
110 +# $Id$
111 +
112 +EAPI=5
113 +
114 +inherit cmake-utils git-r3
115 +
116 +DESCRIPTION="Rapid Mapping-based Isoform Quantification from RNA-Seq Reads"
117 +HOMEPAGE="http://www.cs.cmu.edu/~ckingsf/software/sailfish/"
118 +SRC_URI=""
119 +EGIT_REPO_URI="https://github.com/kingsfordgroup/sailfish.git"
120 +
121 +LICENSE="GPL-3"
122 +SLOT="0"
123 +IUSE=""
124 +
125 +PATCHES=( "${FILESDIR}"/${PN}-0.9.1-no-boost-static.patch )
126 +
127 +DEPEND="dev-libs/boost:0
128 + dev-libs/jemalloc
129 + dev-cpp/tbb"
130 +RDEPEND="${DEPEND}"
131 +
132 +src_install() {
133 + cmake-utils_src_install
134 + rm -r "${ED}"/usr/tests || die
135 +}