/[gentoo-x86]/net-misc/slimrat/slimrat-1.0.ebuild
Gentoo

Contents of /net-misc/slimrat/slimrat-1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue May 31 10:28:38 2011 UTC (8 years, 6 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Migrate to eapi4, drop release that was no longer working with most services. The app is developed, but they don't do any releases.

(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/slimrat/slimrat-1.0.ebuild,v 1.1 2010/03/10 21:33:28 scarabeus Exp $
4
5 EAPI=2
6
7 inherit eutils confutils
8
9 DESCRIPTION="Linux Rapidshare downloader"
10 HOMEPAGE="http://code.google.com/p/slimrat/"
11 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
12
13 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="X"
17
18 DEPEND="
19 >=dev-lang/perl-5.10.1[ithreads]
20 >=dev-perl/WWW-Mechanize-1.52
21 virtual/perl-Getopt-Long
22 virtual/perl-Term-ANSIColor
23 X? (
24 dev-perl/gtk2-gladexml
25 dev-perl/Spiffy
26 x11-misc/xclip
27 )
28 "
29 # aview: displaying captcha
30 RDEPEND="${DEPEND}
31 media-gfx/aview
32 X? ( x11-terms/xterm )
33 "
34
35 src_install() {
36 # install binaries
37
38 exeinto "/usr/share/${PN}"
39
40 doexe "src/${PN}" || die "doexe failed"
41 dosym "/usr/share/${PN}/${PN}" "${ROOT}usr/bin/${PN}"
42
43 if use X; then
44 doexe "src/${PN}-gui" || die "doexe failed"
45 dosym "/usr/share/${PN}/${PN}-gui" "/usr/bin/${PN}-gui"
46 fi
47
48 # install data
49 insinto /etc
50 newins "${S}/slimrat.conf" slimrat.conf
51
52 insinto "/usr/share/${PN}"
53 doins -r "src/"*.pm "src/Clipboard" "src/plugins/" "src/${PN}.glade" || die "doins failed"
54 }

  ViewVC Help
Powered by ViewVC 1.1.20