summaryrefslogtreecommitdiff
blob: 35c142a92bb15d74dcbd0a7ae3d3f7c8b5940fc1 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/clive/clive-0.3.1.ebuild,v 1.1 2007/11/11 12:11:58 aballier Exp $

inherit distutils versionator

DESCRIPTION="Command line tool for extracting videos from Youtube, Google Video, Dailymotion, Guba (free) and Stage6 websites"
HOMEPAGE="http://home.gna.org/clive/"
SRC_URI="http://dl.gna.org/clive/$(get_version_component_range 1-2 ${PV})/src/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND=">=dev-python/urlgrabber-2.9.9
	>=dev-lang/python-2.4"

src_unpack() {
	distutils_src_unpack

	# dont install man, we'll use doman
	sed -i -e "s/data_files = \[.*\]/data_files = []/" setup.py
}


src_install() {
	distutils_src_install
	doman man/clive.1.gz
}