From 6e1c83c5328f97dc2eec45cf53cbafac4002ea12 Mon Sep 17 00:00:00 2001 From: Tilman Klar Date: Thu, 21 Nov 2002 19:23:20 +0000 Subject: New function: inst_plugin --- eclass/nsplugins.eclass | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'eclass') diff --git a/eclass/nsplugins.eclass b/eclass/nsplugins.eclass index 88f8aec9b08a..d657c8348603 100644 --- a/eclass/nsplugins.eclass +++ b/eclass/nsplugins.eclass @@ -1,7 +1,7 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # Author: Martin Schlemmer -# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.3 2002/11/20 17:26:27 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.4 2002/11/21 19:23:20 phoenix Exp $ # Just some re-usable functions for the netscape/moz plugins sharing ECLASS=nsplugins @@ -37,3 +37,9 @@ pkg_mv_plugins() { fi } +# This function installs a plugin with dosym to PLUGINS_DIR. +# First argument should be the plugin file. +inst_plugin() { + dodir /usr/lib/${PLUGINS_DIR} + dosym ${1} ${ROOT}/usr/lib/${PLUGINS_DIR} +} -- cgit v1.2.3-65-gdbad