Files
for-gentoo/app-misc/bleachbit/bleachbit-0.7.2.ebuild
T
Mitch Harder fc60cd71ca [app-misc/bleachbit] Added app-misc/bleachbit-0.7.2 ebuild.
Per Sabayon Bugzilla package request (bug 718), I'm adding an ebuild
for app-misc/bleachbit-0.7.2, borrowed from the roslin overlay
(http://gitorious.org/roslin/roslin).
2010-02-12 17:10:12 -06:00

47 lines
845 B
Bash

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit distutils
DESCRIPTION="Free disk space and maintain privacy"
HOMEPAGE="http://bleachbit.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
RDEPEND="dev-python/pygtk"
DEPEND="sys-devel/gettext
${RDEPEND}"
src_compile() {
distutils_src_compile
if use nls ;
then
cd "${S}/po"
emake || die "make translations failed"
fi
}
src_install() {
distutils_src_install
newbin ${PN}.py ${PN}
doicon ${PN}.png
insinto /usr/share/applications
doins ${PN}.desktop
insinto /usr/share/data/${PN}
doins -r cleaners
if use nls ; then
cd "${S}/po"
emake DESTDIR="${D}" install || die "translation install failed"
fi
}