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

Diff of /eclass/nsplugins.eclass

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

Revision 1.25 Revision 1.26
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
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# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.25 2011/08/09 18:47:40 darkside Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.26 2011/10/05 15:14:07 scarabeus Exp $
4# 4#
5# Author: Martin Schlemmer <azarah@gentoo.org> 5# Author: Martin Schlemmer <azarah@gentoo.org>
6# 6#
7# Just some re-usable functions for the netscape/moz plugins sharing 7# Just some re-usable functions for the netscape/moz plugins sharing
8 8
43 43
44# This function installs a plugin with dosym to PLUGINS_DIR. 44# This function installs a plugin with dosym to PLUGINS_DIR.
45# First argument should be the plugin file. 45# First argument should be the plugin file.
46inst_plugin() { 46inst_plugin() {
47 dodir /usr/$(get_libdir)/${PLUGINS_DIR} 47 dodir /usr/$(get_libdir)/${PLUGINS_DIR}
48 dosym ${1} /usr/$(get_libdir)/${PLUGINS_DIR} 48 dosym ${1} /usr/$(get_libdir)/${PLUGINS_DIR}/$(basename ${1})
49} 49}

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

  ViewVC Help
Powered by ViewVC 1.1.20