Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/ffcall: ChangeLog ffcall-1.10-r3.ebuild
Date: Tue, 24 Aug 2010 11:33:46
Message-Id: 20100824113340.2819F2004E@flycatcher.gentoo.org
1 voyageur 10/08/24 11:33:40
2
3 Modified: ChangeLog
4 Added: ffcall-1.10-r3.ebuild
5 Log:
6 Finally fix bug #298348, patch from PLD
7
8 (Portage version: 2.2_rc68/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.39 dev-libs/ffcall/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ffcall/ChangeLog?rev=1.39&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ffcall/ChangeLog?rev=1.39&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ffcall/ChangeLog?r1=1.38&r2=1.39
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/ffcall/ChangeLog,v
20 retrieving revision 1.38
21 retrieving revision 1.39
22 diff -u -r1.38 -r1.39
23 --- ChangeLog 25 Dec 2009 15:56:25 -0000 1.38
24 +++ ChangeLog 24 Aug 2010 11:33:39 -0000 1.39
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/ffcall
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ffcall/ChangeLog,v 1.38 2009/12/25 15:56:25 flameeyes Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ffcall/ChangeLog,v 1.39 2010/08/24 11:33:39 voyageur Exp $
31 +
32 +*ffcall-1.10-r3 (24 Aug 2010)
33 +
34 + 24 Aug 2010; Bernard Cafarelli <voyageur@g.o>
35 + +ffcall-1.10-r3.ebuild, +files/ffcall-make-jN.patch:
36 + Finally fix bug #298348, patch from PLD
37
38 25 Dec 2009; Diego E. Pettenò <flameeyes@g.o>
39 ffcall-1.10-r2.ebuild:
40
41
42
43 1.1 dev-libs/ffcall/ffcall-1.10-r3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ffcall/ffcall-1.10-r3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/ffcall/ffcall-1.10-r3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ffcall-1.10-r3.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/ffcall/ffcall-1.10-r3.ebuild,v 1.1 2010/08/24 11:33:40 voyageur Exp $
53
54 EAPI=3
55 inherit eutils flag-o-matic
56
57 # CLISP maintains ffcall now
58 CLISP_PACKAGE="clisp-2.41"
59
60 DESCRIPTION="foreign function call libraries"
61 HOMEPAGE="http://www.haible.de/bruno/packages-ffcall.html"
62 SRC_URI="mirror://sourceforge/clisp/${CLISP_PACKAGE}.tar.bz2"
63
64 # "Ffcall is under GNU GPL. As a special exception, if used in GNUstep
65 # or in derivate works of GNUstep, the included parts of ffcall are
66 # under GNU LGPL." -ffcall author
67 LICENSE="|| ( GPL-2 LGPL-2 )"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
70 IUSE=""
71
72 S=${WORKDIR}/${CLISP_PACKAGE}/${PN}
73
74 DEPEND=""
75 RDEPEND=""
76
77 src_prepare() {
78 epatch "${FILESDIR}"/${PN}-make-jN.patch
79 }
80
81 src_configure() {
82 append-flags -fPIC
83
84 # Doc goes in datadir
85 econf \
86 --datadir=/usr/share/doc/${PF} \
87 --enable-shared \
88 || die "./configure failed"
89 }
90
91 src_compile() {
92 # Because CHOST is set to (for example)
93 # alphaev67-unknown-linux-gnu, CPU gets set to alphaev67 which
94 # doesn't work in the Makefile (29 Jan 2004 agriffis)
95 local cpu_setting
96 [[ "${ARCH}" == "alpha" ]] && cpu_setting='CPU=alpha'
97
98 emake ${cpu_setting} || die
99 }
100
101 src_install() {
102 dodoc NEWS README
103 dodir /usr/share/man
104 emake DESTDIR="${D}" install || die "Install failed"
105 }