1 |
vapier 14/03/27 02:09:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libaio-0.3.109-r5.ebuild |
5 |
Log: |
6 |
Convert from USE=multilib to multilib-minimal eclass #435094 by Matt Turner. |
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.86 dev-libs/libaio/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/ChangeLog?rev=1.86&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/ChangeLog?rev=1.86&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/ChangeLog?r1=1.85&r2=1.86 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v |
20 |
retrieving revision 1.85 |
21 |
retrieving revision 1.86 |
22 |
diff -u -r1.85 -r1.86 |
23 |
--- ChangeLog 16 Mar 2014 02:51:52 -0000 1.85 |
24 |
+++ ChangeLog 27 Mar 2014 02:09:25 -0000 1.86 |
25 |
@@ -1,6 +1,11 @@ |
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.85 2014/03/16 02:51:52 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v 1.86 2014/03/27 02:09:25 vapier Exp $ |
30 |
+ |
31 |
+*libaio-0.3.109-r5 (27 Mar 2014) |
32 |
+ |
33 |
+ 27 Mar 2014; Mike Frysinger <vapier@g.o> +libaio-0.3.109-r5.ebuild: |
34 |
+ Convert from USE=multilib to multilib-minimal eclass #435094 by Matt Turner. |
35 |
|
36 |
16 Mar 2014; Mike Frysinger <vapier@g.o> |
37 |
files/libaio-0.3.106-build.patch: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-libs/libaio/libaio-0.3.109-r5.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/libaio-0.3.109-r5.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/libaio-0.3.109-r5.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: libaio-0.3.109-r5.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.109-r5.ebuild,v 1.1 2014/03/27 02:09:25 vapier Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
inherit eutils multilib-minimal toolchain-funcs |
55 |
|
56 |
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface" |
57 |
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/andrea/libaio/ http://lse.sourceforge.net/io/aio.html" |
58 |
SRC_URI="mirror://kernel/linux/libs/aio/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="LGPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
63 |
IUSE="static-libs test" |
64 |
|
65 |
src_prepare() { |
66 |
# remove stuff provided by man-pages now |
67 |
rm man/{lio_listio,aio_{cancel,error,fsync,init,read,return,suspend,write}}.* || die |
68 |
|
69 |
epatch \ |
70 |
"${FILESDIR}"/${PN}-0.3.109-unify-bits-endian.patch \ |
71 |
"${FILESDIR}"/${PN}-0.3.109-generic-arch.patch \ |
72 |
"${FILESDIR}"/${PN}-0.3.106-build.patch \ |
73 |
"${FILESDIR}"/${PN}-0.3.107-ar-ranlib.patch \ |
74 |
"${FILESDIR}"/${PN}-0.3.109-install.patch \ |
75 |
"${FILESDIR}"/${PN}-0.3.109-x32.patch \ |
76 |
"${FILESDIR}"/${PN}-0.3.109-testcase-8.patch |
77 |
|
78 |
local sed_args=( |
79 |
-e "/^prefix=/s:/usr:${EPREFIX}/usr:" |
80 |
-e '/^libdir=/s:lib$:$(ABI_LIBDIR):' |
81 |
-e '/:=.*strip.*shell.*git/s:=.*:=:' |
82 |
) |
83 |
if ! use static-libs; then |
84 |
sed_args+=( -e '/\tinstall .*\/libaio.a/d' ) |
85 |
# Tests require the static library to be built. |
86 |
use test || sed_args+=( -e '/^all_targets +=/s/ libaio.a//' ) |
87 |
fi |
88 |
sed -i "${sed_args[@]}" src/Makefile Makefile || die |
89 |
sed -i -e "s:-Werror::g" harness/Makefile || die |
90 |
|
91 |
multilib_copy_sources |
92 |
} |
93 |
|
94 |
_emake() { |
95 |
CC=$(tc-getCC) \ |
96 |
AR=$(tc-getAR) \ |
97 |
RANLIB=$(tc-getRANLIB) \ |
98 |
ABI_LIBDIR=$(get_libdir) \ |
99 |
emake "$@" |
100 |
} |
101 |
|
102 |
multilib_src_compile() { |
103 |
_emake |
104 |
} |
105 |
|
106 |
multilib_src_test() { |
107 |
mkdir -p testdir || die |
108 |
# 'make check' breaks with sandbox, 'make partcheck' works |
109 |
_emake partcheck prefix="${S}/src" libdir="${S}/src" |
110 |
} |
111 |
|
112 |
multilib_src_install() { |
113 |
_emake install DESTDIR="${D}" |
114 |
} |
115 |
|
116 |
multilib_src_install_all() { |
117 |
doman man/* |
118 |
dodoc ChangeLog TODO |
119 |
|
120 |
# move crap to / for multipath-tools #325355 |
121 |
gen_usr_ldscript -a aio |
122 |
} |