# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit autotools eutils fdo-mime subversion DESCRIPTION="A lightweight GTK+ based clipboard manager" HOMEPAGE="http://parcellite.sourceforge.net/" ESVN_REPO_URI="https://parcellite.svn.sourceforge.net/svnroot/parcellite/trunk" LICENSE="GPL-3" SLOT="0" KEYWORDS="" IUSE="nls" RDEPEND="x11-libs/gtk+:2 dev-libs/glib:2" DEPEND="${RDEPEND} dev-util/pkgconfig nls? ( sys-devel/gettext dev-util/intltool )" src_prepare() { eautoreconf einfo "Running intltoolize ..." intltoolize --force --copy --automake || die strip-linguas -i "${S}/po" } src_configure() { econf --disable-dependency-tracking $(use_enable nls) } src_install() { emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README TODO || die } pkg_postinst() { fdo-mime_desktop_database_update } pkg_postrm() { fdo-mime_desktop_database_update }