blob: 00af88f3371756f403d8f6e1b128e8f3036ccc68 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit autotools
DESCRIPTION="Multiplayer game network engine"
HOMEPAGE="http://www.rakkarsoft.com/"
SRC_URI="mirror://sourceforge/raknetjenkinsso/raknet-${PV}.tar.gz"
LICENSE="CCPL-Attribution-NonCommercial-2.5"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc autopatcher rakvoice"
RDEPEND=" rakvoice? ( media-libs/speex ) \
autopatcher? ( dev-db/libpq app-arch/bzip2 )"
DEPEND=" ${RDEPEND}
dev-util/pkgconfig"
src_compile() {
econf \
$(use_enable rakvoice) \
$(use_enable autopatcher) \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc readme.txt
if use doc; then
dohtml Help/*
docinto api_reference
dohtml Help/Doxygen/html/*
fi
}
|