/[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.10 Revision 1.15
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2007 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.10 2005/07/06 20:23:20 agriffis Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/xemacs-packages.eclass,v 1.15 2009/06/21 14:53:12 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
8EXPORT_FUNCTIONS src_unpack src_install 8EXPORT_FUNCTIONS src_unpack src_compile src_install
9 9
10DEPEND="virtual/xemacs" 10DEPEND="app-editors/xemacs"
11 11
12[ -z "$HOMEPAGE" ] && HOMEPAGE="http://xemacs.org/" 12[ -z "$HOMEPAGE" ] && HOMEPAGE="http://xemacs.org/"
13[ -z "$LICENSE" ] && LICENSE="GPL-2" 13[ -z "$LICENSE" ] && LICENSE="GPL-2"
14 14
15case "${PKG_CAT}" in 15case "${PKG_CAT}" in
26 26
27if [ -n "$EXPERIMENTAL" ] 27if [ -n "$EXPERIMENTAL" ]
28then 28then
29 [ -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"
30else 30else
31 [ -z "$SRC_URI" ] && SRC_URI="ftp://ftp.xemacs.org/packages/${P}-pkg.tar.gz" 31 [ -z "$SRC_URI" ] && SRC_URI="http://ftp.xemacs.org/pub/xemacs/packages/${P}-pkg.tar.gz"
32fi 32fi
33[ -n "$DEBUG" ] && einfo "SRC_URI is ${SRC_URI}" 33[ -n "$DEBUG" ] && einfo "SRC_URI is ${SRC_URI}"
34 34
35xemacs-packages_src_unpack() { 35xemacs-packages_src_unpack() {
36 return 0 36 return 0
40 einfo "Nothing to compile" 40 einfo "Nothing to compile"
41} 41}
42 42
43xemacs-packages_src_install() { 43xemacs-packages_src_install() {
44 dodir ${MY_INSTALL_DIR} 44 dodir ${MY_INSTALL_DIR}
45 cd ${D}${MY_INSTALL_DIR} 45 cd "${D}${MY_INSTALL_DIR}"
46 unpack ${A} 46 unpack ${A}
47} 47}

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

  ViewVC Help
Powered by ViewVC 1.1.20