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

Contents of /www-plugins/mozplugger/mozplugger-1.14.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Mon May 7 16:30:08 2012 UTC (2 years, 7 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
punt old versions still using xulrunner wrt bug #403415

(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)

1 mgorny 1.3 # Copyright 1999-2011 Gentoo Foundation
2 phajdan.jr 1.1 # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.4 # $Header: /var/cvsroot/gentoo-x86/www-plugins/mozplugger/mozplugger-1.14.2.ebuild,v 1.3 2011/01/15 10:37:14 mgorny Exp $
4 phajdan.jr 1.1
5     EAPI=2
6 anarchy 1.2 inherit eutils multilib toolchain-funcs
7 phajdan.jr 1.1
8     DESCRIPTION="Configurable browser plugin to launch streaming media players."
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 mgorny 1.3 DEPEND="${RDEPEND}"
19 phajdan.jr 1.1
20     src_prepare() {
21 anarchy 1.2 epatch "${FILESDIR}/${PN}-1.14.2-fix-nsplugin-install.patch"
22 phajdan.jr 1.1 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