/[gentoo-x86]/media-video/get_flash_videos/get_flash_videos-9999.ebuild
Gentoo

Contents of /media-video/get_flash_videos/get_flash_videos-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Oct 13 20:36:17 2012 UTC (23 months ago) by zx2c4
Branch: MAIN
Since get_flash_videos is always adapting for site changes, and because no packages have been released since 2010, it makes sense to have a live ebuild, since this is what most users in the get_flash_videos community use, as well as the devs.

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

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/get_flash_videos/get_flash_videos-1.24-r1.ebuild,v 1.2 2012/04/14 18:53:53 zmedico Exp $
4
5 EAPI=2
6 inherit eutils perl-module git-2
7
8 MY_PN="App-${PN}"
9 MY_P="${MY_PN}-${PV}"
10
11 DESCRIPTION="Downloads videos from various Flash-based video hosting sites"
12 HOMEPAGE="http://code.google.com/p/get-flash-videos/"
13 EGIT_REPO_URI="git://github.com/monsieurvideo/get-flash-videos.git"
14
15 LICENSE="Apache-2.0"
16 SLOT="0"
17 KEYWORDS=""
18 IUSE="test"
19
20 RDEPEND="dev-perl/WWW-Mechanize
21 perl-core/Module-CoreList
22 dev-perl/HTML-TokeParser-Simple"
23 DEPEND="${RDEPEND}
24 dev-perl/UNIVERSAL-require
25 test? ( media-video/rtmpdump
26 dev-perl/Tie-IxHash
27 dev-perl/XML-Simple
28 dev-perl/Crypt-Rijndael
29 dev-perl/Data-AMF
30 perl-core/IO-Compress )"
31
32 SRC_TEST="do"
33
34 S="${WORKDIR}/${MY_P}"
35 SRC_TEST="do"
36 myinst="DESTDIR=${D}"
37
38 src_prepare() {
39 perl-module_src_prepare
40 }
41
42 pkg_postinst() {
43 elog "Downloading videos from RTMP server requires the following packages :"
44 elog " media-video/rtmpdump"
45 elog " dev-perl/Tie-IxHash"
46 elog "Others optional dependencies :"
47 elog " dev-perl/XML-Simple"
48 elog " dev-perl/Crypt-Rijndael"
49 elog " dev-perl/Data-AMF"
50 elog " perl-core/IO-Compress"
51 }

  ViewVC Help
Powered by ViewVC 1.1.20