blob: 40488c54cd2b375a62b964711337e1e5df2453a6 (
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
37
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/suitename/suitename-0.3.070628.ebuild,v 1.3 2012/07/23 09:01:43 jlec Exp $
EAPI=4
inherit toolchain-funcs
MY_P="${PN}.${PV}"
DESCRIPTION="The ROC RNA Ontology Consortium consensus RNA backbone 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}
}
|