diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-03-23 14:45:10 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-03-23 14:45:10 +0000 |
commit | 07fa3dd8159519295d1883b84ffa7e54d68ff5c4 (patch) | |
tree | 2f6b67d124cf0dde6616e5e821486b6384297ae7 | |
parent | Stable for HPPA (bug #409117). (diff) | |
download | gentoo-2-07fa3dd8159519295d1883b84ffa7e54d68ff5c4.tar.gz gentoo-2-07fa3dd8159519295d1883b84ffa7e54d68ff5c4.tar.bz2 gentoo-2-07fa3dd8159519295d1883b84ffa7e54d68ff5c4.zip |
Version bump.
(Portage version: 2.2.0_alpha94/cvs/Linux x86_64)
-rw-r--r-- | dev-libs/libevent/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libevent/libevent-2.0.18.ebuild | 53 |
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-libs/libevent/ChangeLog b/dev-libs/libevent/ChangeLog index 3baf81343ee3..9a817599a6dc 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.211 2012/03/03 18:01:34 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.212 2012/03/23 14:45:10 jer Exp $ + +*libevent-2.0.18 (23 Mar 2012) + + 23 Mar 2012; Jeroen Roovers <jer@gentoo.org> +libevent-2.0.18.ebuild: + Version bump. 03 Mar 2012; Jeroen Roovers <jer@gentoo.org> -libevent-2.0.12.ebuild: Old. diff --git a/dev-libs/libevent/libevent-2.0.18.ebuild b/dev-libs/libevent/libevent-2.0.18.ebuild new file mode 100644 index 000000000000..606b6dcf17c7 --- /dev/null +++ b/dev-libs/libevent/libevent-2.0.18.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.18.ebuild,v 1.1 2012/03/23 14:45:10 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 +} |