summaryrefslogtreecommitdiff
path: root/sci-biology/stride/stride-20011129-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
commitfc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch)
tree326613a08f25851c388715e205576a2e7d25dc4f /sci-biology/stride/stride-20011129-r1.ebuild
parentb24bd25253fe093f722ab576d29fdc41d04cb1ee (diff)
gentoo resync : 18.08.2019
Diffstat (limited to 'sci-biology/stride/stride-20011129-r1.ebuild')
-rw-r--r--sci-biology/stride/stride-20011129-r1.ebuild28
1 files changed, 12 insertions, 16 deletions
diff --git a/sci-biology/stride/stride-20011129-r1.ebuild b/sci-biology/stride/stride-20011129-r1.ebuild
index c76883b861e1..678887de925e 100644
--- a/sci-biology/stride/stride-20011129-r1.ebuild
+++ b/sci-biology/stride/stride-20011129-r1.ebuild
@@ -1,35 +1,31 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="Protein secondary structure assignment from atomic coordinates"
HOMEPAGE="http://webclu.bio.wzw.tum.de/stride/"
SRC_URI="
- ftp://ftp.ebi.ac.uk/pub/software/unix/${PN}/src/${PN}.tar.gz
+ ftp://ftp.ebi.ac.uk/pub/software/unix/${PN}/src/${PN}.tar.gz -> ${P}.tar.gz
https://dev.gentoo.org/~jlec/distfiles/${PN}-20060723-update.patch.bz2"
-SLOT="0"
LICENSE="STRIDE"
+SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
-IUSE=""
-
-S="${WORKDIR}"
-
RESTRICT="mirror bindist"
-src_prepare() {
+S="${WORKDIR}"
+PATCHES=(
# this patch updates the source to the most recent
# version which was kindly provided by the author
- epatch \
- "${DISTDIR}/${PN}-20060723-update.patch.bz2" \
- "${FILESDIR}"/${PN}-LDFLAGS.patch
+ "${S}"/${PN}-20060723-update.patch
+ "${FILESDIR}"/${PN}-20011129-fix-buildsystem.patch
+)
- # fix makefile
- sed -e "/^CC/s|gcc -g|$(tc-getCC) ${CFLAGS}|" -i Makefile || \
- die "Failed to fix Makefile"
+src_configure() {
+ tc-export CC
}
src_install() {