mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-chemistry/theseus: drop old EAPI=5
Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST theseus_2.0.6.tar.gz 1257560 BLAKE2B 80115f5ace6fe306b10254f9a7b889e5bc61afbd3cff4941953b9a82750ce1b36ac5724a94fd7e7892622684d7e5bf6ae9ed7c96d76364329d756114efbe1dd0 SHA512 70604c468eb841b92e77a3e91cd57120b96c171512fb1cc31a407b7c4816150dfa31ec123fb9568a842e623f3252c60df0dc53d40fa2a4aece6e3c77039f4696
|
||||
DIST theseus_3.0.0.tar.gz 1213574 BLAKE2B 17021c7d36b3ac3d8e7f84bbe2614523d461a3877bca4b20b6891b67de02b0d02376e695f0db813e8f598f7dee32076548444defc30b016588b70be14cf3f308 SHA512 251e6273624126406609691e1205d9693c18dcbc8c81e10c77101ac4a1b6bdffcb56a47fd5fdc7ed6ed4fa107c2ed26b03a1780f951f9cc69a25c0722996e7b2
|
||||
DIST theseus_3.3.0.tar.gz 22548124 BLAKE2B 0ad49f768e1584bf40e90ff6fd0d884b6b27ee59ad31ce75050293b817a3747969ab0c4b4ff982aadbdc5301c1c56522540b78aab045e841c099a80dd546c8e9 SHA512 1fba3e8019a40214defdae13d4721d170ee698337d8efd4e872af22f8ab3cb1fdd52fa9f19a858ee51bc98150692af0c6016033feb0d76f29acaf7fffbb430e2
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Maximum likelihood superpositioning and analysis of macromolecular structures"
|
||||
HOMEPAGE="http://www.theseus3d.org/"
|
||||
SRC_URI="http://www.theseus3d.org/src/${PN}_${PV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="
|
||||
sci-libs/gsl
|
||||
|| (
|
||||
sci-biology/muscle
|
||||
sci-biology/probcons
|
||||
sci-biology/mafft
|
||||
sci-biology/t-coffee
|
||||
sci-biology/kalign
|
||||
sci-biology/clustalw:2
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/${PN}_src/
|
||||
|
||||
src_prepare() {
|
||||
cat >> make.inc <<- EOF
|
||||
ARCH = $(tc-getAR)
|
||||
ARCHFLAGS = -rvs
|
||||
RANLIB = $(tc-getRANLIB)
|
||||
LOCALLIBDIR = "${EPREFIX}/usr/$(get_libdir)
|
||||
SYSLIBS = $(pkg-config --libs gsl) -lpthread
|
||||
LIBS = -ldistfit -lmsa -ldssplite -ldltmath -lDLTutils -ltheseus
|
||||
LIBDIR = -L./lib
|
||||
INSTALLDIR = "${ED}"/usr/bin
|
||||
OPT =
|
||||
WARN =
|
||||
CFLAGS = ${CFLAGS} \$(WARN)
|
||||
CC = $(tc-getCC)
|
||||
EOF
|
||||
|
||||
sed \
|
||||
-e 's|theseus:|theseus: libs|g' \
|
||||
-e '/-o theseus/s:$(CC):$(CC) ${LDFLAGS}:g' \
|
||||
-i Makefile || die
|
||||
|
||||
sed \
|
||||
-e 's:/usr/bin/sed:sed:g' \
|
||||
-e "s:/usr/local/bin/:/usr/bin/:g" \
|
||||
-e "s:/usr/bin/:${EPREFIX}/usr/bin/:g" \
|
||||
-i theseus_align || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin theseus theseus_align
|
||||
dodoc theseus_man.pdf README AUTHORS
|
||||
use examples && insinto /usr/share/${PN} && doins -r examples
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Maximum likelihood superpositioning and analysis of macromolecular structures"
|
||||
HOMEPAGE="http://www.theseus3d.org/"
|
||||
SRC_URI="http://www.theseus3d.org/src/${PN}_${PV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="
|
||||
sci-libs/gsl
|
||||
|| (
|
||||
sci-biology/muscle
|
||||
sci-biology/probcons
|
||||
sci-biology/mafft
|
||||
sci-biology/t-coffee
|
||||
sci-biology/kalign
|
||||
sci-biology/clustalw:2
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}"/${PN}_src/
|
||||
|
||||
src_prepare() {
|
||||
cat >> make.inc <<- EOF
|
||||
ARCH = $(tc-getAR)
|
||||
ARCHFLAGS = -rvs
|
||||
RANLIB = $(tc-getRANLIB)
|
||||
LOCALLIBDIR = "${EPREFIX}/usr/$(get_libdir)
|
||||
SYSLIBS = $(pkg-config --libs gsl) -lpthread
|
||||
LIBS = -ldistfit -lmsa -ldssplite -ldltmath -lDLTutils -ltheseus
|
||||
LIBDIR = -L./lib
|
||||
INSTALLDIR = "${ED}"/usr/bin
|
||||
OPT =
|
||||
WARN =
|
||||
CFLAGS = ${CFLAGS} -std=c11 \$(WARN)
|
||||
CC = $(tc-getCC)
|
||||
EOF
|
||||
|
||||
sed \
|
||||
-e 's|theseus:|theseus: libs|g' \
|
||||
-e '/-o theseus/s:$(CC):$(CC) ${LDFLAGS}:g' \
|
||||
-i Makefile || die
|
||||
|
||||
sed \
|
||||
-e 's:/usr/bin/sed:sed:g' \
|
||||
-e "s:/usr/local/bin/:/usr/bin/:g" \
|
||||
-e "s:/usr/bin/:${EPREFIX}/usr/bin/:g" \
|
||||
-i theseus_align || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake ltheseus
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin theseus theseus_align
|
||||
dodoc theseus_man.pdf README AUTHORS
|
||||
use examples && insinto /usr/share/${PN} && doins -r examples
|
||||
}
|
||||
Reference in New Issue
Block a user