blob: 448423cd47961e8631755ec1e44b4c3c6a2989cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/yaydl/yaydl-1.4_alpha.ebuild,v 1.1 2010/02/24 22:05:16 volkmar Exp $
EAPI="2"
MY_PV="1.4a"
MY_P=${PN}-${MY_PV}
DESCRIPTION="Yet Another Youtube DownLoader which is downloading more than youtube"
HOMEPAGE="http://pdes-net.org/x-haui/"
SRC_URI="http://pdes-net.org/x-haui/scripts/perl/yaydl_youtubedownloader/${MY_P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE="encode soundextract"
DEPEND=""
RDEPEND="dev-lang/perl
dev-perl/LWP-UserAgent-Determined
dev-perl/MP3-Info
dev-perl/Term-ProgressBar
dev-perl/URI
encode? ( || ( media-video/ffmpeg[encode]
media-video/mplayer[encode,mp3,xvid] ) )
soundextract? ( || ( media-video/ffmpeg[encode,mp3]
( media-video/mplayer media-sound/lame ) ) )"
S=${WORKDIR}/${MY_P}
src_install() {
exeinto /usr/bin
newexe ${PN}.pl ${PN} || die "newexe failed"
dodoc changelog README || die "dodoc failed"
}
pkg_postinst() {
elog "${PN} is supporting a lot of video websites."
elog "Look at ${HOMEPAGE} for more information."
}
|