1 |
bicatali 14/05/06 15:55:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wcslib-4.22.ebuild |
5 |
Removed: wcslib-4.19.ebuild wcslib-4.20.ebuild |
6 |
Log: |
7 |
Version bump |
8 |
|
9 |
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
10 |
|
11 |
Revision Changes Path |
12 |
1.40 sci-astronomy/wcslib/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.40&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?rev=1.40&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/ChangeLog?r1=1.39&r2=1.40 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v |
21 |
retrieving revision 1.39 |
22 |
retrieving revision 1.40 |
23 |
diff -u -r1.39 -r1.40 |
24 |
--- ChangeLog 3 Apr 2014 16:38:50 -0000 1.39 |
25 |
+++ ChangeLog 6 May 2014 15:55:36 -0000 1.40 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sci-astronomy/wcslib |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.39 2014/04/03 16:38:50 bicatali Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/ChangeLog,v 1.40 2014/05/06 15:55:36 bicatali Exp $ |
31 |
+ |
32 |
+*wcslib-4.22 (06 May 2014) |
33 |
+ |
34 |
+ 06 May 2014; Sébastien Fabbro <bicatali@g.o> +wcslib-4.22.ebuild, |
35 |
+ -wcslib-4.19.ebuild, -wcslib-4.20.ebuild: |
36 |
+ Version bump |
37 |
|
38 |
*wcslib-4.21 (03 Apr 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-astronomy/wcslib/wcslib-4.22.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/wcslib-4.22.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/wcslib/wcslib-4.22.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: wcslib-4.22.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcslib/wcslib-4.22.ebuild,v 1.1 2014/05/06 15:55:36 bicatali Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
FORTRAN_NEEDED=fortran |
57 |
|
58 |
inherit eutils fortran-2 multilib |
59 |
|
60 |
DESCRIPTION="Astronomical World Coordinate System transformations library" |
61 |
HOMEPAGE="http://www.atnf.csiro.au/people/mcalabre/WCS/" |
62 |
SRC_URI="ftp://ftp.atnf.csiro.au/pub/software/${PN}/${P}.tar.bz2" |
63 |
|
64 |
SLOT="0/4" |
65 |
LICENSE="LGPL-3" |
66 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
67 |
IUSE="doc fortran fits pgplot static-libs" |
68 |
|
69 |
RDEPEND=" |
70 |
fits? ( sci-libs/cfitsio:0= ) |
71 |
pgplot? ( sci-libs/pgplot:0= )" |
72 |
DEPEND="${RDEPEND} |
73 |
sys-devel/flex |
74 |
virtual/pkgconfig" |
75 |
|
76 |
src_prepare() { |
77 |
sed -i -e 's/COPYING\*//' GNUmakefile || die |
78 |
} |
79 |
|
80 |
src_configure() { |
81 |
local myconf=( |
82 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} |
83 |
$(use_enable static-libs static) |
84 |
$(use_enable fortran) |
85 |
) |
86 |
# hacks because cfitsio and pgplot directories are hard-coded |
87 |
if use fits; then |
88 |
myconf+=( |
89 |
--with-cfitsioinc="${EPREFIX}/usr/include" |
90 |
--with-cfitsiolib="${EPREFIX}/usr/$(get_libdir)" |
91 |
) |
92 |
else |
93 |
myconf+=( --without-cfitsio ) |
94 |
fi |
95 |
if use pgplot; then |
96 |
myconf+=( |
97 |
--with-pgplotinc="${EPREFIX}/usr/include" |
98 |
--with-pgplotlib="${EPREFIX}/usr/$(get_libdir)" |
99 |
) |
100 |
else |
101 |
myconf+=( --without-pgplot ) |
102 |
fi |
103 |
econf ${myconf[@]} |
104 |
} |
105 |
|
106 |
src_compile() { |
107 |
# nasty makefile, debugging means probably full rewrite |
108 |
emake -j1 |
109 |
} |
110 |
|
111 |
src_test() { |
112 |
emake -j1 check |
113 |
} |
114 |
|
115 |
src_install () { |
116 |
default |
117 |
# static libs are same as shared (compiled with PIC) |
118 |
# so they are not compiled twice |
119 |
use static-libs || rm "${ED}"/usr/$(get_libdir)/lib*.a |
120 |
use doc || rm -r \ |
121 |
"${ED}"/usr/share/doc/${PF}/html \ |
122 |
"${ED}"/usr/share/doc/${PF}/*.pdf |
123 |
} |