blob: 190a957abbfc0baf2dfda47de3fc8df099805f9f (
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
|
# 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.7 2004/08/13 09:19:33 mr_bones_ 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"
IUSE=""
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_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc *.txt README
}
|