summaryrefslogtreecommitdiff
blob: 2e9eac747a7bfb9e0b50133d45d489c48f829440 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt++/mlt++-20051209.ebuild,v 1.4 2006/07/17 09:49:21 zypher Exp $

DESCRIPTION="Various bindings for mlt"
HOMEPAGE="http://mlt.sourceforge.net/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
#IUSE="perl python ruby tcl"

#DEPEND="perl?	( dev-lang/swig
#				  dev-lang/perl )
#		python? ( dev-lang/swig
#				  dev-lang/python )
#		ruby?	( dev-lang/swig
#				  dev-lang/ruby )
#		tcl?	( dev-lang/swig
#				  dev-lang/tcl )
DEPEND="media-libs/mlt"

src_compile() {
#	languages=""
#	if use perl ; then languages="${languages} perl"
#	if use python ; then languages="${languages} python"
#	if use ruby ; then languages="${languages} ruby"
#	if use tcl ; then languages="${languages} tcl"
	./configure --prefix=/usr
	emake
#	if [[ -n "$languages" ]]
#	then
#		cd swig
#		./configure $languages
#		emake
#	fi
}

src_install() {
	make DESTDIR=${D} install

#	if [[ -n "$languages" ]]
#	then
#		cd swig
#		make DESTDIR=${D} install
#	fi

	dodoc README CUSTOMISING HOWTO
}