blob: bf9fa09e634d01c49759528617c63da72f779750 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2004 Gentoo Foundation
# 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.5 2004/06/25 03:15:13 agriffis 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"
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
}
|