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

Diff of /eclass/nsplugins.eclass

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

Revision 1.3 Revision 1.4
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.3 2002/11/20 17:26:27 azarah Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.4 2002/11/21 19:23:20 phoenix 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
35 cp -a ${ROOT}/$1/* ${ROOT}/usr/lib/${PLUGINS_DIR} 35 cp -a ${ROOT}/$1/* ${ROOT}/usr/lib/${PLUGINS_DIR}
36 rm -rf ${ROOT}/$1 36 rm -rf ${ROOT}/$1
37 fi 37 fi
38} 38}
39 39
40# This function installs a plugin with dosym to PLUGINS_DIR.
41# First argument should be the plugin file.
42inst_plugin() {
43 dodir /usr/lib/${PLUGINS_DIR}
44 dosym ${1} ${ROOT}/usr/lib/${PLUGINS_DIR}
45}

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

  ViewVC Help
Powered by ViewVC 1.1.20