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-libs/cbflib: ChangeLog cbflib-0.9.2.10-r1.ebuild
Date: Fri, 31 May 2013 13:50:10
Message-Id: 20130531135007.893042171D@flycatcher.gentoo.org
1 jlec 13/05/31 13:50:07
2
3 Modified: ChangeLog
4 Added: cbflib-0.9.2.10-r1.ebuild
5 Log:
6 sci-libs/cbflib: Add compatibility symlink for headers
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
9
10 Revision Changes Path
11 1.36 sci-libs/cbflib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cbflib/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cbflib/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cbflib/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 2 May 2013 12:24:17 -0000 1.35
24 +++ ChangeLog 31 May 2013 13:50:07 -0000 1.36
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-libs/cbflib
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v 1.35 2013/05/02 12:24:17 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v 1.36 2013/05/31 13:50:07 jlec Exp $
30 +
31 +*cbflib-0.9.2.10-r1 (31 May 2013)
32 +
33 + 31 May 2013; Justin Lecher <jlec@g.o> +cbflib-0.9.2.10-r1.ebuild:
34 + Add compatibility symlink for headers
35
36 02 May 2013; Justin Lecher <jlec@g.o> cbflib-0.9.2.10.ebuild:
37 Add missing dep on sci-libs/hdf5
38
39
40
41 1.1 sci-libs/cbflib/cbflib-0.9.2.10-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cbflib/cbflib-0.9.2.10-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cbflib/cbflib-0.9.2.10-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: cbflib-0.9.2.10-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/cbflib-0.9.2.10-r1.ebuild,v 1.1 2013/05/31 13:50:07 jlec Exp $
51
52 EAPI=5
53
54 inherit eutils flag-o-matic fortran-2 toolchain-funcs
55
56 MY_P1="CBFlib-${PV}"
57 #MY_P2="CBFlib_${PV}"
58 MY_P2="CBFlib_0.9.3"
59
60 DESCRIPTION="Library providing a simple mechanism for accessing CBF files and imgCIF files"
61 HOMEPAGE="http://www.bernstein-plus-sons.com/software/CBF/"
62 BASE_TEST_URI="http://arcib.dowling.edu/software/CBFlib/downloads/version_${PV}/"
63 SRC_URI="mirror://sourceforge/${PN}/${MY_P1}.tar.gz"
64 # test? (
65 # mirror://sourceforge/${PN}/${MY_P2}_Data_Files_Input.tar.gz
66 # mirror://sourceforge/${PN}/${MY_P2}_Data_Files_Output.tar.gz
67 # )"
68
69 LICENSE="GPL-2"
70 SLOT="0"
71 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
72 IUSE="doc test"
73
74 S=${WORKDIR}/${MY_P1}
75
76 RDEPEND="sci-libs/hdf5"
77 DEPEND="${RDEPEND}"
78
79 RESTRICT="test"
80
81 src_prepare(){
82 rm -rf Py* drel* dRel* ply*
83 epatch "${FILESDIR}"/${PV}-Makefile.patch
84 cp Makefile_LINUX_gcc42 Makefile
85
86 append-fflags -fno-range-check
87 append-cflags -D_USE_XOPEN_EXTENDED -DCBF_DONT_USE_LONG_LONG
88
89 sed \
90 -e "s|^SOLDFLAGS.*$|SOLDFLAGS = -shared ${LDFLAGS}|g" \
91 -i Makefile || die
92 tc-export CC CXX AR RANLIB
93 }
94
95 src_compile() {
96 emake -j1 shared
97 }
98
99 src_test(){
100 emake -j1 basic
101 }
102
103 src_install() {
104 insinto /usr/include/${PN}
105 dosym ${PN} /usr/include/cbf
106 doins include/*.h
107
108 dolib.so solib/lib*
109
110 dodoc README
111 use doc && dohtml -r README.html html_graphics doc
112 }