From: | Martin Mokrejs <mmokrejs@×××××××××××××××.cz> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] proj/sci:master commit in: sci-biology/act-bin/ |
Date: | Wed, 30 Mar 2016 14:26:38 |
Message-Id: | 1459347524.aeb330b5d14397ab0a558befd4ff1434a6835e91.mmokrejs@gentoo |
1 | commit: aeb330b5d14397ab0a558befd4ff1434a6835e91 |
2 | Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 | AuthorDate: Wed Mar 30 14:18:44 2016 +0000 |
4 | Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 | CommitDate: Wed Mar 30 14:18:44 2016 +0000 |
6 | URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=aeb330b5 |
7 | |
8 | sci-biology/act-bin: new java package with upstream binaries |
9 | |
10 | Package-Manager: portage-2.2.28 |
11 | |
12 | sci-biology/act-bin/act-bin-13.0.0.ebuild | 50 +++++++++++++++++++++++++++++++ |
13 | sci-biology/act-bin/metadata.xml | 12 ++++++++ |
14 | 2 files changed, 62 insertions(+) |
15 | |
16 | diff --git a/sci-biology/act-bin/act-bin-13.0.0.ebuild b/sci-biology/act-bin/act-bin-13.0.0.ebuild |
17 | new file mode 100644 |
18 | index 0000000..debf770 |
19 | --- /dev/null |
20 | +++ b/sci-biology/act-bin/act-bin-13.0.0.ebuild |
21 | @@ -0,0 +1,50 @@ |
22 | +# Copyright 1999-2016 Gentoo Foundation |
23 | +# Distributed under the terms of the GNU General Public License v2 |
24 | +# $Id$ |
25 | + |
26 | +EAPI=6 |
27 | + |
28 | +inherit java-pkg-2 |
29 | + |
30 | +DESCRIPTION="DNA contig sequence comparison tool supplementing Artemis" |
31 | +HOMEPAGE="http://www.sanger.ac.uk/science/tools/artemis-comparison-tool-act" |
32 | +SRC_URI="ftp://ftp.sanger.ac.uk/pub/resources/software/act/v13/sact_v13.jar |
33 | + ftp://ftp.sanger.ac.uk/pub/resources/software/act/v13/act_v13.jar |
34 | + ftp://ftp.sanger.ac.uk/pub/resources/software/act/v13/act_manual_complete.pdf -> ${P}.manual.pdf |
35 | + ftp://ftp.sanger.ac.uk/pub/resources/software/act/v13/act_html_build.zip -> ${P}.html_build.zip" |
36 | + |
37 | +LICENSE="GPL-2" |
38 | +SLOT="0" |
39 | +KEYWORDS="~amd64" |
40 | +IUSE="" |
41 | + |
42 | +DEPEND=" |
43 | + !sci-biology/artemis" |
44 | +RDEPEND="${DEPEND} |
45 | + >=virtual/jre-1.6:*" |
46 | + |
47 | +S="${WORKDIR}" |
48 | + |
49 | +src_unpack(){ |
50 | + unzip "${DISTDIR}"/${P}.html_build.zip || die |
51 | +} |
52 | + |
53 | +src_prepare(){ |
54 | + default |
55 | + cd act_html_build || die |
56 | + rm -f .DS_Store HTML.index HTML.manifest || die |
57 | +} |
58 | + |
59 | +src_install(){ |
60 | + java-pkg_dojar "${DISTDIR}"/*.jar |
61 | + dodoc "${DISTDIR}"/${P}.manual.pdf |
62 | + insinto /usr/share/doc/"${PN}"/html |
63 | + doins act_html_build/* |
64 | +} |
65 | + |
66 | +pkg_postinst(){ |
67 | + einfo "For BAM file support please install sci-biology/BamView" |
68 | + einfo "You may find interesting the additional web resources:" |
69 | + einfo "http://www.webact.org/WebACT" |
70 | + einfo "http://www.hpa-bioinfotools.org.uk/pise/double_act.html" |
71 | +} |
72 | |
73 | diff --git a/sci-biology/act-bin/metadata.xml b/sci-biology/act-bin/metadata.xml |
74 | new file mode 100644 |
75 | index 0000000..f68a1b6 |
76 | --- /dev/null |
77 | +++ b/sci-biology/act-bin/metadata.xml |
78 | @@ -0,0 +1,12 @@ |
79 | +<?xml version="1.0" encoding="UTF-8"?> |
80 | +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
81 | +<pkgmetadata> |
82 | + <maintainer type="person"> |
83 | + <email>mmokrejs@×××××××××××××××.cz</email> |
84 | + <name>Martin Mokrejs</name> |
85 | + </maintainer> |
86 | + <maintainer type="project"> |
87 | + <email>sci-biology@g.o</email> |
88 | + <name>Gentoo Biology Project</name> |
89 | + </maintainer> |
90 | +</pkgmetadata> |