1 |
jlec 10/10/03 10:49:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tinker-5.1.09.ebuild |
5 |
Removed: tinker-5.1.08.ebuild |
6 |
Log: |
7 |
Version bump, fixes 335197 & 337074 |
8 |
|
9 |
(Portage version: 2.2_rc88/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.25 sci-chemistry/tinker/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/tinker/ChangeLog?rev=1.25&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/tinker/ChangeLog?rev=1.25&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/tinker/ChangeLog?r1=1.24&r2=1.25 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/ChangeLog,v |
21 |
retrieving revision 1.24 |
22 |
retrieving revision 1.25 |
23 |
diff -u -r1.24 -r1.25 |
24 |
--- ChangeLog 3 Oct 2010 08:31:34 -0000 1.24 |
25 |
+++ ChangeLog 3 Oct 2010 10:49:15 -0000 1.25 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sci-chemistry/tinker |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/ChangeLog,v 1.24 2010/10/03 08:31:34 jlec Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/ChangeLog,v 1.25 2010/10/03 10:49:15 jlec Exp $ |
31 |
+ |
32 |
+*tinker-5.1.09 (03 Oct 2010) |
33 |
+ |
34 |
+ 03 Oct 2010; Justin Lecher <jlec@g.o> +files/5.1.09-Makefile.patch, |
35 |
+ -tinker-5.1.08.ebuild, +tinker-5.1.09.ebuild: |
36 |
+ Version bump, fixes 335197 & 337074 |
37 |
|
38 |
03 Oct 2010; Justin Lecher <jlec@g.o> tinker-5.1.08.ebuild, |
39 |
tinker-6.0.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-chemistry/tinker/tinker-5.1.09.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/tinker/tinker-5.1.09.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/tinker/tinker-5.1.09.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: tinker-5.1.09.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tinker/tinker-5.1.09.ebuild,v 1.1 2010/10/03 10:49:16 jlec Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
FORTRAN="gfortran ifc" |
56 |
|
57 |
inherit eutils fortran java-pkg-opt-2 toolchain-funcs |
58 |
|
59 |
DESCRIPTION="Molecular modeling package that includes force fields, such as AMBER and CHARMM" |
60 |
HOMEPAGE="http://dasher.wustl.edu/tinker/" |
61 |
SRC_URI="http://dasher.wustl.edu/${PN}/downloads/${P}.tar.gz" |
62 |
|
63 |
SLOT="0" |
64 |
LICENSE="Tinker" |
65 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
66 |
IUSE="examples" |
67 |
|
68 |
DEPEND=">=virtual/jdk-1.6" |
69 |
RDEPEND=" |
70 |
dev-libs/maloc |
71 |
!dev-util/diffuse |
72 |
>=sci-chemistry/apbs-1.2.1b-r4[tinker] |
73 |
>=virtual/jre-1.6" |
74 |
RESTRICT="mirror" |
75 |
|
76 |
S="${WORKDIR}"/tinker/source |
77 |
|
78 |
pkg_setup() { |
79 |
fortran_pkg_setup |
80 |
java-pkg-opt-2_pkg_setup |
81 |
} |
82 |
|
83 |
src_prepare() { |
84 |
cd .. |
85 |
epatch "${FILESDIR}"/${PV}-Makefile.patch |
86 |
} |
87 |
|
88 |
src_compile() { |
89 |
local javalib= |
90 |
for i in $(java-config -g LDPATH | sed 's|:| |g'); do |
91 |
[[ -f ${i}/libjvm.so ]] && javalib=${i} |
92 |
done |
93 |
emake -e \ |
94 |
-f ../make/Makefile \ |
95 |
F77="${FORTRANC}" \ |
96 |
CC="$(tc-getCC) -c" \ |
97 |
F77FLAGS=-c \ |
98 |
OPTFLAGS="${FFLAGS}" \ |
99 |
LINKFLAGS="${LDFLAGS} -Wl,-rpath ${javalib}" \ |
100 |
INCLUDEDIR="$(java-pkg_get-jni-cflags) -I${EPREFIX}/usr/include" \ |
101 |
LIBS="$(pkg-config --libs apbs) -lmaloc -L${javalib} -ljvm" \ |
102 |
all || die |
103 |
mkdir "${S}"/../bin || die |
104 |
|
105 |
emake \ |
106 |
-f ../make/Makefile \ |
107 |
BINDIR="${S}"/../bin \ |
108 |
rename || die |
109 |
} |
110 |
|
111 |
src_test() { |
112 |
cd "${WORKDIR}"/tinker/test/ |
113 |
for test in *.run; do |
114 |
einfo "Testing ${test} ..." |
115 |
bash ${test} || die |
116 |
done |
117 |
} |
118 |
|
119 |
src_install() { |
120 |
dobin "${WORKDIR}"/${PN}/perl/mdavg "${WORKDIR}"/${PN}/bin/* || die |
121 |
|
122 |
insinto /usr/share/${PN}/ |
123 |
doins -r "${WORKDIR}"/${PN}/params || die |
124 |
|
125 |
dodoc \ |
126 |
"${WORKDIR}"/${PN}/doc/{*.txt,announce/release-*,*.pdf,0README} || die |
127 |
|
128 |
if use examples; then |
129 |
insinto /usr/share/${P} |
130 |
doins -r "${WORKDIR}"/${PN}/example || die |
131 |
|
132 |
doins -r "${WORKDIR}"/${PN}/test || die |
133 |
fi |
134 |
|
135 |
} |