blob: 35ec6b9851ce98b2b26fa71815a181c967ef6ea0 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/clive/clive-0.4.7.ebuild,v 1.1 2008/03/23 23:02:22 aballier Exp $
# We inherit distutils to get the pkg_* functions for byte compiling python
inherit versionator distutils
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.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="doc"
RDEPEND=">=dev-lang/python-2.4"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
src_compile() {
econf $(use_with doc)
emake || die "emake failed"
if use doc; then
emake dox || die "failed to create the documentation"
fi
}
src_test() {
./run-tests.py || die "tests failed"
}
src_install() {
emake py_compile=true DESTDIR="${D}" install || die "install failed"
dodoc AUTHORS ChangeLog README
use doc && dohtml dox/html/*
}
|