| 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/xemacs-packages.eclass,v 1.5 2003/02/16 04:26:21 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/xemacs-packages.eclass,v 1.6 2003/07/22 01:47:50 msterret Exp $ |
| 4 | # |
4 | # |
| 5 | # xemacs-packages eclass inherited by all xemacs packages |
5 | # xemacs-packages eclass inherited by all xemacs packages |
| 6 | # $PKG_CAT need's to be set before inheriting xemacs-packages |
6 | # $PKG_CAT need's to be set before inheriting xemacs-packages |
| 7 | |
7 | |
| 8 | ECLASS=xemacs-packages |
8 | ECLASS=xemacs-packages |
| 9 | INHERITED="${INHERITED} ${ECLASS}" |
9 | INHERITED="${INHERITED} ${ECLASS}" |
| 10 | EXPORT_FUNCTIONS src_unpack src_install |
10 | EXPORT_FUNCTIONS src_unpack src_install |
| 11 | |
11 | |
| 12 | DEPENDS="virtual/xemacs" |
12 | newdepend "virtual/xemacs" |
| 13 | |
13 | |
| 14 | [ -z "$HOMEPAGE" ] && HOMEPAGE="http://xemacs.org/" |
14 | [ -z "$HOMEPAGE" ] && HOMEPAGE="http://xemacs.org/" |
| 15 | [ -z "$LICENSE" ] && LICENSE="GPL-2" |
15 | [ -z "$LICENSE" ] && LICENSE="GPL-2" |
| 16 | |
16 | |
| 17 | case "${PKG_CAT}" in |
17 | case "${PKG_CAT}" in |