| 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 | # $Header: /var/cvsroot/gentoo-x86/eclass/xemacs-packages.eclass,v 1.2 2003/01/01 11:29:33 rendhalver Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/xemacs-packages.eclass,v 1.3 2003/01/06 14:00:30 rendhalver 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 |
| … | |
… | |
| 27 | [ -n "$DEBUG" ] && einfo "MY_INSTALL_DIR is ${MY_INSTALL_DIR}" |
27 | [ -n "$DEBUG" ] && einfo "MY_INSTALL_DIR is ${MY_INSTALL_DIR}" |
| 28 | |
28 | |
| 29 | if [ -n "$EXPERIMENTAL" ] |
29 | if [ -n "$EXPERIMENTAL" ] |
| 30 | then |
30 | then |
| 31 | [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/beta/experimental/packages/${P}-pkg.tar.gz" |
31 | [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/beta/experimental/packages/${P}-pkg.tar.gz" |
| 32 | KEYWORDS="x86 -ppc alpha sparc" |
32 | KEYWORDS="~x86 -ppc ~alpha ~sparc" |
| 33 | else |
33 | else |
| 34 | [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/packages/${P}-pkg.tar.gz" |
34 | [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/packages/${P}-pkg.tar.gz" |
| 35 | KEYWORDS="~x86 -ppc ~alpha ~sparc" |
35 | KEYWORDS="x86 -ppc alpha sparc" |
| 36 | fi |
36 | fi |
| 37 | [ -n "$DEBUG" ] && einfo "SRC_URI is ${SRC_URI}" |
37 | [ -n "$DEBUG" ] && einfo "SRC_URI is ${SRC_URI}" |
| 38 | |
38 | |
| 39 | xemacs-packages_src_unpack() { |
39 | xemacs-packages_src_unpack() { |
| 40 | return 0 |
40 | return 0 |