diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/slimrat/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/slimrat/metadata.xml | 16 | ||||
-rw-r--r-- | net-misc/slimrat/slimrat-1.0.ebuild | 54 |
3 files changed, 80 insertions, 0 deletions
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 <scarabeus@gentoo.org> +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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>scarabeus@gentoo.org</email> + <name>Tomáš Chvátal</name> + <description>Proxy commiter</description> + </maintainer> + <maintainer> + <email>premek@vohnout.cz</email> + <name>Premysl Vohnout</name> + </maintainer> + <use> + <flag name='X'>Install also GUI client</flag> + </use> +</pkgmetadata> 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" +} |