summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-02-11 17:24:37 +0000
committerJeroen Roovers <jer@gentoo.org>2012-02-11 17:24:37 +0000
commit0e242cfa8d689993ef05aba26512bf67d1863bf9 (patch)
treed20b81b967d72c37a318d3e841fac4217f515ae6 /dev-libs/libevent
parentBump xf86-input-wacom to 0.13.0 as requested in bug 401663. (diff)
downloadgentoo-2-0e242cfa8d689993ef05aba26512bf67d1863bf9.tar.gz
gentoo-2-0e242cfa8d689993ef05aba26512bf67d1863bf9.tar.bz2
gentoo-2-0e242cfa8d689993ef05aba26512bf67d1863bf9.zip
Version bump.
(Portage version: 2.2.0_alpha85/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.17.ebuild53
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-libs/libevent/ChangeLog b/dev-libs/libevent/ChangeLog
index 9c188c47bee2..c6f7a17cb5dd 100644
--- a/dev-libs/libevent/ChangeLog
+++ b/dev-libs/libevent/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libevent
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.207 2012/01/22 15:26:27 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.208 2012/02/11 17:24:37 jer Exp $
+
+*libevent-2.0.17 (11 Feb 2012)
+
+ 11 Feb 2012; Jeroen Roovers <jer@gentoo.org> +libevent-2.0.17.ebuild:
+ Version bump.
22 Jan 2012; Raúl Porcel <armin76@gentoo.org> libevent-2.0.16.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #397483
diff --git a/dev-libs/libevent/libevent-2.0.17.ebuild b/dev-libs/libevent/libevent-2.0.17.ebuild
new file mode 100644
index 000000000000..c52c0dff50a7
--- /dev/null
+++ b/dev-libs/libevent/libevent-2.0.17.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.0.17.ebuild,v 1.1 2012/02/11 17:24:37 jer Exp $
+
+EAPI="2"
+
+inherit eutils autotools
+
+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="+ssl static-libs test"
+
+DEPEND="ssl? ( dev-libs/openssl )"
+RDEPEND="
+ ${DEPEND}
+ !<=dev-libs/9libs-1.0
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ elibtoolize
+
+ # don't waste time building tests/samples
+ sed -i \
+ -e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \
+ Makefile.in || die "sed Makefile.in failed"
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable ssl openssl)
+}
+
+src_test() {
+ emake -C test check | tee "${T}"/tests
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc README ChangeLog
+ if ! use static-libs; then
+ rm -f "${D}"/usr/lib*/libevent*.la
+ fi
+}