no-referer: fixed dependancy

This commit is contained in:
Zero_Chaos 2010-09-07 15:35:40 +00:00
parent de266264a5
commit 045054bf0d
2 changed files with 45 additions and 0 deletions

View file

@ -1,3 +1,4 @@
AUX no-referer-1.3.1-version-fix.patch 888 RMD160 44658eeb08dd55d8e150d4379e59029a4dd61e37 SHA1 d4c5d7a202769fc8d5ebbc2cf0c07c892c709f5b SHA256 8307f76712734346762a3be97e39fac4f12b31d885a66fc9f5bd19b097466116
DIST no-referer-1.3.1-fx.xpi 3185 RMD160 c880ce718757cd6114df66734a941ab58c568bad SHA1 4fd132e155ca189c0eae3b957de8d054634c7f7e SHA256 a17d37bd95101213e614b031fed6d956f380cb1e2b2c292f8a5a1216a81ba9a5
EBUILD no-referer-1.3.1-r1.ebuild 1040 RMD160 3b12ef12bb697fd1df8c29ca5a615e9818b42b1c SHA1 0f4ce9b248775230d61b1aa4b508cc843a808712 SHA256 2fa20bf83046aeb0b92ff74ab5b7cc91f3be707c7fee7e5eeefb815b3614902b
EBUILD no-referer-1.3.1.ebuild 1056 RMD160 0bf4c15a1ee64527f928bd854af1b9a5c6faf2e9 SHA1 cc4d2fc4cbf5f20692dd754173fd96ba57cd3859 SHA256 3b0dc1de961d0b86f38327ec3e951b01835f3f5c826e511060b4fd14ae11713b

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="${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="https://addons.mozilla.org/en-US/firefox/downloads/file/26327/${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}/${P}-version-fix.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
}