Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/rasmol: ChangeLog rasmol-2.7.5-r1.ebuild rasmol-2.7.5.ebuild
Date: Wed, 31 Mar 2010 20:43:35
Message-Id: E1Nx4lA-0001Cg-9i@stork.gentoo.org
1 jlec 10/03/31 20:43:32
2
3 Modified: ChangeLog
4 Added: rasmol-2.7.5-r1.ebuild
5 Removed: rasmol-2.7.5.ebuild
6 Log:
7 Removed unneeded patch for ldflags, removed unneeded linking against libforms, #312369
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.16 sci-chemistry/rasmol/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/rasmol/ChangeLog?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/rasmol/ChangeLog?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/rasmol/ChangeLog?r1=1.15&r2=1.16
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/ChangeLog,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- ChangeLog 7 Mar 2010 12:32:53 -0000 1.15
24 +++ ChangeLog 31 Mar 2010 20:43:32 -0000 1.16
25 @@ -1,6 +1,15 @@
26 # ChangeLog for sci-chemistry/rasmol
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/ChangeLog,v 1.15 2010/03/07 12:32:53 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/ChangeLog,v 1.16 2010/03/31 20:43:32 jlec Exp $
30 +
31 +*rasmol-2.7.5-r1 (31 Mar 2010)
32 +
33 + 31 Mar 2010; Justin Lecher <jlec@g.o>
34 + files/2.7.5-bundled-lib.patch, -rasmol-2.7.5.ebuild,
35 + +rasmol-2.7.5-r1.ebuild:
36 + Removed unneeded patch for ldflags, removed unneeded linking against
37 + libforms, #312369
38 +
39
40 07 Mar 2010; Justin Lecher (jlec) <jlec@g.o>
41 files/2.7.5-bundled-lib.patch, rasmol-2.7.5.ebuild:
42
43
44
45 1.1 sci-chemistry/rasmol/rasmol-2.7.5-r1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.5-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.5-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: rasmol-2.7.5-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2010 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.5-r1.ebuild,v 1.1 2010/03/31 20:43:32 jlec Exp $
55
56 EAPI="3"
57
58 inherit eutils toolchain-funcs prefix
59
60 MY_P="RasMol_${PV}"
61 VERS="23Jul09"
62
63 DESCRIPTION="Molecular Graphics Visualisation Tool"
64 HOMEPAGE="http://www.openrasmol.org/"
65 SRC_URI="http://www.rasmol.org/software/${MY_P}.tar.gz"
66
67 LICENSE="|| ( GPL-2 RASLIC )"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
70 IUSE=""
71
72 RDEPEND="
73 x11-libs/cairo
74 x11-libs/gtk+:2
75 x11-libs/libXext
76 x11-libs/libXi
77 x11-libs/vte
78 dev-libs/cvector
79 sci-libs/cbflib
80 sci-libs/cqrlib
81 sci-libs/neartree"
82 DEPEND="${RDEPEND}
83 x11-proto/inputproto
84 x11-proto/xextproto
85 app-text/rman
86 x11-misc/imake"
87
88 S="${WORKDIR}/${P}-${VERS}"
89
90 src_prepare() {
91 cd src
92
93 if use amd64 || use amd64-linux; then
94 mv rasmol.h rasmol_amd64_save.h && \
95 echo "#define _LONGLONG"|cat - rasmol_amd64_save.h > rasmol.h
96 fi
97
98 mv Imakefile_base Imakefile
99 epatch "${FILESDIR}"/${PV}-bundled-lib.patch
100
101 eprefixify Imakefile
102
103 xmkmf -DGTKWIN ${myconf}|| die "xmkmf failed with ${myconf}"
104 }
105
106 src_compile() {
107 cd src
108 make clean
109 emake \
110 DEPTHDEF=-DTHIRTYTWOBIT \
111 CC="$(tc-getCC)" \
112 CDEBUGFLAGS="${CFLAGS}" \
113 EXTRA_LDOPTIONS="${LDFLAGS}" \
114 || die "make failed"
115 }
116
117 src_install () {
118 libdir=$(get_libdir)
119 insinto /usr/${libdir}/${PN}
120 doins doc/rasmol.hlp || die
121 dobin src/rasmol || die
122 dodoc PROJECTS {README,TODO}.txt doc/*.{ps,pdf}.gz doc/rasmol.txt.gz || die
123 doman doc/rasmol.1 || die
124 insinto /usr/${libdir}/${PN}/databases
125 doins data/* || die
126
127 dohtml -r *html doc/*.html html_graphics || die
128 }