1 |
jlec 10/07/06 11:18:46 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: oasis-4.0-r2.ebuild |
5 |
Removed: oasis-4.0.ebuild oasis-4.0-r1.ebuild |
6 |
Log: |
7 |
Use FFLAGS instead of CFLAGS for compilation, Xarthisius on irc |
8 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.7 sci-chemistry/oasis/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/oasis/ChangeLog?rev=1.7&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/oasis/ChangeLog?rev=1.7&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/oasis/ChangeLog?r1=1.6&r2=1.7 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/oasis/ChangeLog,v |
20 |
retrieving revision 1.6 |
21 |
retrieving revision 1.7 |
22 |
diff -u -r1.6 -r1.7 |
23 |
--- ChangeLog 15 Jun 2010 14:31:32 -0000 1.6 |
24 |
+++ ChangeLog 6 Jul 2010 11:18:46 -0000 1.7 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sci-chemistry/oasis |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/oasis/ChangeLog,v 1.6 2010/06/15 14:31:32 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/oasis/ChangeLog,v 1.7 2010/07/06 11:18:46 jlec Exp $ |
30 |
+ |
31 |
+*oasis-4.0-r2 (06 Jul 2010) |
32 |
+ |
33 |
+ 06 Jul 2010; Justin Lecher <jlec@g.o> -oasis-4.0.ebuild, |
34 |
+ -oasis-4.0-r1.ebuild, +oasis-4.0-r2.ebuild: |
35 |
+ Use FFLAGS instead of CFLAGS for compilation, Xarthisius on irc |
36 |
|
37 |
15 Jun 2010; Justin Lecher <jlec@g.o> oasis-4.0-r1.ebuild: |
38 |
Installing html at correct place |
39 |
|
40 |
|
41 |
|
42 |
1.1 sci-chemistry/oasis/oasis-4.0-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/oasis/oasis-4.0-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/oasis/oasis-4.0-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: oasis-4.0-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/oasis/oasis-4.0-r2.ebuild,v 1.1 2010/07/06 11:18:46 jlec Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
|
55 |
inherit eutils fortran multilib |
56 |
|
57 |
FORTRANC="ifc gfortran" |
58 |
MY_P="${PN}${PV}_Linux" |
59 |
|
60 |
DESCRIPTION="A direct-method program for SAD/SIR phasing" |
61 |
HOMEPAGE="http://cryst.iphy.ac.cn/Project/protein/protein-I.html" |
62 |
SRC_URI="http://dev.gentooexperimental.org/~jlec/distfiles/${MY_P}.zip" |
63 |
|
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
66 |
LICENSE="ccp4 oasis" |
67 |
IUSE="examples +minimal" |
68 |
|
69 |
RDEPEND=" |
70 |
${RDEPEND} |
71 |
sci-chemistry/ccp4-apps |
72 |
sci-chemistry/pymol |
73 |
sci-libs/mmdb |
74 |
sci-visualization/gnuplot |
75 |
!minimal? ( |
76 |
sci-chemistry/solve-resolve-bin |
77 |
sci-chemistry/arp-warp-bin |
78 |
)" |
79 |
DEPEND="sci-libs/ccp4-libs" |
80 |
|
81 |
S="${WORKDIR}"/${MY_P} |
82 |
|
83 |
src_prepare() { |
84 |
rm bin/{fnp2fp,gnuplot,oasis4-0,seq} || die |
85 |
epatch "${FILESDIR}"/${PV}-makefile.patch |
86 |
} |
87 |
|
88 |
src_compile() { |
89 |
emake \ |
90 |
-C src \ |
91 |
F77="${FORTRANC}" \ |
92 |
CFLAGS="${FFLAGS}" \ |
93 |
CCP4_LIB="${EPREFIX}/usr/$(get_libdir)" \ |
94 |
Linux || die |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
exeinto /usr/libexec/ccp4/bin/ |
99 |
doexe src/{${PN},fnp2fp} || die |
100 |
dosym ../libexec/ccp4/bin/${PN} /usr/bin/${PN} |
101 |
dosym ../libexec/ccp4/bin/fnp2fp /usr/bin/fnp2fp |
102 |
|
103 |
exeinto /usr/$(get_libdir)/${PN} |
104 |
doexe bin/*.*sh || die |
105 |
|
106 |
dohtml bin/html/* || die |
107 |
dosym ../share/doc/${PF}/html /usr/$(get_libdir)/${PN}/html |
108 |
chmod 755 "${ED}"/usr/$(get_libdir)/${PN}/html/*.{csh,awk} || die |
109 |
|
110 |
if use examples; then |
111 |
insinto /usr/share/${PN} |
112 |
doins -r examples || die |
113 |
fi |
114 |
|
115 |
cat >> "${T}"/25oasis <<- EOF |
116 |
oasisbin="${EPREFIX}/usr/$(get_libdir)/${PN}" |
117 |
EOF |
118 |
|
119 |
doenvd "${T}"/25oasis |
120 |
} |