# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ # This ebuild is a small modification of the official gnunet-gtk ebuild EAPI=5 LANGS="da de fr sv tr uk vi es" DESCRIPTION="Graphical front end for GNUnet." HOMEPAGE="http://gnunet.org/" SRC_URI="http://ftpmirror.gnu.org/gnunet/${P}.tar.gz" KEYWORDS="~amd64 ~ppc64 ~x86" LICENSE="GPL-3" SLOT="0" IUSE="+qrcode +unique +nls" for lingua in ${LANGS}; do IUSE="${IUSE} linguas_${lingua}" done src_prepare() { if use nls; then strip-linguas -u po/ fi } src_configure() { econf \ $( use_with qrcode qrencode ) \ $( use_with unique libunique ) || die "econf failed" }