/[gentoo-x86]/eclass/xemacs-packages.eclass
Gentoo

Diff of /eclass/xemacs-packages.eclass

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

Revision 1.3 Revision 1.10
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2004 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/xemacs-packages.eclass,v 1.3 2003/01/06 14:00:30 rendhalver Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xemacs-packages.eclass,v 1.10 2005/07/06 20:23:20 agriffis 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
8ECLASS=xemacs-packages
9INHERITED="${INHERITED} ${ECLASS}"
10EXPORT_FUNCTIONS src_unpack src_install 8EXPORT_FUNCTIONS src_unpack src_install
11 9
12DEPENDS="virtual/xemacs" 10DEPEND="virtual/xemacs"
13 11
14[ -z "$HOMEPAGE" ] && HOMEPAGE="http://xemacs.org/" 12[ -z "$HOMEPAGE" ] && HOMEPAGE="http://xemacs.org/"
15[ -z "$LICENSE" ] && LICENSE="GPL-2" 13[ -z "$LICENSE" ] && LICENSE="GPL-2"
16 14
17case "${PKG_CAT}" in 15case "${PKG_CAT}" in
27[ -n "$DEBUG" ] && einfo "MY_INSTALL_DIR is ${MY_INSTALL_DIR}" 25[ -n "$DEBUG" ] && einfo "MY_INSTALL_DIR is ${MY_INSTALL_DIR}"
28 26
29if [ -n "$EXPERIMENTAL" ] 27if [ -n "$EXPERIMENTAL" ]
30then 28then
31 [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/beta/experimental/packages/${P}-pkg.tar.gz" 29 [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/beta/experimental/packages/${P}-pkg.tar.gz"
32 KEYWORDS="~x86 -ppc ~alpha ~sparc"
33else 30else
34 [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/packages/${P}-pkg.tar.gz" 31 [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/packages/${P}-pkg.tar.gz"
35 KEYWORDS="x86 -ppc alpha sparc"
36fi 32fi
37[ -n "$DEBUG" ] && einfo "SRC_URI is ${SRC_URI}" 33[ -n "$DEBUG" ] && einfo "SRC_URI is ${SRC_URI}"
38 34
39xemacs-packages_src_unpack() { 35xemacs-packages_src_unpack() {
40 return 0 36 return 0

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20