blob: 3cc52e09817a60a763c380fff8d38a8584f668ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/mustang/mustang-3.ebuild,v 1.4 2008/12/19 20:22:42 loki_val Exp $
inherit base toolchain-funcs
MY_PN="MUSTANG"
SRC_P="${PN}_v.${PV}"
MY_P="${MY_PN}_v.${PV}"
DESCRIPTION="MUltiple STructural AligNment AlGorithm."
HOMEPAGE="http://www.cs.mu.oz.au/~arun/mustang/"
SRC_URI="${HOMEPAGE}${SRC_P}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="x86 ~amd64"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
PATCHES=( "${FILESDIR}/${P}-gcc43.patch" )
src_compile() {
emake \
CPP=$(tc-getCXX) \
CPPFLAGS="${CXXFLAGS}" \
LDFLAGS="${LDFLAGS}" \
|| die "emake failed"
}
src_test() {
./bin/MUSTANG_v.${PV} -f ./data/test/test_zf-CCHH
}
src_install() {
newbin bin/MUSTANG_v.3 mustang
mv mustang mustang.1
}
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"
}
|