You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
715 B
39 lines
715 B
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit vcs-clean
|
|
|
|
MY_PN="${PN%-db}"
|
|
MY_P="${MY_PN}${PV}_database"
|
|
|
|
DESCRIPTION="Essential database for rosetta"
|
|
HOMEPAGE="http://www.rosettacommons.org"
|
|
SRC_URI="${MY_P}.tgz"
|
|
|
|
LICENSE="rosetta"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RESTRICT="fetch binchecks strip"
|
|
|
|
S="${WORKDIR}"/${MY_PN}_database
|
|
|
|
pkg_nofetch() {
|
|
einfo "Go to ${HOMEPAGE} and get ${A}"
|
|
einfo "which must be placed into your DISTDIR directory."
|
|
}
|
|
|
|
src_install() {
|
|
esvn_clean
|
|
insinto /usr/share/${PN}
|
|
doins -r *
|
|
|
|
cat >> "${T}"/41rosetta-db <<- EOF
|
|
ROSETTA3_DB="${EPREFIX}/usr/share/${PN}"
|
|
EOF
|
|
doenvd "${T}"/41rosetta-db
|
|
}
|