summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-09-15 02:52:19 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-09-15 02:52:19 +0000
commit8f5b54cbab7d04bdeaed2810e5a4b1ab7bc79439 (patch)
treec3001588d8b5c2d73f28b1b83181607032debd82 /dev-libs/libaio
parentAdd libXft to dependencies (reported by Rob Lewis). (diff)
downloadhistorical-8f5b54cbab7d04bdeaed2810e5a4b1ab7bc79439.tar.gz
historical-8f5b54cbab7d04bdeaed2810e5a4b1ab7bc79439.tar.bz2
historical-8f5b54cbab7d04bdeaed2810e5a4b1ab7bc79439.zip
(non maintainer commit) add cross compiler support, thanks to Aaron Carroll in bug 197720
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26-gentoo x86_64
Diffstat (limited to 'dev-libs/libaio')
-rw-r--r--dev-libs/libaio/ChangeLog10
-rw-r--r--dev-libs/libaio/Manifest3
-rw-r--r--dev-libs/libaio/libaio-0.3.106-r2.ebuild47
3 files changed, 57 insertions, 3 deletions
diff --git a/dev-libs/libaio/ChangeLog b/dev-libs/libaio/ChangeLog
index a224d0f8d966..89e88e1241a2 100644
--- a/dev-libs/libaio/ChangeLog
+++ b/dev-libs/libaio/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libaio
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v 1.31 2007/01/06 02:57:25 kugelfang Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/ChangeLog,v 1.32 2008/09/15 02:52:19 darkside Exp $
+
+*libaio-0.3.106-r2 (15 Sep 2008)
+
+ 15 Sep 2008; Jeremy Olexa <darkside@gentoo.org> +libaio-0.3.106-r2.ebuild:
+ (non maintainer commit) add cross compiler support, thanks to Aaron Carroll
+ in bug 197720
06 Jan 2007; Danny van Dyk <kugelfang@gentoo.org> -libaio-0.3.15.ebuild,
-libaio-0.3.104.ebuild, -libaio-0.3.106.ebuild:
diff --git a/dev-libs/libaio/Manifest b/dev-libs/libaio/Manifest
index 2118cbdfac7f..77e57ce5efb4 100644
--- a/dev-libs/libaio/Manifest
+++ b/dev-libs/libaio/Manifest
@@ -7,6 +7,7 @@ AUX libaio-0.3.15-no-exec-stack.patch 316 RMD160 c72e2d3289b2b117fe2ccadabb61e30
DIST libaio-0.3.106.tar.gz 50659 RMD160 e51f75434df05f1006a5b4a084f7fb6acf6b474d SHA1 cc1ba1a5a1b1a7c6b0567d33b5d44e9e1396a42e SHA256 89f47d77d0f660cef80efeecc1cbd194ebf4afdd3be5ab2c3584bd8a90ac44c0
DIST libaio-0.3.15-2.5-2.tar.bz2 21026 RMD160 a00bc37c778ec535b98b3b0d656a0dcb30d87048 SHA1 6d9afbfa537a4502f680990048fe0d3848242fb3 SHA256 6ae7cdb160811bcb19e6d09555b141dea4c8fc6edf3ad3c87ecd784f6eace795
EBUILD libaio-0.3.106-r1.ebuild 1330 RMD160 a2541dd0f8d73f0245e0754c8f53377f26f36baa SHA1 d304ce2ae0dcd99548c0717a9f95488ae8da1e13 SHA256 3131d4eedfb9f1161e08d4b11a6a3b144ed8a0e8dccbd2b6cc22db0bd5aff7c7
+EBUILD libaio-0.3.106-r2.ebuild 1275 RMD160 575b3433f7d6d1144f0f4eddfc8f16504875a590 SHA1 07684e2b8d3b0276ab6bd33980d0b05991c07667 SHA256 b19ee1fd4c40eee361937a7b2275f4c4abee6cae2462b81f9423e5d501acbcb1
EBUILD libaio-0.3.15-r1.ebuild 981 RMD160 03db5f4175795e74653f878b58d994152b860810 SHA1 972e2e07f408524b396b1833a7756ef1fc9aec03 SHA256 48e6e4d16090b4ca67026956ad5703ca42859a0f5d7b4f71fba196531c9d40e0
-MISC ChangeLog 4240 RMD160 9cbcb4a6f978f397dfccd0fc92a56afc4695b05e SHA1 7e001b4b50b13d41aeeac5df2dc1708bac0515e6 SHA256 bc3e6d7a3a239d869b18ba0ad7e0084621844a6c44eab74ad72276592a0360b7
+MISC ChangeLog 4445 RMD160 db8842eac1afbfaf342ef048b8b54c524a0aa636 SHA1 eb93a170b0751692e9f8e794eac7743caab80af0 SHA256 5cfaaa6344b0d11eb0cae7ebebadbf648489b810783f262885b5f38c81e831d4
MISC metadata.xml 435 RMD160 902bc4ecb946fdd64e3d1cc1ff3b70cfe14ca50c SHA1 5e182a069552e7d74bb2e7aa4fe7b024b1325c88 SHA256 10b3565f0a219e28194ec8ad33b306203310b9a05e56f4e5e20db547ac5a257d
diff --git a/dev-libs/libaio/libaio-0.3.106-r2.ebuild b/dev-libs/libaio/libaio-0.3.106-r2.ebuild
new file mode 100644
index 000000000000..3ae0d08f40f9
--- /dev/null
+++ b/dev-libs/libaio/libaio-0.3.106-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libaio/libaio-0.3.106-r2.ebuild,v 1.1 2008/09/15 02:52:19 darkside Exp $
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Asynchronous input/output library that uses the kernels native interface"
+HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/andrea/libaio/ http://lse.sourceforge.net/io/aio.html"
+# Rip out of src rpm that Redhat uses:
+# http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~x86"
+IUSE=""
+
+DEPEND=""
+
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_compile() {
+ tc-export CC
+ emake || die "emake failed"
+}
+
+src_test() {
+ cd "${S}"/harness
+ mkdir testdir
+ emake check prefix="${S}/src" libdir="${S}/src"
+}
+
+src_install() {
+ emake install prefix="${D}usr" libdir="${D}usr/$(get_libdir)" \
+ root="${D}" || die "emake install failed"
+ doman man/*
+ dodoc ChangeLog TODO
+
+ # remove stuff provided by man-pages now
+ rm "${D}"usr/share/man/man3/aio_{cancel,error,fsync,read,return,suspend,write}.*
+}