summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-10-27 10:53:09 +0100
committerJustin Lecher <jlec@gentoo.org>2015-10-27 12:11:11 +0100
commit81ca6704b6681e4d0fc343d546ef581e2d2dc53c (patch)
tree3089078d7980b0b5314a3eb35b1d120fab4fd1b2 /sci-chemistry/mustang/mustang-3.2.2.ebuild
parentsys-kernel/vanilla-sources: Automated version bump to {3.10.92,3.14.56,4.1.12... (diff)
downloadgentoo-81ca6704b6681e4d0fc343d546ef581e2d2dc53c.tar.gz
gentoo-81ca6704b6681e4d0fc343d546ef581e2d2dc53c.tar.bz2
gentoo-81ca6704b6681e4d0fc343d546ef581e2d2dc53c.zip
sci-chemistry/mustang: Version Bump
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-chemistry/mustang/mustang-3.2.2.ebuild')
-rw-r--r--sci-chemistry/mustang/mustang-3.2.2.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/sci-chemistry/mustang/mustang-3.2.2.ebuild b/sci-chemistry/mustang/mustang-3.2.2.ebuild
new file mode 100644
index 00000000000..fdc300fd2b0
--- /dev/null
+++ b/sci-chemistry/mustang/mustang-3.2.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+MY_PN="MUSTANG"
+SRC_P="${PN}_v${PV}"
+MY_P="${MY_PN}_v${PV}"
+
+DESCRIPTION="MUltiple STructural AligNment AlGorithm"
+HOMEPAGE="http://www.csse.monash.edu.au/~karun/Site/mustang.html"
+SRC_URI="http://www.csse.monash.edu.au/~karun/${PN}/${PN}_v${PV}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.2.1-gcc-4.7.patch
+ sed -e 's:3.2.1:3.2.2:g' -i Makefile || die
+}
+
+src_compile() {
+ emake \
+ CPP=$(tc-getCXX) \
+ CPPFLAGS="${CXXFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_test() {
+ ./bin/${P} -f ./data/test/test_zf-CCHH || die
+}
+
+src_install() {
+ newbin bin/${P} ${PN}
+ doman man/${PN}.1
+ dodoc README
+}
+
+pkg_postinst() {
+ elog "If you use this program for an academic paper, please cite:"
+ elog "Arun S. Konagurthu, James C. Whisstock, Peter J. Stuckey, and Arthur M. Lesk"
+ elog "Proteins: Structure, Function, and Bioinformatics. 64(3):559-574, Aug. 2006"
+}