# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="A decentralized, anarchic replacement of the Internet" HOMEPAGE="http://netsukuku.freaknet.org/" SRC_URI="http://netsukuku.freaknet.org/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="doc wifi" DEPEND=" dev-libs/gmp dev-libs/openssl dev-libs/boost wifi? (net-wireless/wireless-tools)" S="${WORKDIR}/${P}" src_install() { make DESTDIR="${D}" install || die "make install failed" if use wifi; then #workaround for imperfect installation cp ${S}/src/netsukuku_wifi ${D}/usr/bin else rm -f ${D}/usr/share/man/man8/netsukuku_wifi* fi if use doc; then dodoc doc/FAQ doc/mailinglist doc/netsukuku doc/netsukuku.ita fi dodoc ChangeLog README AUTHORS src/TODO }