diff options
author | 2017-04-03 20:53:52 +0200 | |
---|---|---|
committer | 2017-04-03 20:53:52 +0200 | |
commit | a9d9b1c52911fe6f695e23a65a59e5dc52fc7a4d (patch) | |
tree | 5e0ffff21342220b6709aee90afbafd4fe59583b /eclass | |
parent | app-editors/qemacs: Live ebuild. (diff) | |
download | emacs-a9d9b1c52911fe6f695e23a65a59e5dc52fc7a4d.tar.gz emacs-a9d9b1c52911fe6f695e23a65a59e5dc52fc7a4d.tar.bz2 emacs-a9d9b1c52911fe6f695e23a65a59e5dc52fc7a4d.zip |
xemacs-packages.eclass: Remove.
The eclass has been updated in the main tree.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/xemacs-packages.eclass | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/eclass/xemacs-packages.eclass b/eclass/xemacs-packages.eclass deleted file mode 100644 index b19a22e..0000000 --- a/eclass/xemacs-packages.eclass +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# @ECLASS: xemacs-packages.eclass -# @MAINTAINER: -# xemacs@gentoo.org -# @BLURB: Eclass to support elisp packages distributed by XEmacs. -# @DESCRIPTION: -# This eclass supports ebuilds for packages distributed by XEmacs. - -case "${EAPI:-0}" in - 0|1) EXPORT_FUNCTIONS src_{unpack,compile,install} ;; - *) EXPORT_FUNCTIONS src_{unpack,prepare,configure,compile,install} ;; -esac - -RDEPEND="app-editors/xemacs" - -S="${WORKDIR}" - -[ -z "$HOMEPAGE" ] && HOMEPAGE="http://xemacs.org/" -[ -z "$LICENSE" ] && LICENSE="GPL-2" - -# @ECLASS-VARIABLE: PKG_CAT -# @REQUIRED -# @DESCRIPTION: -# The package category that the package is in. Can be either standard, -# mule, or contrib. - -case "${PKG_CAT}" in - "standard" ) - MY_INSTALL_DIR="/usr/lib/xemacs/xemacs-packages" ;; - - "mule" ) - MY_INSTALL_DIR="/usr/lib/xemacs/mule-packages" ;; - - "contrib" ) - MY_INSTALL_DIR="/usr/lib/xemacs/site-packages" ;; - *) - die "Unsupported package category in PKG_CAT (or unset)" ;; -esac -[ -n "$DEBUG" ] && einfo "MY_INSTALL_DIR is ${MY_INSTALL_DIR}" - -# @ECLASS-VARIABLE: EXPERIMENTAL -# @DEFAULT_UNSET -# @DESCRIPTION: -# If set then the package is downloaded from the experimental packages -# repository, which is the staging area for packages upstream. Packages -# in the experimental repository are auto-generated from XEmacs VCS, so -# they may not be well-tested. - -if [ -n "$EXPERIMENTAL" ] -then - [ -z "$SRC_URI" ] && SRC_URI="http://ftp.xemacs.org/pub/xemacs/beta/experimental/packages/${P}-pkg.tar.gz" -else - [ -z "$SRC_URI" ] && SRC_URI="http://ftp.xemacs.org/pub/xemacs/packages/${P}-pkg.tar.gz" -fi -[ -n "$DEBUG" ] && einfo "SRC_URI is ${SRC_URI}" - -xemacs-packages_src_unpack() { - einfo "Nothing to unpack" -} - -xemacs-packages_src_prepare() { - einfo "Nothing to prepare" -} - -xemacs-packages_src_configure() { - einfo "Nothing to configure" -} - -xemacs-packages_src_compile() { - einfo "Nothing to compile" -} - -xemacs-packages_src_install() { - dodir ${MY_INSTALL_DIR} - cd "${D}${MY_INSTALL_DIR}" - unpack ${A} -} |