mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-13 03:46:59 +01:00
44 lines
1,015 B
Bash
44 lines
1,015 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
inherit mozextension multilib eutils
|
|
|
|
MY_P="${PN//-/_}-${PV}-fx+sm"
|
|
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/3829/${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/firefox-1.5.0.7'; then
|
|
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
|
|
xpi_install "${S}/${MY_P}"
|
|
fi
|
|
if has_version '>=www-client/firefox-bin-1.5.0.7'; then
|
|
MOZILLA_FIVE_HOME="/opt/firefox"
|
|
xpi_install "${S}/${MY_P}"
|
|
fi
|
|
}
|