diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2014-02-15 23:24:26 +0200 |
commit | 7224c1253228e5c29c78cb3f0f26ce34770f2356 (patch) | |
tree | 1684924656132935256e034f35f92abee6623265 /net-misc/hamachi-gui |
Added ebuilds for kogaion desktop
Diffstat (limited to 'net-misc/hamachi-gui')
-rw-r--r-- | net-misc/hamachi-gui/Manifest | 2 | ||||
-rw-r--r-- | net-misc/hamachi-gui/hamachi-gui-0.9.6.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/hamachi-gui/Manifest b/net-misc/hamachi-gui/Manifest new file mode 100644 index 00000000..20071729 --- /dev/null +++ b/net-misc/hamachi-gui/Manifest @@ -0,0 +1,2 @@ +DIST hamachi-gui_0.9.6.tar.gz 248476 RMD160 902d88cc0aa83fae7eea0d80c4b6314a076dcedd SHA1 3c7fdec3d26d91731deb9b8b632a35a15dc11b20 SHA256 8a66a4d6f68c32e043878def90f0533968cc564357e23edfb9c20718e32dd0c2 +EBUILD hamachi-gui-0.9.6.ebuild 830 RMD160 c3a99680388c0b94ccade1d74a975651c3096d5d SHA1 687fca95be69535fa3e4fa8095d671f6341cfbf1 SHA256 aa525261b2110f638a7b0f33d9b7c1dbe8a0ede71a4f084e4532eb853ce4c7a6 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 +} |