diff options
Diffstat (limited to 'net-misc/slimrat')
-rw-r--r-- | net-misc/slimrat/Manifest | 4 | ||||
-rw-r--r-- | net-misc/slimrat/metadata.xml | 15 | ||||
-rw-r--r-- | net-misc/slimrat/slimrat-9999.ebuild | 59 |
3 files changed, 78 insertions, 0 deletions
diff --git a/net-misc/slimrat/Manifest b/net-misc/slimrat/Manifest new file mode 100644 index 000000000000..8bd1ba815dcd --- /dev/null +++ b/net-misc/slimrat/Manifest @@ -0,0 +1,4 @@ +EBUILD slimrat-9999.ebuild 1081 SHA256 baae7d2d04eb130b94eb56aab91c10a3425277c33ce4d88b19de1e517f2fe0fe SHA512 e6e17e8f17ffbc31261556098147f20b9b2eeac032a7c7f6c5aaa69128abec116a702b1dc1a3bd3c33ccf63d457019377ed440ad123117cc801eb6d7511f91b4 WHIRLPOOL 09abe6d5a9a15a186fd6385ad3bfc4a36631bcd31b1ea83eb91dd19bd6048418a890c813c723610f1723f243c1b6e6d3642733e80895dc14baa30ad5448f7673 +MISC ChangeLog 3134 SHA256 3d336401e45f2639a212bcf511685d17cec82fbc080c90b42cb657e2324e0eb9 SHA512 9c60ecffbcaa3a94fb9f5050b8541a6524bef533eeb3330e2995f2537dbd3b123524e6290cdd5035b6306977e287e67d9922ae28aa8ff37d0321ad5ad3613cd7 WHIRLPOOL 6b3121a8a2df4e4ce8203e2050c61fc5e8091ccfd3a6ae2e70c90fa45826c51191b54208898dc4c1c41e025679f89d2430cdf1ffd3df4b9d9776e8c624147953 +MISC ChangeLog-2015 1183 SHA256 e6555cbd5f46c3523264f0fe907343df515d4a34455db2c551f5a781578b6624 SHA512 0114861e04bb07b5dbff1f443be0f16a4c2d27cf29529cf055acc15097effb3f9e28db10741fc56c196daad7610e39de05d1538b0adcfe66e6798eebaba65125 WHIRLPOOL d9ac153c3d1af9b70737158727a66d5871bced6f59ffd5c6e9af2b0ee7828deac1e10eba94cc13799d2a7cf1ccd075ae5c16cb288897eb12319af69e9aeeb864 +MISC metadata.xml 428 SHA256 221095b9bcb2bfaa590bd4fb9cde883c9545c0f4b6c74d194f13a0705b9c96bd SHA512 d33fb9e1cea64687c186691486d7b3d77ddd1b39ede452a402eb4f70a09b56b07ef050fb9cc52e1c1c036e172282eefc1735ed542b99cf7ce4682f137e8a0f12 WHIRLPOOL b18d5973daf1eb1b367a3635174ab9f271489d0fb938ed3dd4170c61b7e9eb661cdfe6b51f86fdc23d72893522514801a647e2733c40a2e571e44f69fe430e32 diff --git a/net-misc/slimrat/metadata.xml b/net-misc/slimrat/metadata.xml new file mode 100644 index 000000000000..233beb5746c2 --- /dev/null +++ b/net-misc/slimrat/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>premek@vohnout.cz</email> + <name>Premysl Vohnout</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="X">Install also GUI client</flag> + </use> +</pkgmetadata> diff --git a/net-misc/slimrat/slimrat-9999.ebuild b/net-misc/slimrat/slimrat-9999.ebuild new file mode 100644 index 000000000000..2329d5f339e3 --- /dev/null +++ b/net-misc/slimrat/slimrat-9999.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils subversion + +DESCRIPTION="Linux Rapidshare downloader" +HOMEPAGE="https://code.google.com/p/slimrat/" +SRC_URI="" +ESVN_REPO_URI="https://${PN}.googlecode.com/svn/trunk/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="X" + +DEPEND=" + >=dev-lang/perl-5.10.1[ithreads] + dev-perl/JSON + >=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_prepare() { + esvn_clean +} + +src_install() { + # install binaries + + exeinto "/usr/share/${PN}" + + doexe "src/${PN}" + dosym "/usr/share/${PN}/${PN}" "${ROOT}usr/bin/${PN}" + + if use X; then + doexe "src/${PN}-gui" + 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/plugins/" "src/${PN}.glade" +} |