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/xds-bin: ChangeLog xds-bin-20091228.ebuild xds-bin-20080602.ebuild
Date: Sun, 31 Jan 2010 23:13:32
Message-Id: E1Nbiyu-0006L0-Nb@stork.gentoo.org
1 jlec 10/01/31 23:13:28
2
3 Modified: ChangeLog
4 Added: xds-bin-20091228.ebuild
5 Removed: xds-bin-20080602.ebuild
6 Log:
7 Version bump, fixing bug 247788
8 Adding new Viewer as RDEPEND
9 (Portage version: 2.2_rc62/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.3 sci-chemistry/xds-bin/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/xds-bin/ChangeLog?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/xds-bin/ChangeLog?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/xds-bin/ChangeLog?r1=1.2&r2=1.3
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/xds-bin/ChangeLog,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- ChangeLog 17 Oct 2008 18:54:41 -0000 1.2
25 +++ ChangeLog 31 Jan 2010 23:13:28 -0000 1.3
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sci-chemistry/xds-bin
28 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/xds-bin/ChangeLog,v 1.2 2008/10/17 18:54:41 maekke Exp $
30 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/xds-bin/ChangeLog,v 1.3 2010/01/31 23:13:28 jlec Exp $
32 +
33 +*xds-bin-20091228 (31 Jan 2010)
34 +
35 + 31 Jan 2010; Justin Lecher (jlec) <jlec@g.o>
36 + -xds-bin-20080602.ebuild, +xds-bin-20091228.ebuild:
37 + Version bump, fixing bug 247788
38 + Adding new Viewer as RDEPEND
39
40 17 Oct 2008; Markus Meier <maekke@g.o> metadata.xml:
41 smp USE-flag is global now
42
43
44
45 1.1 sci-chemistry/xds-bin/xds-bin-20091228.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/xds-bin/xds-bin-20091228.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/xds-bin/xds-bin-20091228.ebuild?rev=1.1&content-type=text/plain
49
50 Index: xds-bin-20091228.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/xds-bin/xds-bin-20091228.ebuild,v 1.1 2010/01/31 23:13:28 jlec Exp $
55
56 EAPI="2"
57
58 inherit eutils
59
60 DESCRIPTION="X-ray Detector Software for processing single-crystal monochromatic diffraction data."
61 HOMEPAGE="http://xds.mpimf-heidelberg.mpg.de/"
62 SRC_URI="
63 x86? ( ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-IA32_Linux_x86.tar.gz -> XDS-IA32_Linux_x86-${PV}.tar.gz )
64 amd64? ( ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-INTEL64_Linux_x86_64.tar.gz -> XDS-INTEL64_Linux_x86_64-${PV}.tar.gz )
65 ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS_html_doc.tar.gz -> XDS_html_doc-${PV}.tar.gz"
66
67 LICENSE="free-noncomm"
68 SLOT="0"
69 KEYWORDS="-* ~amd64 ~x86"
70 IUSE="smp X"
71
72 RDEPEND="X? ( sci-visualization/xds-viewer )"
73 DEPEND=""
74
75 pkg_setup() {
76 if use x86; then
77 MY_P="XDS-IA32_Linux_x86"
78 elif use amd64; then
79 MY_P="XDS-INTEL64_Linux_x86_64"
80 fi
81
82 S="${WORKDIR}"/${MY_P}
83 }
84
85 src_install() {
86 exeinto /opt/${PN}
87 doexe * || die
88 if use smp; then
89 rm "${D}"/opt/${PN}/{xds,mintegrate,mcolspot,xscale}
90 dosym xds_par /opt/${PN}/xds || die
91 dosym xscale_par /opt/${PN}/xscale || die
92 dosym mintegrate_par /opt/${PN}/mintegrate || die
93 dosym mcolspot_par /opt/${PN}/mcolspot || die
94 else
95 rm "${D}"/opt/${PN}/*par
96 fi
97 dohtml -r "${WORKDIR}"/XDS_html_doc/* || die
98 insinto /usr/share/${PN}/INPUT_templates
99 doins "${WORKDIR}"/XDS_html_doc/html_doc/INPUT_templates/* || die
100
101 cat >> "${T}"/20xds <<- EOF
102 PATH="/opt/${PN}/"
103 EOF
104 doenvd "${T}"/20xds || die
105 }
106
107 pkg_postinst() {
108 elog "This package will expire on December 31, 2010"
109 }