sql-inject-me: fixed dependancy

This commit is contained in:
Zero_Chaos 2010-09-07 14:51:42 +00:00
parent b938808438
commit 4f13741325
2 changed files with 45 additions and 0 deletions

View file

@ -1,2 +1,3 @@
DIST sql_inject_me-0.4.4-fx.xpi 130131 RMD160 625bc3e8a523341b7e9269d867d41b02359a4507 SHA1 3fe4abeaf7dbb43bb914a820be56142c289aff98 SHA256 0d46d9916d8869536d5bfe5218c38d05c46d4df25b719de35c9d83700578c9a7
EBUILD sql-inject-me-0.4.4-r1.ebuild 1039 RMD160 cc15db1226e412f58a6dd926ac45eecf659acf06 SHA1 0645c7b13f9aa7f5df7fdcf5ad76ff8eb9d28fd7 SHA256 f6db1ad67ec955b0133c0f04a7a0719d481a1e25f67c3f0f9a03dca867f7f6f2
EBUILD sql-inject-me-0.4.4.ebuild 1055 RMD160 662dc95f8364058605bb7b8dca98f7f857f5e4c5 SHA1 fc21d7ae46e374364817f9ae7754e2bf9b73f767 SHA256 1a3d57294a869fa6c705a0e239eec0ebde6b3cef15ef5ef795a34ca333a82bae

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/7597/${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
}