From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libffi: ChangeLog libffi-3.0.11_rc2.ebuild |
Date: | Fri, 18 Nov 2011 11:53:35 |
Message-Id: | 20111118115323.0A65F2004B@flycatcher.gentoo.org |
1 | ssuominen 11/11/18 11:53:23 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libffi-3.0.11_rc2.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha73/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.132 dev-libs/libffi/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/ChangeLog?rev=1.132&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/ChangeLog?rev=1.132&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/ChangeLog?r1=1.131&r2=1.132 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v |
20 | retrieving revision 1.131 |
21 | retrieving revision 1.132 |
22 | diff -u -r1.131 -r1.132 |
23 | --- ChangeLog 9 Nov 2011 16:14:39 -0000 1.131 |
24 | +++ ChangeLog 18 Nov 2011 11:53:22 -0000 1.132 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-libs/libffi |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.131 2011/11/09 16:14:39 jer Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.132 2011/11/18 11:53:22 ssuominen Exp $ |
30 | + |
31 | +*libffi-3.0.11_rc2 (18 Nov 2011) |
32 | + |
33 | + 18 Nov 2011; Samuli Suominen <ssuominen@g.o> |
34 | + +libffi-3.0.11_rc2.ebuild: |
35 | + Version bump. |
36 | |
37 | 09 Nov 2011; Jeroen Roovers <jer@g.o> libffi-3.0.10.ebuild: |
38 | Stable for HPPA (bug #387063). |
39 | |
40 | |
41 | |
42 | 1.1 dev-libs/libffi/libffi-3.0.11_rc2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/libffi-3.0.11_rc2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/libffi-3.0.11_rc2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: libffi-3.0.11_rc2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.11_rc2.ebuild,v 1.1 2011/11/18 11:53:22 ssuominen Exp $ |
52 | |
53 | EAPI=4 |
54 | |
55 | MY_P=${P/_/-} |
56 | |
57 | inherit libtool multilib toolchain-funcs eutils |
58 | |
59 | DESCRIPTION="a portable, high level programming interface to various calling conventions." |
60 | HOMEPAGE="http://sourceware.org/libffi/" |
61 | SRC_URI="ftp://sourceware.org/pub/${PN}/${MY_P}.tar.gz" |
62 | |
63 | LICENSE="MIT" |
64 | SLOT="0" |
65 | #KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
66 | IUSE="debug static-libs test" |
67 | |
68 | RDEPEND="" |
69 | DEPEND="test? ( dev-util/dejagnu )" |
70 | |
71 | S=${WORKDIR}/${MY_P} |
72 | |
73 | pkg_setup() { |
74 | # Detect and document broken installation of sys-devel/gcc in the build.log wrt #354903 |
75 | if ! has_version ${CATEGORY}/${PN}; then |
76 | local base="${T}/conftest" |
77 | echo 'int main() { }' > "${base}.c" |
78 | $(tc-getCC) -o "${base}" "${base}.c" -lffi >&/dev/null && \ |
79 | ewarn "Found a copy of second ${PN} in your system. Uninstall it before continuing." |
80 | fi |
81 | } |
82 | |
83 | src_prepare() { |
84 | elibtoolize |
85 | } |
86 | |
87 | src_configure() { |
88 | use userland_BSD && export HOST="${CHOST}" |
89 | econf \ |
90 | $(use_enable static-libs static) \ |
91 | $(use_enable debug) |
92 | } |
93 | |
94 | src_install() { |
95 | emake DESTDIR="${D}" install || die |
96 | dodoc ChangeLog* README |
97 | rm -f "${ED}"usr/lib*/${PN}.la |
98 | } |
99 | |
100 | pkg_preinst() { |
101 | preserve_old_lib /usr/$(get_libdir)/${PN}$(get_libname 5) |
102 | } |
103 | |
104 | pkg_postinst() { |
105 | preserve_old_lib_notify /usr/$(get_libdir)/${PN}$(get_libname 5) |
106 | } |