diff options
Diffstat (limited to 'x11-misc/dragbox/dragbox-0.4.0.ebuild')
-rw-r--r-- | x11-misc/dragbox/dragbox-0.4.0.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/x11-misc/dragbox/dragbox-0.4.0.ebuild b/x11-misc/dragbox/dragbox-0.4.0.ebuild new file mode 100644 index 000000000000..7b647d6374e0 --- /dev/null +++ b/x11-misc/dragbox/dragbox-0.4.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dragbox/dragbox-0.4.0.ebuild,v 1.1 2010/08/11 13:41:36 hwoarang Exp $ + +EAPI="2" + +PYTHON_DEPEND="2" +inherit python + +DESCRIPTION="GTK tool for connecting the commandline with the desktop environment" +HOMEPAGE="http://kaizer.se/wiki/dragbox/" +SRC_URI="http://kaizer.se/publicfiles/${PN}/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/pygtk + gnome-base/libglade + dev-python/gnome-vfs-python + dev-python/libgnome-python + dev-python/gconf-python + sys-apps/dbus + x11-libs/gtk+" +RDEPEND="${DEPEND}" + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed" +} + +pkg_postinst() { + python_mod_optimize $(python_get_sitedir)/Dragbox +} + +pkg_postrm() { + python_mod_cleanup $(python_get_sitedir)/Dragbox +} |