2006-02-23 15:26:10 +00:00
|
|
|
# Description: Swarming peer-to-peer download tool
|
|
|
|
# URL: http://www.bittorrent.com/
|
2006-10-10 03:30:03 +00:00
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot nu
|
2006-10-10 16:48:29 +00:00
|
|
|
# Depends on: python, twisted-core, pycrypto
|
2006-02-23 15:26:10 +00:00
|
|
|
# Nice to have: pygtk
|
|
|
|
|
|
|
|
name=bittorrent
|
2006-10-10 03:30:03 +00:00
|
|
|
version=4.20.6
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2006-10-10 03:30:03 +00:00
|
|
|
source=(http://download.bittorrent.com/dl/BitTorrent-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2006-10-10 03:30:03 +00:00
|
|
|
cd BitTorrent-$version
|
|
|
|
:> makei18n.sh
|
2006-11-06 11:23:11 -06:00
|
|
|
cp BitTorrent/__init__.py{,.orig}
|
|
|
|
sed -i -e '94,95d' BitTorrent/__init__.py
|
2006-10-10 03:30:03 +00:00
|
|
|
python setup.py install --root=$PKG
|
|
|
|
rm -rf $PKG/usr/share/doc $PKG/usr/share/locale
|
2006-11-06 11:23:11 -06:00
|
|
|
cp -f BitTorrent/__init__.py.orig \
|
|
|
|
$PKG/usr/lib/python2.4/site-packages/BitTorrent/__init__.py
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|