# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils qt3 DESCRIPTION="BSCommander is a QT based file manager" HOMEPAGE="http://www.beesoft.org/bsc.html" SRC_URI="http://www.beesoft.org/download/${PN}_${PV}_src.tar.gz" LICENSE="GPL-2" SLOT="0" IUSE="" KEYWORDS="~x86" DEPEND="$(qt_min_version 3.3) || ( ( x11-libs/libX11 x11-libs/libXext ) virtual/x11 )" RDEPEND="${DEPEND}" S="${WORKDIR}/${PN}" src_compile() { ${QTDIR}/bin/qmake -o Makefile bsc.pro \ QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}" \ QMAKE_RPATH= \ || die "qmake failed" emake || die "make failed" } src_install() { dobin ${PN} insinto /usr/share/${PN}/images doins images/* insinto /usr/share/${PN}/lang doins *.qm newicon BeesoftCommander.png ${PN}.png make_desktop_entry ${PN} BSCommander ${PN}.png "FileManager;Utility;Qt" dodoc ChangeLog.txt }