blob: eb0630b1442d36d70b3050d6dc6232893ac60780 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt++/mlt++-0.3.8.ebuild,v 1.2 2009/05/16 06:52:08 aballier Exp $
EAPI=2
inherit eutils toolchain-funcs
DESCRIPTION="Various bindings for mlt"
HOMEPAGE="http://mlt.sourceforge.net/"
SRC_URI="mirror://sourceforge/mlt/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
RDEPEND=">=media-libs/mlt-0.3.8"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_prepare() {
epatch "${FILESDIR}/${PN}-0.3.8-asneeded.patch"
sed -i -e '/ldconfig/d' src/Makefile || die
}
src_compile() {
emake CXX="$(tc-getCXX)" CC="$(tc-getCXX)" || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc README CUSTOMISING HOWTO
}
|