/[gentoo-x86]/eclass/nsplugins.eclass
Gentoo

Diff of /eclass/nsplugins.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2002 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# Author: Martin Schlemmer <azarah@gentoo.org> 3# Author: Martin Schlemmer <azarah@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.4 2002/11/21 19:23:20 phoenix Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.5 2002/11/23 08:50:00 azarah Exp $
5# Just some re-usable functions for the netscape/moz plugins sharing 5# Just some re-usable functions for the netscape/moz plugins sharing
6 6
7ECLASS=nsplugins 7ECLASS=nsplugins
8INHERITED="$INHERITED $ECLASS" 8INHERITED="$INHERITED $ECLASS"
9 9
39 39
40# This function installs a plugin with dosym to PLUGINS_DIR. 40# This function installs a plugin with dosym to PLUGINS_DIR.
41# First argument should be the plugin file. 41# First argument should be the plugin file.
42inst_plugin() { 42inst_plugin() {
43 dodir /usr/lib/${PLUGINS_DIR} 43 dodir /usr/lib/${PLUGINS_DIR}
44# $ROOT should only be used in pkg_*() functions ...
44 dosym ${1} ${ROOT}/usr/lib/${PLUGINS_DIR} 45# dosym ${1} ${ROOT}/usr/lib/${PLUGINS_DIR}
46 dosym ${1} /usr/lib/${PLUGINS_DIR}
45} 47}
48

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20