From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-chemistry/azara: ChangeLog azara-2.8-r2.ebuild |
Date: | Sun, 31 Oct 2010 09:15:48 |
Message-Id: | 20101031091541.B124920054@flycatcher.gentoo.org |
1 | jlec 10/10/31 09:15:41 |
2 | |
3 | Modified: ChangeLog |
4 | Added: azara-2.8-r2.ebuild |
5 | Log: |
6 | More parallel fixes and impl dec QA |
7 | |
8 | (Portage version: 2.2.0_alpha2/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.6 sci-chemistry/azara/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/azara/ChangeLog?rev=1.6&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/azara/ChangeLog?rev=1.6&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/azara/ChangeLog?r1=1.5&r2=1.6 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/azara/ChangeLog,v |
20 | retrieving revision 1.5 |
21 | retrieving revision 1.6 |
22 | diff -u -r1.5 -r1.6 |
23 | --- ChangeLog 6 Aug 2010 10:50:04 -0000 1.5 |
24 | +++ ChangeLog 31 Oct 2010 09:15:41 -0000 1.6 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sci-chemistry/azara |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/azara/ChangeLog,v 1.5 2010/08/06 10:50:04 jlec Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/azara/ChangeLog,v 1.6 2010/10/31 09:15:41 jlec Exp $ |
30 | + |
31 | +*azara-2.8-r2 (31 Oct 2010) |
32 | + |
33 | + 31 Oct 2010; Justin Lecher <jlec@g.o> +files/2.8-impl-decng.patch, |
34 | + +azara-2.8-r2.ebuild, +files/2.8-prllng.patch: |
35 | + More parallel fixes and impl dec QA |
36 | |
37 | *azara-2.8-r1 (06 Aug 2010) |
38 | *azara-2.7-r1 (06 Aug 2010) |
39 | |
40 | |
41 | |
42 | 1.1 sci-chemistry/azara/azara-2.8-r2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/azara/azara-2.8-r2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/azara/azara-2.8-r2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: azara-2.8-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/azara/azara-2.8-r2.ebuild,v 1.1 2010/10/31 09:15:41 jlec Exp $ |
52 | |
53 | EAPI="3" |
54 | |
55 | PYTHON_DEPEND="2" |
56 | |
57 | inherit eutils python toolchain-funcs |
58 | |
59 | DESCRIPTION="A suite of programmes to process and view NMR data" |
60 | HOMEPAGE="http://www.bio.cam.ac.uk/azara/" |
61 | SRC_URI="http://www.bio.cam.ac.uk/ccpn/download/${PN}/${P}-src.tgz" |
62 | |
63 | LICENSE="AZARA" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~x86 ~amd64-linux" |
66 | IUSE="X xpm" |
67 | |
68 | RDEPEND=" |
69 | xpm? ( x11-libs/libXpm ) |
70 | X? ( x11-libs/libX11 )" |
71 | DEPEND="${RDEPEND}" |
72 | |
73 | pkg_setup() { |
74 | python_set_active_version 2 |
75 | } |
76 | |
77 | src_prepare() { |
78 | cat > ENVIRONMENT <<- EOF |
79 | CC=$(tc-getCC) |
80 | CFLAGS=${CFLAGS} |
81 | LFLAGS=${LDFLAGS} |
82 | MATH_LIB=-lm |
83 | X11_INCLUDE_DIR=-I${EPREFIX}/usr/X11R6/include |
84 | MOTIF_INCLUDE_DIR=-I${EPREFIX}/usr/include -I../global |
85 | X11_LIB_DIR=-L${EPREFIX}/usr/$(get_libdir) |
86 | MOTIF_LIB_DIR=-L${EPREFIX}/usr/$(get_libdir) |
87 | X11_LIB=-lX11 |
88 | MOTIF_LIB=-lXm -lXt |
89 | PYTHON_INCLUDE_DIR=$(python_get_includedir) |
90 | SHARED_FLAGS = -shared |
91 | ENDIAN_FLAG=-DLITTLE_ENDIAN_DATA |
92 | EOF |
93 | |
94 | use xpm && echo "XPMUSE=\"XPM_FLAG=-DUSE_XPM XPM_LIB=-lXpm\"" >> ENVIRONMENT |
95 | |
96 | epatch "${FILESDIR}"/${PV}-prllng.patch |
97 | epatch "${FILESDIR}"/${PV}-impl-decng.patch |
98 | } |
99 | |
100 | src_compile() { |
101 | local mymake |
102 | local makeflags |
103 | |
104 | mymake="${mymake} help nongui DataRows" |
105 | use X && mymake="${mymake} gui" |
106 | |
107 | emake -C global || die |
108 | emake ${mymake} || die |
109 | } |
110 | |
111 | src_install() { |
112 | rm bin/pythonAzara || die |
113 | if ! use X; then |
114 | rm bin/plot* || die |
115 | fi |
116 | |
117 | dodoc CHANGES* README* || die |
118 | dohtml -r html/* || die |
119 | |
120 | cd bin |
121 | for bin in *; do |
122 | newbin ${bin} ${PN}-${bin} || die "failed to install ${bin}" |
123 | done |
124 | } |
125 | |
126 | pkg_postinst() { |
127 | einfo "Due to collision we moved all binary to azara-*" |
128 | } |