1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils toolchain-funcs
9 DESCRIPTION="Protein secondary structure assignment from atomic coordinates"
10 HOMEPAGE="http://webclu.bio.wzw.tum.de/stride/"
12 ftp://ftp.ebi.ac.uk/pub/software/unix/${PN}/src/${PN}.tar.gz
13 https://dev.gentoo.org/~jlec/distfiles/${PN}-20060723-update.patch.bz2"
17 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x86-macos"
22 RESTRICT="mirror bindist"
25 # this patch updates the source to the most recent
26 # version which was kindly provided by the author
28 "${DISTDIR}/${PN}-20060723-update.patch.bz2" \
29 "${FILESDIR}"/${PN}-LDFLAGS.patch
32 sed -e "/^CC/s|gcc -g|$(tc-getCC) ${CFLAGS}|" -i Makefile || \
33 die "Failed to fix Makefile"