summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-09-01 16:06:17 +0000
committerJeroen Roovers <jer@gentoo.org>2011-09-01 16:06:17 +0000
commit50de86762ada8b6b0f8cbfd15e144ad723f874db (patch)
tree78b2e376dedc21167bb696a8639c8a5fd6e9b1a9 /dev-libs/libevent
parentCleaned up tor.initd-r6 (diff)
downloadgentoo-2-50de86762ada8b6b0f8cbfd15e144ad723f874db.tar.gz
gentoo-2-50de86762ada8b6b0f8cbfd15e144ad723f874db.tar.bz2
gentoo-2-50de86762ada8b6b0f8cbfd15e144ad723f874db.zip
Version bump.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libevent')
-rw-r--r--dev-libs/libevent/ChangeLog7
-rw-r--r--dev-libs/libevent/libevent-2.0.14.ebuild46
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-libs/libevent/ChangeLog b/dev-libs/libevent/ChangeLog
index 7427f1aa7641..3d4ef09b78b2 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.186 2011/08/17 16:43:56 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.187 2011/09/01 16:06:17 jer Exp $
+
+*libevent-2.0.14 (01 Sep 2011)
+
+ 01 Sep 2011; Jeroen Roovers <jer@gentoo.org> +libevent-2.0.14.ebuild:
+ Version bump.
17 Aug 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
libevent-2.0.13.ebuild:
diff --git a/dev-libs/libevent/libevent-2.0.14.ebuild b/dev-libs/libevent/libevent-2.0.14.ebuild
new file mode 100644
index 000000000000..386befeefbc3
--- /dev/null
+++ b/dev-libs/libevent/libevent-2.0.14.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.14.ebuild,v 1.1 2011/09/01 16:06:17 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
+}