1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils qt4-r2 versionator
9 MY_PV="$(replace_version_separator 3 '.')"
10 DESCRIPTION="BSCommander is a Qt based file manager"
11 HOMEPAGE="http://www.beesoft.org/index.php?id=bsc"
12 SRC_URI="http://www.beesoft.org/download/${PN}_${MY_PV}_src.tar.gz"
17 KEYWORDS="~amd64 ~x86"
19 DEPEND="x11-libs/qt-gui:4
27 sed -i -e "/^CXXFLAGS.*/s:-pipe -O4:${CXXFLAGS}:" \
28 Makefile || die "sed failed on Makefile"
29 sed -i -e "/^QMAKE_CXXFLAGS_RELEASE.*/s:-O4:${CXXFLAGS}:" \
30 ${PN}.pro || die "sed failed on ${PN}.pro"
34 dobin ${PN} || die "dobin failed"
36 insinto /usr/share/${PN}
37 # shouldn't it be dohtml?
38 doins help.en.html || die "doins failed"
40 newicon BeesoftCommander.png ${PN}.png
41 make_desktop_entry ${PN} BSCommander ${PN} "FileManager;Utility;Qt"