summaryrefslogtreecommitdiff
blob: 4778526253ad48e7fa10b83d5b5d71c91ed2a6fa (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.3 2006/02/15 00:45:27 flameeyes 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-${PV}"

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
}