/[gentoo-x86]/www-plugins/mozplugger/mozplugger-1.14.0-r1.ebuild
Gentoo

Contents of /www-plugins/mozplugger/mozplugger-1.14.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jul 24 03:48:49 2010 UTC (4 years, 4 months ago) by chutzpah
Branch: MAIN
Revision bump, remove useless /usr/lib/mozilla/plugins symlink and make sure that the plugins go to the right libdir. Clean out some older versions.
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-plugins/mozplugger/mozplugger-1.14.0.ebuild,v 1.1 2010/07/21 00:16:28 chutzpah Exp $
4
5 EAPI=2
6 inherit nsplugins multilib toolchain-funcs
7
8 DESCRIPTION="Streaming media plugin for Mozilla, based on netscape-plugger"
9 SRC_URI="http://mozplugger.mozdev.org/files/${P}.tar.gz"
10 HOMEPAGE="http://mozplugger.mozdev.org/"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
15 IUSE=""
16
17 RDEPEND="x11-libs/libX11"
18 DEPEND="${RDEPEND}
19 net-libs/xulrunner:1.9"
20
21 src_prepare() {
22 sed -i "s:libprefix=.*:libprefix=/$(get_libdir):" Makefile
23 }
24
25 src_compile() {
26 emake \
27 CC="$(tc-getCC)" \
28 LD="$(tc-getCC)" \
29 RPM_OPT_FLAGS="${CFLAGS}" \
30 XCFLAGS="-fPIC -Wall" \
31 COMMON_LDFLAGS="${LDFLAGS}" \
32 all || die
33 }
34
35 src_install() {
36 emake root="${D}" install || die
37 dodoc ChangeLog README
38 }

  ViewVC Help
Powered by ViewVC 1.1.20