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

Contents of /media-video/get_flash_videos/get_flash_videos-1.23-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Nov 15 13:14:36 2010 UTC (3 years, 9 months ago) by hwoarang
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable on amd64 wrt bug #343607

(Portage version: 2.1.9.24/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/media-video/get_flash_videos/get_flash_videos-1.23-r1.ebuild,v 1.3 2010/11/10 16:38:31 tomka Exp $
4
5 EAPI=2
6 inherit perl-module
7
8 DESCRIPTION="Downloads videos from various Flash-based video hosting sites"
9 HOMEPAGE="http://code.google.com/p/get-flash-videos/"
10 SRC_URI="mirror://gentoo/${P}.tar.gz"
11
12 LICENSE="Apache-2.0"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE="test"
16
17 RDEPEND="dev-perl/WWW-Mechanize
18 perl-core/Module-CoreList
19 dev-perl/HTML-TokeParser-Simple"
20 DEPEND="${RDEPEND}
21 dev-perl/UNIVERSAL-require
22 test? ( media-video/rtmpdump
23 dev-perl/Tie-IxHash
24 dev-perl/XML-Simple
25 dev-perl/Crypt-Rijndael
26 dev-perl/Data-AMF
27 perl-core/IO-Compress )"
28
29 SRC_TEST="do"
30
31 S="${WORKDIR}/monsieurvideo-get-flash-videos-9897240"
32 SRC_TEST="do"
33 mymake="default ${PN}.1"
34 myinst="DESTDIR=${D}"
35
36 src_prepare() {
37 sed -i -e 's#^check:#test:#' Makefile || die
38 # remove failling test because of missing locales
39 rm t/utils.t
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