diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-10-12 16:26:57 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-10-12 16:26:57 +0000 |
commit | c5d3a96253c19c1a04a0e83d8b8a5a6342eb4407 (patch) | |
tree | 22ebc9cd39ea908afbccec423c0ddce0b9d32b0a /dev-libs/libevent | |
parent | ppc/ppc64 stable wrt #382951 (diff) | |
download | gentoo-2-c5d3a96253c19c1a04a0e83d8b8a5a6342eb4407.tar.gz gentoo-2-c5d3a96253c19c1a04a0e83d8b8a5a6342eb4407.tar.bz2 gentoo-2-c5d3a96253c19c1a04a0e83d8b8a5a6342eb4407.zip |
Version bump.
(Portage version: 2.2.0_alpha67/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libevent')
-rw-r--r-- | dev-libs/libevent/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libevent/libevent-2.0.15.ebuild | 46 |
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-libs/libevent/ChangeLog b/dev-libs/libevent/ChangeLog index 3b92c748063c..c65935e7e723 100644 --- a/dev-libs/libevent/ChangeLog +++ b/dev-libs/libevent/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libevent # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.191 2011/10/10 11:17:19 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.192 2011/10/12 16:26:57 jer Exp $ + +*libevent-2.0.15 (12 Oct 2011) + + 12 Oct 2011; Jeroen Roovers <jer@gentoo.org> +libevent-2.0.15.ebuild: + Version bump. 10 Oct 2011; Jeroen Roovers <jer@gentoo.org> libevent-2.0.13.ebuild: Stable for HPPA (bug #384549). diff --git a/dev-libs/libevent/libevent-2.0.15.ebuild b/dev-libs/libevent/libevent-2.0.15.ebuild new file mode 100644 index 000000000000..08c48c92e7ff --- /dev/null +++ b/dev-libs/libevent/libevent-2.0.15.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.0.15.ebuild,v 1.1 2011/10/12 16:26:57 jer Exp $ + +EAPI="2" + +inherit autotools-utils libtool + +MY_P="${P}-stable" + +DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor" +HOMEPAGE="http://monkey.org/~provos/libevent/" +SRC_URI="mirror://sourceforge/levent/files/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs test" + +RDEPEND="!<=dev-libs/9libs-1.0" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # don't waste time building tests/samples + sed -i \ + -e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \ + Makefile.in || die "sed Makefile.in failed" + + elibtoolize +} + +src_configure() { + econf $(use_enable static-libs static) || die "econf" +} + +src_test() { + emake -C test check | tee "${T}"/tests + grep FAILED "${T}"/tests &>/dev/null && die "1 or more tests failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc README ChangeLog + use static-libs || remove_libtool_files +} |