diff options
author | Jeroen Roovers <jer@gentoo.org> | 2009-11-18 14:42:50 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2009-11-18 14:42:50 +0000 |
commit | c994d2eb1a3a490c1849054acbbc2454d86cfa7d (patch) | |
tree | 0d3eaf194a34cea5630d3f94765bf1133728ed05 /dev-libs | |
parent | Stable for ppc. (diff) | |
download | gentoo-2-c994d2eb1a3a490c1849054acbbc2454d86cfa7d.tar.gz gentoo-2-c994d2eb1a3a490c1849054acbbc2454d86cfa7d.tar.bz2 gentoo-2-c994d2eb1a3a490c1849054acbbc2454d86cfa7d.zip |
Version bump.
(Portage version: 2.2_rc50/cvs/Linux i686)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libevent/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/libevent/libevent-1.4.13.ebuild | 53 |
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-libs/libevent/ChangeLog b/dev-libs/libevent/ChangeLog index 483b21763511..3476cb619a43 100644 --- a/dev-libs/libevent/ChangeLog +++ b/dev-libs/libevent/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/libevent # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.136 2009/09/14 01:37:52 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.137 2009/11/18 14:42:50 jer Exp $ + +*libevent-1.4.13 (18 Nov 2009) + + 18 Nov 2009; Jeroen Roovers <jer@gentoo.org> +libevent-1.4.13.ebuild: + Version bump. 14 Sep 2009; Jeroen Roovers <jer@gentoo.org> -libevent-1.4.10.ebuild, -libevent-1.4.11.ebuild, -libevent-1.4.11-r1.ebuild, diff --git a/dev-libs/libevent/libevent-1.4.13.ebuild b/dev-libs/libevent/libevent-1.4.13.ebuild new file mode 100644 index 000000000000..46a796e3607c --- /dev/null +++ b/dev-libs/libevent/libevent-1.4.13.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-1.4.13.ebuild,v 1.1 2009/11/18 14:42:50 jer Exp $ + +inherit 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="http://monkey.org/~provos/${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" +IUSE="" + +DEPEND="" +RDEPEND="!dev-libs/9libs" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + prevver=$(best_version ${CATEGORY}/${PN}) +} + +src_unpack() { + unpack ${A} + cd "${S}" + # don't waste time building tests/samples + sed -i \ + -e 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' \ + -e 's/libevent_extra_la_LIBADD =/& libevent.la/' \ + Makefile.am || die "sed Makefile.am failed" + + eautoreconf +} + +src_test() { + einfo "Building tests" + cd test + make test || die "failed to build tests" + + einfo "Running tests" + ./test.sh > "${T}"/tests + cat "${T}"/tests + grep FAILED "${T}"/tests &>/dev/null && die "1 or more tests failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc README ChangeLog +} |