diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-05-13 19:15:50 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-05-13 19:15:50 +0000 |
commit | e416c3d8c774fa55d2d9828cb7aa39047be0f2bd (patch) | |
tree | 654f50e9b2a8826a9e8665bebff0f57505ed4f6b /dev-libs/libevent | |
parent | Mask multilib libevent & unbound before committing. (diff) | |
download | gentoo-2-e416c3d8c774fa55d2d9828cb7aa39047be0f2bd.tar.gz gentoo-2-e416c3d8c774fa55d2d9828cb7aa39047be0f2bd.tar.bz2 gentoo-2-e416c3d8c774fa55d2d9828cb7aa39047be0f2bd.zip |
Enable multilib support, bug #499382.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-libs/libevent')
-rw-r--r-- | dev-libs/libevent/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/libevent/libevent-2.0.21-r1.ebuild | 59 | ||||
-rw-r--r-- | dev-libs/libevent/libevent-2.1.4-r1.ebuild | 58 |
3 files changed, 125 insertions, 1 deletions
diff --git a/dev-libs/libevent/ChangeLog b/dev-libs/libevent/ChangeLog index 31e6f6e4e685..42731bfb1dbf 100644 --- a/dev-libs/libevent/ChangeLog +++ b/dev-libs/libevent/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/libevent # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.266 2014/03/21 17:46:55 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.267 2014/05/13 19:15:50 mgorny Exp $ + +*libevent-2.1.4-r1 (13 May 2014) +*libevent-2.0.21-r1 (13 May 2014) + + 13 May 2014; Michał Górny <mgorny@gentoo.org> +libevent-2.0.21-r1.ebuild, + +libevent-2.1.4-r1.ebuild: + Enable multilib support, bug #499382. *libevent-2.1.4 (21 Mar 2014) diff --git a/dev-libs/libevent/libevent-2.0.21-r1.ebuild b/dev-libs/libevent/libevent-2.0.21-r1.ebuild new file mode 100644 index 000000000000..2240822e1b9f --- /dev/null +++ b/dev-libs/libevent/libevent-2.0.21-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.0.21-r1.ebuild,v 1.1 2014/05/13 19:15:50 mgorny Exp $ + +EAPI=5 +inherit eutils libtool multilib-minimal + +MY_P="${P}-stable" + +DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor" +HOMEPAGE="http://libevent.org/" +SRC_URI="mirror://github/${PN}/${PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~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[${MULTILIB_USEDEP}] )" +RDEPEND=" + ${DEPEND} + !<=dev-libs/9libs-1.0 +" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/event2/event-config.h +) + +S=${WORKDIR}/${MY_P} + +DOCS=( README ChangeLog ) + +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" +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + econf \ + $(use_enable static-libs static) \ + $(use_enable ssl openssl) +} + +src_test() { + # The test suite doesn't quite work (see bug #406801 for the latest + # installment in a riveting series of reports). + : + # emake -C test check | tee "${T}"/tests +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/libevent/libevent-2.1.4-r1.ebuild b/dev-libs/libevent/libevent-2.1.4-r1.ebuild new file mode 100644 index 000000000000..78d0daa11049 --- /dev/null +++ b/dev-libs/libevent/libevent-2.1.4-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-2.1.4-r1.ebuild,v 1.1 2014/05/13 19:15:50 mgorny Exp $ + +EAPI=5 +inherit eutils libtool multilib-minimal + +MY_P="${P}-alpha" + +DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor" +HOMEPAGE="http://libevent.org/" +SRC_URI="mirror://sourceforge/levent/files/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="" +IUSE="+ssl static-libs test" + +DEPEND="ssl? ( dev-libs/openssl[${MULTILIB_USEDEP}] )" +RDEPEND=" + ${DEPEND} + !<=dev-libs/9libs-1.0 +" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/event2/event-config.h +) + +S=${WORKDIR}/${MY_P} + +src_prepare() { + elibtoolize + sed -i -e '/^all:/s|tests||g' Makefile.nmake || die +} + +multilib_src_configure() { + # fix out-of-source builds + mkdir -p test || die + + ECONF_SOURCE="${S}" \ + econf \ + $(use_enable static-libs static) \ + $(use_enable ssl openssl) +} + +src_test() { + # The test suite doesn't quite work (see bug #406801 for the latest + # installment in a riveting series of reports). + : + # emake -C test check | tee "${T}"/tests +} + +DOCS=( ChangeLog{,-1.4,-2.0} ) + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} |