/[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.9 Revision 1.11
1# Copyright 1999-2004 Gentoo Foundation 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.9 2005/07/06 20:20:04 agriffis Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xemacs-packages.eclass,v 1.11 2006/11/12 08:27:08 graaff 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"
8INHERITED="${INHERITED} ${ECLASS}" 9INHERITED="$INHERITED $ECLASS"
10
9EXPORT_FUNCTIONS src_unpack src_install 11EXPORT_FUNCTIONS src_unpack src_compile src_install
10 12
11DEPEND="virtual/xemacs" 13DEPEND="virtual/xemacs"
12 14
13[ -z "$HOMEPAGE" ] && HOMEPAGE="http://xemacs.org/" 15[ -z "$HOMEPAGE" ] && HOMEPAGE="http://xemacs.org/"
14[ -z "$LICENSE" ] && LICENSE="GPL-2" 16[ -z "$LICENSE" ] && LICENSE="GPL-2"
27 29
28if [ -n "$EXPERIMENTAL" ] 30if [ -n "$EXPERIMENTAL" ]
29then 31then
30 [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/beta/experimental/packages/${P}-pkg.tar.gz" 32 [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/beta/experimental/packages/${P}-pkg.tar.gz"
31else 33else
32 [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/packages/${P}-pkg.tar.gz" 34 [ -z "$SRC_URI" ] && SRC_URI="http://ftp.xemacs.org/pub/xemacs/packages/${P}-pkg.tar.gz"
33fi 35fi
34[ -n "$DEBUG" ] && einfo "SRC_URI is ${SRC_URI}" 36[ -n "$DEBUG" ] && einfo "SRC_URI is ${SRC_URI}"
35 37
36xemacs-packages_src_unpack() { 38xemacs-packages_src_unpack() {
37 return 0 39 return 0

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20