summaryrefslogtreecommitdiff
blob: 4aeb303dfaf39a2b5218061cdb33d3db3451e3a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpcube/ftpcube-0.3.2.ebuild,v 1.1 2002/06/13 15:32:29 bass Exp $ 

S=${WORKDIR}/${P}
DESCRIPTION="A graphical FTP client written in Python with GTK bindings."
SRC_URI="http://unc.dl.sourceforge.net/sourceforge/ftpcube/${P}.tar.gz"
HOMEPAGE="http://ftpcube.sourceforge.net/"
LICENSE="Artistic"
DEPEND="dev-python/pygtk"
RDEPEND="${DEPEND}"
SLOT="0"

src_unpack() {
	unpack ${P}.tar.gz
	cd ${WORKDIR}/${P}
	patch setup.cfg < ${FILESDIR}/setup.cfg.patch || die "config patch failed"
}

src_compile() {
   python setup.py build || die "make failed"
}

src_install () {
    python setup.py install || die "install failed"
#	dobin build/scripts-2.2/ftpcube
#	dodir /usr/share/ftpcube/lib/libftpcube
#	insinto /usr/share/ftpcube/lib/libftpcube
#	doins build/lib/libftpcube/*
	dodoc CHANGELOG README
}