31 lines
840 B
Bash
31 lines
840 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sys-apps/qdiskusage/qdiskusage-1.0.4.ebuild,v 1.3 2010/07/14 13:23:24 fauli Exp $
|
|
|
|
EAPI="2"
|
|
inherit eutils qt4-r2
|
|
|
|
MY_PN="QDiskUsage"
|
|
MY_P="${MY_PN}-${PV}"
|
|
|
|
DESCRIPTION="Qt4 Graphical Disk Usage Analyzer"
|
|
HOMEPAGE="http://www.qt-apps.org/content/show.php/QDiskUsage?content=107012"
|
|
SRC_URI="http://qt-apps.org/CONTENT/content-files/107012-${MY_P}.zip"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE="debug"
|
|
|
|
RDEPEND="x11-libs/qt-gui:4"
|
|
DEPEND="${RDEPEND}
|
|
app-arch/unzip"
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
src_install(){
|
|
newicon icon.png ${PN}.png || die "newicon failed"
|
|
newbin ${MY_PN} ${PN} || die "newbin failed"
|
|
dodoc README || die "dodoc failed"
|
|
make_desktop_entry ${PN} "QDiskUsage" ${PN}
|
|
}
|