# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit eutils DESCRIPTION="MUTE anonymous P2P network client" HOMEPAGE="http://kommute.sourceforge.net/" SRC_URI="http://dl.sourceforge.net/sourceforge/${PN}/${P/_p/-}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" S=${WORKDIR}/kommute/kommute src_unpack() { unpack ${A} || die "unpack failed" cd ${S} } src_compile() { qmake || die "qmake failed" emake || die "make failed" } src_install() { emake DESTDIR="${D}" install || die "make install failed" mkdir -p "${D}/usr/lib64" cp "${S}/src/"*".o" "${D}/usr/lib" mkdir -p "${D}/usr/bin" cp "${S}/src/kommute" "${D}/usr/bin" }