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: cbflib-0.9.0.ebuild ChangeLog
Date: Wed, 28 Apr 2010 19:56:23
Message-Id: 20100428195618.3F9AA2C06A@corvid.gentoo.org
1 jlec 10/04/28 19:56:17
2
3 Modified: ChangeLog
4 Added: cbflib-0.9.0.ebuild
5 Log:
6 Version Bump, #317261
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.8 sci-libs/cbflib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cbflib/ChangeLog?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cbflib/ChangeLog?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cbflib/ChangeLog?r1=1.7&r2=1.8
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- ChangeLog 31 Mar 2010 20:25:10 -0000 1.7
23 +++ ChangeLog 28 Apr 2010 19:56:17 -0000 1.8
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sci-libs/cbflib
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v 1.7 2010/03/31 20:25:10 jlec Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cbflib/ChangeLog,v 1.8 2010/04/28 19:56:17 jlec Exp $
29 +
30 +*cbflib-0.9.0 (28 Apr 2010)
31 +
32 + 28 Apr 2010; Justin Lecher <jlec@g.o> +files/0.9.0-Makefile.patch,
33 + +cbflib-0.9.0.ebuild:
34 + Version Bump, #317261
35
36 *cbflib-0.8.1-r7 (31 Mar 2010)
37
38
39
40
41 1.1 sci-libs/cbflib/cbflib-0.9.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cbflib/cbflib-0.9.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cbflib/cbflib-0.9.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: cbflib-0.9.0.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.0.ebuild,v 1.1 2010/04/28 19:56:17 jlec Exp $
51
52 EAPI="3"
53
54 inherit eutils flag-o-matic toolchain-funcs
55
56 MY_P1="CBFlib-${PV}"
57 MY_P2="CBFlib_${PV}"
58
59 DESCRIPTION="Library providing a simple mechanism for accessing CBF files and imgCIF files."
60 HOMEPAGE="http://www.bernstein-plus-sons.com/software/CBF/"
61 #BASE_TEST_URI="http://arcib.dowling.edu/software/CBFlib/downloads/version_${PV}/"
62 SRC_URI="mirror://sourceforge/${PN}/${MY_P1}_14Feb10.tar.gz"
63 # test? (
64 # ${BASE_TEST_URI}/${MY_P2}_Data_Files_Input.tar.gz
65 # ${BASE_TEST_URI}/${MY_P2}_Data_Files_Output.tar.gz
66 # )"
67
68 LICENSE="GPL-2"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
71 IUSE=""
72
73 #RDEPEND=""
74 #DEPEND="test? ( sys-process/time )"
75
76 S="${WORKDIR}/${MY_P1}"
77
78 src_prepare(){
79 rm -rvf Py*
80 epatch "${FILESDIR}"/${PV}-Makefile.patch
81 cp Makefile_LINUX_gcc42 Makefile
82
83 append-fflags -fno-range-check
84 append-cflags -D_USE_XOPEN_EXTENDED
85
86 sed \
87 -e "s:^CC.*$:CC = $(tc-getCC):" \
88 -e "s:^C++.*$:C++ = $(tc-getCXX):" \
89 -e "s:C++:CXX:g" \
90 -e "s:^CFLAGS.*$:CFLAGS = ${CFLAGS}:" \
91 -e "s:^F90C.*$:F90C = $(tc-getFC):" \
92 -e "s:^F90FLAGS.*$:F90FLAGS = ${FFLAGS}:" \
93 -e "s:^SOLDFLAGS.*$:SOLDFLAGS = -shared ${LDFLAGS}:g" \
94 -e "s: /bin: ${EPREFIX}/bin:g" \
95 -e "s:/usr:${EPREFIX}/usr:g" \
96 -i Makefile || die
97 }
98
99 src_compile() {
100 emake -j1 shared || die
101 }
102
103 # test app is borked in this version
104 # produces buffer overflows
105 #src_test(){
106 # emake -j1 tests || die
107 #}
108
109 src_install() {
110 insinto /usr/include/${PN}
111 doins include/* || die
112
113 dolib.so solib/* || die
114 }