From 58d3c4210d8b9d58a518af48bc432bcb45ee5bf5 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Wed, 10 Mar 2010 21:33:28 +0000 Subject: Initial commit. Per bug #247580. (Portage version: 2.2_rc66/cvs/Linux i686) --- net-misc/slimrat/ChangeLog | 10 +++++++ net-misc/slimrat/metadata.xml | 16 +++++++++++ net-misc/slimrat/slimrat-1.0.ebuild | 54 +++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 net-misc/slimrat/ChangeLog create mode 100644 net-misc/slimrat/metadata.xml create mode 100644 net-misc/slimrat/slimrat-1.0.ebuild (limited to 'net-misc') diff --git a/net-misc/slimrat/ChangeLog b/net-misc/slimrat/ChangeLog new file mode 100644 index 000000000000..422d3b6320ca --- /dev/null +++ b/net-misc/slimrat/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/slimrat +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/slimrat/ChangeLog,v 1.1 2010/03/10 21:33:28 scarabeus Exp $ + +*slimrat-1.0 (10 Mar 2010) + + 10 Mar 2010; Tomáš Chvátal +slimrat-1.0.ebuild, + +metadata.xml: + Initial commit. Per bug #247580. + diff --git a/net-misc/slimrat/metadata.xml b/net-misc/slimrat/metadata.xml new file mode 100644 index 000000000000..ce3d86711b79 --- /dev/null +++ b/net-misc/slimrat/metadata.xml @@ -0,0 +1,16 @@ + + + + + scarabeus@gentoo.org + Tomáš Chvátal + Proxy commiter + + + premek@vohnout.cz + Premysl Vohnout + + + Install also GUI client + + diff --git a/net-misc/slimrat/slimrat-1.0.ebuild b/net-misc/slimrat/slimrat-1.0.ebuild new file mode 100644 index 000000000000..4466add312fd --- /dev/null +++ b/net-misc/slimrat/slimrat-1.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/slimrat/slimrat-1.0.ebuild,v 1.1 2010/03/10 21:33:28 scarabeus Exp $ + +EAPI=2 + +inherit eutils confutils + +DESCRIPTION="Linux Rapidshare downloader" +HOMEPAGE="http://code.google.com/p/slimrat/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X" + +DEPEND=" + >=dev-lang/perl-5.10.1[ithreads] + >=dev-perl/WWW-Mechanize-1.52 + virtual/perl-Getopt-Long + virtual/perl-Term-ANSIColor + X? ( + dev-perl/gtk2-gladexml + dev-perl/Spiffy + x11-misc/xclip + ) +" +# aview: displaying captcha +RDEPEND="${DEPEND} + media-gfx/aview + X? ( x11-terms/xterm ) +" + +src_install() { + # install binaries + + exeinto "/usr/share/${PN}" + + doexe "src/${PN}" || die "doexe failed" + dosym "/usr/share/${PN}/${PN}" "${ROOT}usr/bin/${PN}" + + if use X; then + doexe "src/${PN}-gui" || die "doexe failed" + dosym "/usr/share/${PN}/${PN}-gui" "/usr/bin/${PN}-gui" + fi + + # install data + insinto /etc + newins "${S}/slimrat.conf" slimrat.conf + + insinto "/usr/share/${PN}" + doins -r "src/"*.pm "src/Clipboard" "src/plugins/" "src/${PN}.glade" || die "doins failed" +} -- cgit v1.2.3-65-gdbad