hackbar: fixed dependancy

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

View file

@ -1,3 +1,4 @@
AUX hackbar-1.4.2-fx.patch 1208 RMD160 94fc01205de91e150a28f2a95ada07ff092340b6 SHA1 728eba4ddb565fcebd3c005b544749418ea1efcf SHA256 68814b3f74773abbfc2733c93e8b3ba2542159daaa63b9cf9fa08e471e1ae6cc
DIST hackbar-1.4.2-fx.xpi 36619 RMD160 29522a5630413698c23b9d80fbd34af6da742e8b SHA1 1eee426993ebff4529ce1540cde14c150d1cddb4 SHA256 6a1fb4c09e7a1f2282cb07f65c8ac9f8a3c4a7d441a6cf90eefe81498e69565b
EBUILD hackbar-1.4.2-r1.ebuild 1023 RMD160 af8272726de8007f452e929d8346f22ea54f07c7 SHA1 9d7bc87346476d3c15fa1edd9c212ca8e83fb0b8 SHA256 4d43b4f9362b558286287cca7ae5148b1cadb49cae9b46d0110994fbb4b3ec06
EBUILD hackbar-1.4.2.ebuild 1039 RMD160 6c0590e12abeeb48eea3ed93f5bbff0d0830e2b2 SHA1 48283d92deb6845ae81e290e893bfb3e85da530b SHA256 011910325b0ee10efb77a640710db0c5d880e86a11f05c18795305aaaaf536c3

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 multilib eutils
MY_P="${P}-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/3899/${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
}