summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-ftp/ftpcube/ftpcube-0.3.2.ebuild34
1 files changed, 15 insertions, 19 deletions
diff --git a/net-ftp/ftpcube/ftpcube-0.3.2.ebuild b/net-ftp/ftpcube/ftpcube-0.3.2.ebuild
index 4aeb303dfaf3..22b1a91fca92 100644
--- a/net-ftp/ftpcube/ftpcube-0.3.2.ebuild
+++ b/net-ftp/ftpcube/ftpcube-0.3.2.ebuild
@@ -1,32 +1,28 @@
# 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 $
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpcube/ftpcube-0.3.2.ebuild,v 1.2 2002/06/16 23:53:35 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/"
+S="${WORKDIR}/${P}"
+DESCRIPTION="Graphic ftp client written in python and gtk"
+SRC_URI="mirror://sourceforge/ftpcube/${P}.tar.gz"
+HOMEPAGE="ftpcube.sf.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"
+ unpack "${P}.tar.gz"
+ cd "${S}"
+ patch setup.cfg < ${FILESDIR}/setup.cfg.patch || die "patch failed"
}
src_compile() {
- python setup.py build || die "make failed"
+ python setup.py clean || die "clean fails"
+ python setup.py build || die "build failled"
}
-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
+src_install() {
+ python setup.py install || die "install failled"
+ dosym /usr/share/ftpcube/icons/ftpcube.xpm /usr/share/icons
+ dodoc CHANGELOG COPYING PKG-INFO README
}
-