1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils python multilib
7 DESCRIPTION="FTP client in Python and GTK."
8 HOMEPAGE="http://foff.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
13 KEYWORDS="~amd64 ~x86"
17 DEPEND=">=dev-lang/python-2.3
18 >=dev-python/pygtk-2.6"
22 dodir "/usr/$(get_libdir)/${PN}"
23 insinto "/usr/$(get_libdir)/${PN}"
24 doins *.py foff_logo00.png *.glade *.gladep Copying.txt
26 # The app needs to be executed from the installed dir
27 echo -e "#!/bin/bash \ncd "/usr/$(get_libdir)/${PN}" \n\
28 /usr/bin/python ${PN}.py" >> foff
32 dodoc Readme.txt ChangeLog.txt
36 python_mod_optimize "${ROOT}usr/$(get_libdir)/${PN}"
40 python_mod_cleanup "${ROOT}usr/$(get_libdir)/${PN}"