blob: d2c69b80e70463dae2cfb0edb973eaba815ca10e (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/noscript/noscript-1.1.4.5.ebuild,v 1.8 2006/12/22 16:07:52 tgall Exp $
inherit mozextension multilib
DESCRIPTION="Firefox plugin to disable javascript"
HOMEPAGE="https://addons.mozilla.org/firefox/722/ http://noscript.net/"
SRC_URI="http://releases.mozilla.org/pub/mozilla.org/extensions/noscript/${P}-fx+fl+mz+zm.xpi"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
RDEPEND=">=www-client/mozilla-firefox-1.5.0.7"
DEPEND="${RDEPEND}"
S=${WORKDIR}
src_unpack() {
xpi_unpack "${P}"-fx+fl+mz+zm.xpi
}
src_install() {
declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox"
xpi_install "${S}"/"${P}-fx+fl+mz+zm"
}
|