Files
sablink-distro/app-misc/bleachbit/bleachbit-0.8.7.ebuild
T
Sławomir Nizio efd68084fb [app-misc/bleachbit] version bump to 0.8.7
Sourced from `roslin' overlay.
2011-05-18 22:09:49 +02:00

51 lines
940 B
Bash

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
inherit eutils 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
dev-python/simplejson
dev-lang/python[sqlite,xml]"
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} || die
doicon ${PN}.png || die
insinto /usr/share/applications
doins ${PN}.desktop || die
insinto /usr/share/data/${PN}
doins -r cleaners || die
if use nls ; then
cd "${S}/po"
emake DESTDIR="${D}" install || die "translation install failed"
fi
}