Gentoo Archives: gentoo-commits

From: "Markus Dittrich (markusle)" <markusle@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/cifparse-obj: ChangeLog cifparse-obj-7.025.ebuild
Date: Wed, 03 Sep 2008 14:23:09
Message-Id: E1KatGE-0002x8-UQ@stork.gentoo.org
1 markusle 08/09/03 14:23:06
2
3 Modified: ChangeLog
4 Added: cifparse-obj-7.025.ebuild
5 Log:
6 Version bump which also fixes the gcc4.3 issues reported in #236410.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-SENTINEL-2 i686)
8
9 Revision Changes Path
10 1.8 sci-libs/cifparse-obj/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cifparse-obj/ChangeLog?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cifparse-obj/ChangeLog?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cifparse-obj/ChangeLog?r1=1.7&r2=1.8
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-libs/cifparse-obj/ChangeLog,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- ChangeLog 8 Apr 2008 08:01:44 -0000 1.7
23 +++ ChangeLog 3 Sep 2008 14:23:06 -0000 1.8
24 @@ -1,6 +1,13 @@
25 # ChangeLog for sci-libs/cifparse-obj
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/cifparse-obj/ChangeLog,v 1.7 2008/04/08 08:01:44 dberkholz Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cifparse-obj/ChangeLog,v 1.8 2008/09/03 14:23:06 markusle Exp $
29 +
30 +*cifparse-obj-7.025 (03 Sep 2008)
31 +
32 + 03 Sep 2008; Markus Dittrich <markusle@g.o>
33 + +files/cifparse-obj-7.025-gcc4.3.patch,
34 + +files/cifparse-obj-7.025-makefile.patch, +cifparse-obj-7.025.ebuild:
35 + Version bump which also fixes the gcc4.3 issues reported in #236410.
36
37 08 Apr 2008; Donnie Berkholz <dberkholz@g.o>;
38 cifparse-obj-6.302.ebuild:
39
40
41
42 1.1 sci-libs/cifparse-obj/cifparse-obj-7.025.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cifparse-obj/cifparse-obj-7.025.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cifparse-obj/cifparse-obj-7.025.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cifparse-obj-7.025.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cifparse-obj/cifparse-obj-7.025.ebuild,v 1.1 2008/09/03 14:23:06 markusle Exp $
52
53 inherit eutils toolchain-funcs
54
55 MY_P="${PN}-v${PV}-prod-src"
56 DESCRIPTION="Provides an object-oriented application interface to information in mmCIF format"
57 HOMEPAGE="http://sw-tools.pdb.org/apps/CIFPARSE-OBJ/index.html"
58 SRC_URI="http://sw-tools.pdb.org/apps/CIFPARSE-OBJ/source/${MY_P}.tar.gz"
59 LICENSE="PDB"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE=""
63 RDEPEND=""
64 DEPEND="${RDEPEND}"
65
66 S="${WORKDIR}/${MY_P}"
67
68 src_unpack() {
69 unpack ${A}
70 cd "${S}"
71 epatch "${FILESDIR}"/${P}-makefile.patch
72 epatch "${FILESDIR}"/${P}-gcc4.3.patch
73
74 sed -i \
75 -e "s:^\(CC=\).*:\1$(tc-getCC):g" \
76 -e "s:^\(CCC=\).*:\1$(tc-getCXX):g" \
77 -e "s:^\(F77=\).*:\1${FORTRANC}:g" \
78 -e "s:^\(F77_LINKER=\).*:\1${FORTRANC}:g" \
79 "${S}"/etc/make.* \
80 || die "Failed to fix makefile"
81 }
82
83 src_compile() {
84 # parallel make fails
85 emake -j1 || die "Failed to compile"
86 }
87
88 src_install() {
89 dolib.a lib/* || die "Failed to install libs"
90 insinto /usr/include/${PN}
91 doins include/* || die "Failed to install include files"
92 }