summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/bittorrent-theshadow/bittorrent-theshadow-5.8.3.ebuild')
-rw-r--r--net-p2p/bittorrent-theshadow/bittorrent-theshadow-5.8.3.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/net-p2p/bittorrent-theshadow/bittorrent-theshadow-5.8.3.ebuild b/net-p2p/bittorrent-theshadow/bittorrent-theshadow-5.8.3.ebuild
index 3375917e4df5..c7f9591b3bf8 100644
--- a/net-p2p/bittorrent-theshadow/bittorrent-theshadow-5.8.3.ebuild
+++ b/net-p2p/bittorrent-theshadow/bittorrent-theshadow-5.8.3.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2003 Gentoo Technologies, Inc., Okrain Genady (^Mafteah), and Luke-Jr
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent-theshadow/bittorrent-theshadow-5.8.3.ebuild,v 1.1 2003/10/03 13:40:26 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent-theshadow/bittorrent-theshadow-5.8.3.ebuild,v 1.2 2003/10/03 13:49:42 luke-jr Exp $
inherit distutils
S=${WORKDIR}/bittorrent-CVS-shadowsclient
DESCRIPTION="BitTorrent is a tool for distributing files via a distributed network of nodes"
-SRC_URI="http://home.elp.rr.com/tur/BitTorrent-experimental-S-${PV}.zip"
+SRC_URI="http://home.elp.rr.com/tur/BitTorrent-experimental-S-${PV}.tar.gz"
HOMEPAGE="http://bt.degreez.net/"
SLOT="0"
LICENSE="MIT"
@@ -31,11 +31,9 @@ src_unpack() {
unpack ${A}
cd ${S}
for f in `find -name \*.txt -or -name \*.py`; do
- tr -d '\r' < "$f" |
- sed "s/PSYCO.psyco/$((`use nopsyco&&echo -1`+1))/g" |
+ sed "s/PSYCO.psyco/$((`use nopsyco&&echo -1`+1))/g" < "$f" |
grep -v 'import PSYCO' |
- sed 's/basepath=os\.path\.abspath(os\.path\.dirname(sys\.argv\[0\]))/basepath="\/usr\/share\/pixmaps\/bittorrent"/' |
- sed 's/wxConfig(\"BitTorrent\")/wxConfig(\"BitTorrent\", style=wxCONFIG_USE_LOCAL_FILE)/' \
+ sed 's/basepath=os\.path\.abspath(os\.path\.dirname(sys\.argv\[0\]))/basepath="\/usr\/share\/pixmaps\/bittorrent"/' \
> "$f".new
mv "$f".new "$f"
done