blob: 2926f76c8be4f3f277249310ce1ccd68723b49dd (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Protein conformations around a known structure based on geometric restrictions"
HOMEPAGE="https://www.mpibpc.mpg.de/groups/de_groot/concoord/concoord.html"
SRC_URI="
amd64? ( https://www3.mpibpc.mpg.de/groups/de_groot/concoord/concoord2.1_linux_x86_64.tgz )
x86? ( https://www3.mpibpc.mpg.de/groups/de_groot/concoord/concoord2.1_linux_i386.tgz )"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="all-rights-reserved"
QA_PREBUILT="opt/${PN}/bin/*"
S="${WORKDIR}"/${PN}${PV}
src_install() {
insinto /opt/${PN}/
rm lib/*.a || die
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}
}
|