# HG changeset patch # User Christophe Lincoln # Date 1227625893 -3600 # Node ID 67ac2aebcfad6de460ffd792c95c55b9138c74c0 # Parent 2f406a6d94db48f0f7f861a9167176aedb739587 Up: ctorrent-dnh (3.3.2) + include torrentbox diff -r 2f406a6d94db -r 67ac2aebcfad ctorrent-dnh/receipt --- a/ctorrent-dnh/receipt Tue Nov 25 16:03:52 2008 +0100 +++ b/ctorrent-dnh/receipt Tue Nov 25 16:11:33 2008 +0100 @@ -1,17 +1,18 @@ # SliTaz package receipt. PACKAGE="ctorrent-dnh" -VERSION="3.3" +VERSION="3.3.2" CATEGORY="network" SHORT_DESC="Command line Bittorrent client." MAINTAINER="pankso@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.bz2" +TARBALL="${PACKAGE}$VERSION.tar.gz" WEB_SITE="http://www.rahul.net/dholmes/ctorrent/" -WGET_URL="http://download.tuxfamily.org/slitaz/sources/packages/c/$TARBALL" +WGET_URL="$SF_MIRROR/dtorrent/$TARBALL" # Rules to configure and make the package. compile_rules() { + mv ${PACKAGE}$VERSION $PACKAGE-$VERSION 2>/dev/null cd $src ./configure \ --prefix=/usr \ @@ -26,4 +27,6 @@ { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr + # Torrentbox + cp stuff/torrentbox $fs/usr/bin } diff -r 2f406a6d94db -r 67ac2aebcfad ctorrent-dnh/stuff/torrentbox --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ctorrent-dnh/stuff/torrentbox Tue Nov 25 16:11:33 2008 +0100 @@ -0,0 +1,80 @@ +#! /bin/sh +# +# Gtkdialog box to dl a torrent file with ctorrent throught a Xterm. +# - SliTaz GNU/Linux 2008. +# +VERSION=2008041 + +mkdir -p ~/Downloads +cd ~/Downloads + +# We need at least a torrent filename. +# +export MOUNT_DIALOG=' + + + + + + + + + + + + + + + + + DL_OPTS + + + + + + + + + + + + TORRENT + + + + + + + + + + + + +' + +# Execute main dialog. +gtkdialog --program=MOUNT_DIALOG + +exit 0