From 7224c1253228e5c29c78cb3f0f26ce34770f2356 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 15 Feb 2014 23:24:26 +0200 Subject: Added ebuilds for kogaion desktop --- net-misc/hamachi-gui/hamachi-gui-0.9.6.ebuild | 41 +++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 net-misc/hamachi-gui/hamachi-gui-0.9.6.ebuild (limited to 'net-misc/hamachi-gui/hamachi-gui-0.9.6.ebuild') diff --git a/net-misc/hamachi-gui/hamachi-gui-0.9.6.ebuild b/net-misc/hamachi-gui/hamachi-gui-0.9.6.ebuild new file mode 100644 index 00000000..313246e4 --- /dev/null +++ b/net-misc/hamachi-gui/hamachi-gui-0.9.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Hamachi-GUI is a free, fully functional GTK-interface for hamachi" +HOMEPAGE="http://hamachi-gui.sourceforge.net/" +MY_P="${PN}_${PV}" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +LANGS="bg de es fr it no pl sk sv" + +for X in ${LANGS} ; do + IUSE="${IUSE} linguas_${X}" +done + + +DEPEND="net-misc/hamachi + x11-libs/gtk+" +RDEPEND="${DEPEND}" + +src_compile() { + econf + emake || die "emake failed" +} + +src_install() { +emake DESTDIR="${D}" install + +for x in `ls ${D}/usr/share/locale/` ; do + USELANG="" + for y in ${LINGUAS} ; do + [[ ${x} == ${y} ]] && USELANG="yes" + done + + [[ ${USELANG} != "yes" ]] && rm -r ${D}/usr/share/locale/${x} +done +} -- cgit v1.2.3