1 |
# Copyright 1999-2011 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/youtube-dl/youtube-dl-2010.10.03.ebuild,v 1.5 2011/01/15 15:52:19 ranger Exp $ |
4 |
|
5 |
EAPI=3 |
6 |
PYTHON_DEPEND=2:2.4 |
7 |
|
8 |
inherit python |
9 |
|
10 |
DESCRIPTION="A small command-line program to download videos from YouTube." |
11 |
HOMEPAGE="http://bitbucket.org/rg3/youtube-dl/" |
12 |
SRC_URI="http://bitbucket.org/rg3/${PN}/get/${PV}.bz2 -> ${P}.tar.bz2" |
13 |
|
14 |
LICENSE="MIT" |
15 |
SLOT="0" |
16 |
KEYWORDS="amd64 hppa ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" |
17 |
IUSE="" |
18 |
|
19 |
pkg_setup() { |
20 |
python_set_active_version 2 |
21 |
} |
22 |
|
23 |
src_install() { |
24 |
newbin "${PN}/${PN}" ${PN} |
25 |
python_convert_shebangs -r 2 "${D}" |
26 |
} |