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

Diff of /eclass/nsplugins.eclass

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

Revision 1.6 Revision 1.7
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.6 2002/12/13 20:50:33 phoenix Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.7 2002/12/23 20:35:38 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
14# This function move the plugin dir in src_install() to 14# This function move the plugin dir in src_install() to
15# ${D}/usr/lib/${PLUGIN_DIR}. First argument should be 15# ${D}/usr/lib/${PLUGIN_DIR}. First argument should be
16# the full path (without $D) to old plugin dir. 16# the full path (without $D) to old plugin dir.
17src_mv_plugins() { 17src_mv_plugins() {
18 18
19 # Move plugins dir 19 # Move plugins dir. We use keepdir so that it might not be unmerged
20 # by mistake ...
20 dodir /usr/lib/${PLUGINS_DIR} 21 keepdir /usr/lib/${PLUGINS_DIR}
21 cp -a ${D}/$1/* ${D}/usr/lib/${PLUGINS_DIR} 22 cp -a ${D}/$1/* ${D}/usr/lib/${PLUGINS_DIR}
22 rm -rf ${D}/$1 23 rm -rf ${D}/$1
23 dosym ../${PLUGINS_DIR} $1 24 dosym ../${PLUGINS_DIR} $1
24} 25}
25 26

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20