diff options
Diffstat (limited to 'dev-libs/libevent/libevent-0.7a.ebuild')
-rw-r--r-- | dev-libs/libevent/libevent-0.7a.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/libevent/libevent-0.7a.ebuild b/dev-libs/libevent/libevent-0.7a.ebuild new file mode 100644 index 000000000000..1795c992dea7 --- /dev/null +++ b/dev-libs/libevent/libevent-0.7a.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-0.7a.ebuild,v 1.1 2003/09/14 16:26:49 iggy Exp $ + +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/${P}.tar.gz" +S=${WORKDIR}/${P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~hppa ~amd64" + +IUSE="" +DEPEND="" + +src_unpack() { + unpack ${A} + cd ${S} + + # Fails to compile for me if this file exists + rm compat/sys/time.h +} + +src_compile() { + econf || die + emake || die +} + +src_install() { + dolib libevent.a + doman event.3 + insinto /usr/include + doins event.h +} |