blob: 953eea32f52352a8566955dc01e00f69edb37348 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-plugins/mozplugger/mozplugger-1.14.2.ebuild,v 1.2 2010/12/04 14:43:32 anarchy Exp $
EAPI=2
inherit eutils multilib toolchain-funcs
DESCRIPTION="Configurable browser plugin to launch streaming media players."
SRC_URI="http://mozplugger.mozdev.org/files/${P}.tar.gz"
HOMEPAGE="http://mozplugger.mozdev.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
IUSE=""
RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}
net-libs/xulrunner:1.9"
src_prepare() {
epatch "${FILESDIR}/${PN}-1.14.2-fix-nsplugin-install.patch"
sed -i "s:libprefix=.*:libprefix=/$(get_libdir):" Makefile
}
src_compile() {
emake \
CC="$(tc-getCC)" \
LD="$(tc-getCC)" \
RPM_OPT_FLAGS="${CFLAGS}" \
XCFLAGS="-fPIC -Wall" \
COMMON_LDFLAGS="${LDFLAGS}" \
all || die
}
src_install() {
emake root="${D}" install || die
dodoc ChangeLog README
}
|