blob: 8441770df5ca501831fa20ee6bfc59056c24882a (
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
29
30
31
32
33
34
35
36
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit toolchain-funcs
MY_P="${PN}.${PV}"
DESCRIPTION="The ROC RNA Ontology nomenclature and conformer-list development"
HOMEPAGE="http://kinemage.biochem.duke.edu/software/suitename.php"
SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/${PN}/${MY_P}.src.tgz"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="richardson"
IUSE=""
S="${WORKDIR}"/${MY_P}
src_prepare() {
tc-export CC
cp Makefile.linux Makefile || die
sed \
-e 's:cc:${CC}:g' \
-e "s:-o:${LDFLAGS} -o:g" \
-i Makefile || die
}
src_compile() {
emake CFLAGS="${CFLAGS}"
}
src_install() {
dobin ${PN}
}
|