blob: b36801f0da17a3391b282b79789fc56e38aa306a (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
DESCRIPTION="Method to generate protein conformations around a known structure based on geometric restrictions"
HOMEPAGE="http://www.mpibpc.mpg.de/groups/de_groot/concoord/concoord.html"
SRC_URI="
amd64? ( http://www3.mpibpc.mpg.de/groups/de_groot/${PN}/${PN}_${PV}_linux64.tgz )
x86? ( http://www3.mpibpc.mpg.de/groups/de_groot/${PN}/${PN}_${PV}_linux32.tgz )"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="all-rights-reserved"
IUSE=""
QA_PREBUILT="opt/${PN}/bin/*"
S="${WORKDIR}"/${PN}_${PV}
src_install() {
insinto /opt/${PN}/
doins -r lib
exeinto /opt/${PN}/bin
doexe bin/*
cat >> "${T}"/60${PN} <<- EOF
CONCOORDLIB="${EPREFIX}/opt/${PN}/lib"
CONCOORDBIN="${EPREFIX}/opt/${PN}/bin"
PATH="${EPREFIX}/opt/${PN}/bin"
EOF
doenvd "${T}"/60${PN}
}
|