summaryrefslogtreecommitdiff
blob: e7a46947936e401bdbdcadc1d0ff784b05e834d7 (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
33
34
35
# 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.4.0.ebuild,v 1.2 2003/01/03 18:50:51 bass Exp $

S="${WORKDIR}/${P}"
DESCRIPTION="Graphic ftp client written in python and gtk"
SRC_URI="mirror://sourceforge/ftpcube/${P}.tar.gz"
HOMEPAGE="http://ftpcube.sourceforge.net/"
DEPEND="dev-python/wxPython"

SLOT="0"
LICENSE="Artistic"
KEYWORDS="x86 ~sparc"

src_compile() {
	python setup.py clean || die "clean fails"
}

src_install() {
	dobin ftpcube
	dodir /usr/lib/python2.2/site-packages/libftpcube
	dodir /usr/lib/python2.2/site-packages/libftpcube/archtypes
	dodir /usr/lib/python2.2/site-packages/libftpcube/wxPyColourChooser
	insinto /usr/lib/python2.2/site-packages/libftpcube
	doins libftpcube/*
	insinto /usr/lib/python2.2/site-packages/libftpcube/archtypes
	doins libftpcube/archtypes/*
	insinto /usr/lib/python2.2/site-packages/libftpcube/wxPyColourChooser
	doins libftpcube/wxPyColourChooser/*
	dodir /usr/share/ftpcube/icons
	insinto /usr/share/ftpcube/icons
	doins icons/*
	dosym /usr/share/ftpcube/icons/ftpcube.xpm /usr/share/icons
	dodoc CHANGELOG README TODO COPYING COPYING.ICONS
}