1 |
reavertm 10/08/25 21:41:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libaio-0.3.109.ebuild |
5 |
Log: |
6 |
Version bump, fix bug 325355 (install to /lib), add static-libs support |
7 |
|
8 |
(Portage version: 2.2_rc69/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.51 dev-libs/libaio/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/ChangeLog?rev=1.51&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/ChangeLog?rev=1.51&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/ChangeLog?r1=1.50&r2=1.51 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v |
20 |
retrieving revision 1.50 |
21 |
retrieving revision 1.51 |
22 |
diff -u -r1.50 -r1.51 |
23 |
--- ChangeLog 6 Apr 2010 09:19:27 -0000 1.50 |
24 |
+++ ChangeLog 25 Aug 2010 21:41:02 -0000 1.51 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-libs/libaio |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v 1.50 2010/04/06 09:19:27 abcd Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v 1.51 2010/08/25 21:41:02 reavertm Exp $ |
30 |
+ |
31 |
+*libaio-0.3.109 (25 Aug 2010) |
32 |
+ |
33 |
+ 25 Aug 2010; Maciej Mrozowski <reavertm@g.o> |
34 |
+ +libaio-0.3.109.ebuild, +files/libaio-0.3.109-install.patch: |
35 |
+ Version bump, fix bug 325355 (install to /lib) |
36 |
|
37 |
06 Apr 2010; Jonathan Callen <abcd@g.o> libaio-0.3.107.ebuild: |
38 |
Bump to EAPI=3, add prefix keywords |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-libs/libaio/libaio-0.3.109.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/libaio-0.3.109.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libaio/libaio-0.3.109.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: libaio-0.3.109.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.109.ebuild,v 1.1 2010/08/25 21:41:02 reavertm Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
|
55 |
inherit eutils multilib toolchain-funcs |
56 |
|
57 |
DESCRIPTION="Asynchronous input/output library that uses the kernels native interface" |
58 |
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/andrea/libaio/ http://lse.sourceforge.net/io/aio.html" |
59 |
# Rip out of src rpm that Redhat uses: |
60 |
# http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/ |
61 |
SRC_URI="mirror://kernel/linux/libs/aio/${P}.tar.bz2" |
62 |
|
63 |
LICENSE="LGPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
66 |
IUSE="static-libs" |
67 |
|
68 |
RESTRICT="test" |
69 |
|
70 |
src_prepare() { |
71 |
# FIXME epatch "${FILESDIR}"/${PN}-0.3.107-sparc.patch # not applicable anymore, may need porting |
72 |
# FIXME epatch "${FILESDIR}"/${PN}-0.3.107-generic-arch.patch # not applicable anymore but arm support now upstream |
73 |
epatch "${FILESDIR}"/${PN}-0.3.106-build.patch |
74 |
epatch "${FILESDIR}"/${PN}-0.3.107-ar-ranlib.patch |
75 |
epatch "${FILESDIR}"/${P}-install.patch |
76 |
} |
77 |
|
78 |
src_configure() { |
79 |
tc-export AR CC RANLIB |
80 |
} |
81 |
|
82 |
src_test() { |
83 |
cd "${S}"/harness |
84 |
mkdir testdir |
85 |
emake check prefix="${S}/src" libdir="${S}/src" |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
emake install DESTDIR="${D}" LIBDIR=$(get_libdir) || die |
90 |
doman man/* |
91 |
dodoc ChangeLog TODO |
92 |
|
93 |
if ! use static-libs; then |
94 |
rm "${ED}"usr/lib*/*.a || die |
95 |
else |
96 |
gen_usr_ldscript libaio.so |
97 |
fi |
98 |
|
99 |
# remove stuff provided by man-pages now |
100 |
rm "${ED}"usr/share/man/man3/aio_{cancel,error,fsync,read,return,suspend,write}.* |
101 |
} |