| 1 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2003 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 | # $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.9 2003/02/18 09:00:45 carpaski Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/nsplugins.eclass,v 1.10 2003/02/28 09:15:04 vapier 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 | |
| 9 | ECLASS=nsplugins |
9 | ECLASS=nsplugins |
| 10 | INHERITED="$INHERITED $ECLASS" |
10 | INHERITED="$INHERITED $ECLASS" |
| 11 | |
11 | |
| 12 | [ -z "$DESCRIPTION" ] && DESCRIPTION="Based on the ${ECLASS} eclass" |
12 | DESCRIPTION="Based on the ${ECLASS} eclass" |
| 13 | |
13 | |
| 14 | PLUGINS_DIR="nsbrowser/plugins" |
14 | PLUGINS_DIR="nsbrowser/plugins" |
| 15 | |
15 | |
| 16 | # This function move the plugin dir in src_install() to |
16 | # This function move the plugin dir in src_install() to |
| 17 | # ${D}/usr/lib/${PLUGIN_DIR}. First argument should be |
17 | # ${D}/usr/lib/${PLUGIN_DIR}. First argument should be |