# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Multiplayer game network engine" HOMEPAGE="http://www.jenkinssoftware.com/" SRC_URI="mirror://sourceforge/raknetjenkinsso/${P}.tar.gz" LICENSE="CCPL-Attribution-NonCommercial-2.5" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="autopatcher doc rakvoice" RDEPEND="autopatcher? ( virtual/postgresql-base app-arch/bzip2 ) rakvoice? ( media-libs/speex )" DEPEND="${RDEPEND} dev-util/pkgconfig" src_compile() { econf \ $(use_enable rakvoice) \ $(use_enable autopatcher) 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 }