Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Ebuild] transmission-svn
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Wed Feb 07, 2007 9:27 am    Post subject: [Ebuild] transmission-svn Reply with quote

transmission è un client bittorrent moooooooolto leggero e crossplatform (MacOsX e BeOS, oltre che linux). Dicono funzioni bene anche se non l'ho personalmente ancora provato. E' in portage, ma la versione svn ha qualche caratteristica in più:

supporto a UpNp
chiede ogni volta dove salvare i file
e probabilmente altro che non si può notare dall'interfaccia.

Ha un interfaccia in gtk ed una cli
Code:

onip @ Hal9000 ~ $ transmissioncli
Transmission 0.7-svn (1475) - http://transmission.m0k.org/

Usage: transmissioncli [options] file.torrent [options]

Options:
  -d, --download <int> Maximum download rate (-1 = no limit, default = -1)
  -f, --finish <shell script> Command you wish to run on completion
  -h, --help           Print this help and exit
  -i, --info           Print metainfo and exit
  -n  --nat-traversal  Attempt NAT traversal using NAT-PMP or UPnP IGD
  -p, --port <int>     Port we should listen on (default = 9090)
  -s, --scrape         Print counts of seeders/leechers and exit
  -u, --upload <int>   Maximum upload rate (-1 = no limit, default = 20)
  -v, --verbose <int>  Verbose level (0 to 2, default = 0)


Ma, bando alle ciance, ecco l'ebuild
Code:

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-9999.ebuild,v 1.2 2007/01/11 19:30:44 compnerd Exp $

inherit eutils subversion

MY_PN="Transmission"

DESCRIPTION="Simple BitTorrent client"
HOMEPAGE="http://transmission.m0k.org/"
#SRC_URI="http://download.m0k.org/transmission/files/${MY_PN}-${PV}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gtk"

RDEPEND="sys-devel/gettext
       dev-libs/openssl
       gtk? ( >=x11-libs/gtk+-2.6 )"
DEPEND="${RDEPEND}
      sys-devel/gettext
      >=dev-util/pkgconfig-0.19"

S="${WORKDIR}/${MY_PN}-${PV}"

ESVN_REPO_URI="svn://svn.m0k.org/Transmission/trunk"

src_compile() {
   econf $(use_enable gtk) || die "configure failed"
   emake || die "build failed"
}

src_install() {
   make PREFIX="${D}${ROOT}usr" LOCALEDIR="\$(PREFIX)/share/locale" install \
      || die "install failed"

   if use gtk ; then
      doicon "${FILESDIR}/transmission.png"
   fi

   dodoc AUTHORS NEWS README
}


L'ho ottenuto modificando leggermente quello in portage, quindi grazie a chi l'ha fatto.

Byez
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum


Last edited by Onip on Sun Feb 11, 2007 2:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Wed Feb 07, 2007 9:30 am    Post subject: Reply with quote

Aggiungo che bisogna copiare nella cartelle files dell'overlay i file transmission.desktop e transmission.png che si trovano in /usr/portage/net-p2p/transmission/files/.

Byez
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum