aboutsummaryrefslogtreecommitdiff
blob: f2d36f772a123823e9c38f3dc07fba8037a4bd42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

DESCRIPTION="Translate DNA sequence into protein (with STOP codon read-through)"
HOMEPAGE="http://www.cbs.dtu.dk/services/VirtualRibosome/download.php"
SRC_URI="http://www.cbs.dtu.dk/services/VirtualRibosome/releases/${P}.tgz"

# source code does not explictly mention GPL version so I assume GPL-1
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

src_prepare(){
	sed -e 's@#!/usr/local/python/bin/python@#! /usr/bin/env python@' -i *.py || die
}

src_install(){
	dobin *.py
	insinto /usr/share/"${PN}"/
	doins mtx/gcMitVertebrate.mtx
}