blob: e9086692a163db1c199188cd07c2047c572d379a (
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
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/enet/enet-0_pre20031103.ebuild,v 1.5 2004/06/24 23:10:57 agriffis Exp $
#ECVS_SERVER=sferik.cubik.org:/home/enet/cvsroot
#ECVS_USER=anoncvs
ECVS_MODULE=enet
#inherit cvs
DESCRIPTION="relatively thin, simple and robust network communication layer on top of UDP"
HOMEPAGE="http://enet.cubik.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~ppc"
DEPEND=">=sys-devel/autoconf-2.58"
RDEPEND=""
S=${WORKDIR}/${ECVS_MODULE}
src_unpack() {
if [ -z "${ECVS_SERVER}" ] ; then
unpack ${A}
else
cvs_src_unpack
fi
cd ${S}
export WANT_AUTOCONF=2.5
aclocal || die "aclocal"
automake -a || die "automake"
autoconf || die "autoconf"
}
src_compile() {
econf || die
emake || die
}
src_install() {
emake install DESTDIR=${D} || die
dodoc *.txt README
}
|