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/prekin: ChangeLog prekin-6.51.081122.ebuild prekin-6.51.081122-r1.ebuild
Date: Sun, 03 Oct 2010 08:28:39
Message-Id: 20101003082836.CFEF720051@flycatcher.gentoo.org
1 jlec 10/10/03 08:28:36
2
3 Modified: ChangeLog prekin-6.51.081122.ebuild
4 Added: prekin-6.51.081122-r1.ebuild
5 Log:
6 Fixes for overflows, 337779
7
8 (Portage version: 2.2_rc88/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.2 sci-chemistry/prekin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prekin/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prekin/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prekin/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/prekin/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- ChangeLog 18 Jul 2010 08:57:09 -0000 1.1
24 +++ ChangeLog 3 Oct 2010 08:28:36 -0000 1.2
25 @@ -1,6 +1,13 @@
26 # ChangeLog for sci-chemistry/prekin
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/prekin/ChangeLog,v 1.1 2010/07/18 08:57:09 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/prekin/ChangeLog,v 1.2 2010/10/03 08:28:36 jlec Exp $
30 +
31 +*prekin-6.51.081122-r1 (03 Oct 2010)
32 +
33 + 03 Oct 2010; Justin Lecher <jlec@g.o>
34 + +files/6.51.081122-overflow.patch, prekin-6.51.081122.ebuild,
35 + +prekin-6.51.081122-r1.ebuild:
36 + Fixes for overflows, 337779
37
38 *prekin-6.51.081122 (18 Jul 2010)
39
40
41
42
43 1.2 sci-chemistry/prekin/prekin-6.51.081122.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prekin/prekin-6.51.081122.ebuild?rev=1.2&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prekin/prekin-6.51.081122.ebuild?rev=1.2&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prekin/prekin-6.51.081122.ebuild?r1=1.1&r2=1.2
48
49 Index: prekin-6.51.081122.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/prekin/prekin-6.51.081122.ebuild,v
52 retrieving revision 1.1
53 retrieving revision 1.2
54 diff -u -r1.1 -r1.2
55 --- prekin-6.51.081122.ebuild 18 Jul 2010 08:57:09 -0000 1.1
56 +++ prekin-6.51.081122.ebuild 3 Oct 2010 08:28:36 -0000 1.2
57 @@ -1,6 +1,6 @@
58 # Copyright 1999-2010 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/prekin/prekin-6.51.081122.ebuild,v 1.1 2010/07/18 08:57:09 jlec Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/prekin/prekin-6.51.081122.ebuild,v 1.2 2010/10/03 08:28:36 jlec Exp $
62
63 EAPI="2"
64
65 @@ -26,7 +26,9 @@
66 S="${WORKDIR}/${MY_P}"
67
68 src_prepare() {
69 - epatch "${FILESDIR}"/${PV}-Makefile.patch
70 + epatch \
71 + "${FILESDIR}"/${PV}-Makefile.patch \
72 + "${FILESDIR}"/${PV}-overflow.patch
73 sed \
74 -e 's:cc:$(CC):g' \
75 -e "s:GENTOOLIBDIR:$(get_libdir):g" \
76
77
78
79 1.1 sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild?rev=1.1&content-type=text/plain
83
84 Index: prekin-6.51.081122-r1.ebuild
85 ===================================================================
86 # Copyright 1999-2010 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/prekin/prekin-6.51.081122-r1.ebuild,v 1.1 2010/10/03 08:28:36 jlec Exp $
89
90 EAPI="2"
91
92 inherit toolchain-funcs eutils multilib
93
94 MY_P="${PN}.${PV}"
95
96 DESCRIPTION="Prepares molecular kinemages (input files for Mage & KiNG) from PDB-format coordinate files"
97 HOMEPAGE="http://kinemage.biochem.duke.edu/software/prekin.php"
98 SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/prekin/${MY_P}.src.tgz"
99
100 LICENSE="richardson"
101 SLOT="0"
102 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
103 IUSE="X"
104
105 RDEPEND="
106 x11-libs/libX11
107 x11-libs/libXt
108 X? ( x11-libs/openmotif )"
109 DEPEND="${RDEPEND}"
110
111 S="${WORKDIR}/${MY_P}"
112
113 src_prepare() {
114 epatch \
115 "${FILESDIR}"/${PV}-Makefile.patch \
116 "${FILESDIR}"/${PV}-overflow.patch
117 sed \
118 -e 's:cc:$(CC):g' \
119 -e "s:GENTOOLIBDIR:$(get_libdir):g" \
120 "${S}"/Makefile.linux > Makefile
121 }
122
123 src_compile() {
124 local mytarget
125
126 if use X; then
127 mytarget="${PN}"
128 else
129 mytarget="nogui"
130 fi
131
132 emake \
133 CC="$(tc-getCC)" \
134 ${mytarget} || die "make failed"
135 }
136
137 src_install() {
138 dobin "${S}"/prekin || die "dobin failed"
139 }