Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libaio: libaio-0.3.110.ebuild ChangeLog
Date: Thu, 27 Mar 2014 03:13:51
Message-Id: 20140327031347.249552004F@flycatcher.gentoo.org
1 vapier 14/03/27 03:13:47
2
3 Modified: ChangeLog
4 Added: libaio-0.3.110.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.87 dev-libs/libaio/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/ChangeLog?rev=1.87&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/ChangeLog?rev=1.87&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/ChangeLog?r1=1.86&r2=1.87
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v
20 retrieving revision 1.86
21 retrieving revision 1.87
22 diff -u -r1.86 -r1.87
23 --- ChangeLog 27 Mar 2014 02:09:25 -0000 1.86
24 +++ ChangeLog 27 Mar 2014 03:13:46 -0000 1.87
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-libs/libaio
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v 1.86 2014/03/27 02:09:25 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v 1.87 2014/03/27 03:13:46 vapier Exp $
30 +
31 +*libaio-0.3.110 (27 Mar 2014)
32 +
33 + 27 Mar 2014; Mike Frysinger <vapier@g.o>
34 + +files/libaio-0.3.110-cppflags.patch,
35 + +files/libaio-0.3.110-optional-werror.patch, +libaio-0.3.110.ebuild:
36 + Version bump.
37
38 *libaio-0.3.109-r5 (27 Mar 2014)
39
40
41
42
43 1.1 dev-libs/libaio/libaio-0.3.110.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/libaio-0.3.110.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/libaio-0.3.110.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libaio-0.3.110.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.110.ebuild,v 1.1 2014/03/27 03:13:46 vapier Exp $
53
54 EAPI=5
55
56 inherit eutils multilib-minimal toolchain-funcs
57
58 DESCRIPTION="Asynchronous input/output library that uses the kernels native interface"
59 HOMEPAGE="https://git.fedorahosted.org/cgit/libaio.git/ http://lse.sourceforge.net/io/aio.html"
60 SRC_URI="https://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.gz"
61
62 LICENSE="LGPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
65 IUSE="static-libs test"
66
67 src_prepare() {
68 epatch \
69 "${FILESDIR}"/${PN}-0.3.109-install.patch \
70 "${FILESDIR}"/${PN}-0.3.109-x32.patch \
71 "${FILESDIR}"/${PN}-0.3.109-testcase-8.patch \
72 "${FILESDIR}"/${PN}-0.3.110-cppflags.patch \
73 "${FILESDIR}"/${PN}-0.3.110-optional-werror.patch
74
75 local sed_args=(
76 -e "/^prefix=/s:/usr:${EPREFIX}/usr:"
77 -e '/^libdir=/s:lib$:$(ABI_LIBDIR):'
78 )
79 if ! use static-libs; then
80 sed_args+=( -e '/\tinstall .*\/libaio.a/d' )
81 # Tests require the static library to be built.
82 use test || sed_args+=( -e '/^all_targets +=/s/ libaio.a//' )
83 fi
84 sed -i "${sed_args[@]}" src/Makefile Makefile || die
85
86 multilib_copy_sources
87 }
88
89 _emake() {
90 CC=$(tc-getCC) \
91 AR=$(tc-getAR) \
92 RANLIB=$(tc-getRANLIB) \
93 ABI_LIBDIR=$(get_libdir) \
94 CFLAGS_WERROR= \
95 emake "$@"
96 }
97
98 multilib_src_compile() {
99 _emake
100 }
101
102 multilib_src_test() {
103 mkdir -p testdir || die
104 # 'make check' breaks with sandbox, 'make partcheck' works
105 _emake partcheck prefix="${S}/src" libdir="${S}/src"
106 }
107
108 multilib_src_install() {
109 _emake install DESTDIR="${D}"
110 }
111
112 multilib_src_install_all() {
113 doman man/*
114 dodoc ChangeLog TODO
115
116 # move crap to / for multipath-tools #325355
117 gen_usr_ldscript -a aio
118
119 # This lib is a bare minimal shim on top of kernel syscalls.
120 export QA_DT_NEEDED=$(find "${ED}" -type f -name 'libaio.so.*' -printf '/%P\n')
121 }