From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-chemistry/mustang/mustang-3.2.2.ebuild | 49 ++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 sci-chemistry/mustang/mustang-3.2.2.ebuild (limited to 'sci-chemistry/mustang/mustang-3.2.2.ebuild') 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 000000000000..9bbd00dc51c9 --- /dev/null +++ b/sci-chemistry/mustang/mustang-3.2.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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" +} -- cgit v1.2.3