xss-me: fixed dependancy

This commit is contained in:
Zero_Chaos 2010-09-07 16:00:25 +00:00
parent f628dcd5ff
commit e1a259f8f3
2 changed files with 45 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST xss_me-0.4.3-fx.xpi 115767 RMD160 0d3fc5244175c078664ba45adc381f29efd836e6 SHA1 5f2599be15fca2b5d8de06a360927f5f13cbd4f0 SHA256 8ab60fd0014617eda3f4833f587d63d11483f5383548bfb50d1647df0e204e5c
EBUILD xss-me-0.4.3-r1.ebuild 1037 RMD160 1230664a73703ffe283dadcfb4bcdb9f26c069ca SHA1 05b31dd42c484a0eadc01c682a26c828ee5fd7ce SHA256 1900b16224f7a097eccec909c47525d7df6e291813688be9d3b15c290baf71f1
EBUILD xss-me-0.4.3.ebuild 1053 RMD160 7f9e34992ed858a5df7b104cac3293d0e02f6226 SHA1 8edadaa1b5db24b89c2384982f31489d4e5d1550 SHA256 6546c10a15f6eeb76596a3348803fc5f60decad7e2853e5908d2bf99ceab7b5c

View file

@ -0,0 +1,44 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit mozextension-2 multilib eutils
MY_P="${PN/-/_}-${PV}-fx"
DESCRIPTION="A Firefox extensions from the firecat framework."
HOMEPAGE="http://www.security-database.com/toolswatch/FireCAT-Firefox-Catalog-of,302.html"
SRC_URI="http://releases.mozilla.org/pub/mozilla.org/addons/7598/${MY_P}.xpi"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="|| (
>=www-client/firefox-bin-3.0.0
>=www-client/firefox-3.0.0
)"
DEPEND="${RDEPEND}"
S="${WORKDIR}"
src_unpack() {
xpi_unpack $A
# epatch "${FILESDIR}/${MY_P}.patch"
}
src_compile () {
einfo "Nothing to compile"
}
src_install () {
declare MOZILLA_FIVE_HOME
if has_version '>=www-client/mozilla-firefox-1.5.0.7'; then
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox"
xpi_install "${S}/${MY_P}"
fi
if has_version '>=www-client/mozilla-firefox-bin-1.5.0.7'; then
MOZILLA_FIVE_HOME="/opt/firefox"
xpi_install "${S}/${MY_P}"
fi
}