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.
gentoo-overlay/sci-biology/stride/stride-20011129-r1.ebuild

36 lines
986 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/stride/stride-20011129-r1.ebuild,v 1.5 2012/05/08 03:58:13 ottxor Exp $
EAPI=4
inherit eutils 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
mirror://gentoo/${PN}-20060723-update.patch.bz2"
SLOT="0"
LICENSE="as-is"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
S="${WORKDIR}"
src_prepare() {
# 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
# fix makefile
sed -e "/^CC/s|gcc -g|$(tc-getCC) ${CFLAGS}|" -i Makefile || \
die "Failed to fix Makefile"
}
src_install() {
dobin ${PN}
}