diff options
author | Jonathan Callen <jcallen@gentoo.org> | 2009-11-30 04:19:36 +0000 |
---|---|---|
committer | Jonathan Callen <jcallen@gentoo.org> | 2009-11-30 04:19:36 +0000 |
commit | 25e23d78c44428acf7b0fa4e3d78c2ad0841ad9d (patch) | |
tree | 472c481305df0e16f21798cf35d39108c7798b13 /eclass/ebook.eclass | |
parent | Drop usage of xfce44.eclass (deprecated) (diff) | |
download | historical-25e23d78c44428acf7b0fa4e3d78c2ad0841ad9d.tar.gz historical-25e23d78c44428acf7b0fa4e3d78c2ad0841ad9d.tar.bz2 historical-25e23d78c44428acf7b0fa4e3d78c2ad0841ad9d.zip |
Remove eclasses that have been marked as deprecated for >=2 years; schedule other deprecated eclasses for removal
Diffstat (limited to 'eclass/ebook.eclass')
-rw-r--r-- | eclass/ebook.eclass | 108 |
1 files changed, 5 insertions, 103 deletions
diff --git a/eclass/ebook.eclass b/eclass/ebook.eclass index 0ee94cd4d3c3..bc30336d4ab8 100644 --- a/eclass/ebook.eclass +++ b/eclass/ebook.eclass @@ -1,105 +1,7 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ebook.eclass,v 1.26 2006/10/14 20:27:21 swegener Exp $ -# -# Author Francisco Gimeno <kikov@fco-gimeno.com> -# Mantainer José Alberto Suárez López <bass@gentoo.org> -# -# Latest changes thanks to Kris Verbeeck -# The ebook eclass defines some default functions and variables to -# install ebooks. +# $Header: /var/cvsroot/gentoo-x86/eclass/ebook.eclass,v 1.27 2009/11/30 04:19:36 abcd Exp $ -HOMEPAGE="http://lidn.sourceforge.net" - -IUSE="kde" -SLOT="0" -LICENSE="OPL" -KEYWORDS="x86 ppc amd64" - -# ebook eclass user guide: -# -vars -# -# EBOOKNAME: the main name of the book ( without versions ), i.e: gtk -# Required -# EBOOKVERSION: the version of the book, i.e: 1.2 -# Required -# SRC: the main file to download. Default: ${EBOOKNAME}-${EBOOKVERSION} -# EBOOKDESTDIR: directory inside ${DEVHELPROOT}/books/${EBOOKDIR} where is -# installed the book. By default: ${EBOOKNAME}-${EBOOKVERSION} -# ( sometimes it is only ${EBOOKNAME} so you will need to modify it ) -# EBOOKSRCDIR: directory where is the unpacked book in html -# BOOKDEVHELPFILE: book.devhelp is copied with the name -# ${EBOOKNAME}-${EBOOKVERSION} by default. -# BOOKDESTDIR: directory to put into the ebook in html. By default: -# ${EBOOKNAME}-${EBOOKVERSION}. -# NOVERSION: if it's not empty, then, remove -${EBOOKVERSION} from all -# vars... -# DEVHELPROOT: usually usr/share/devhelp -# EBOOKFROMDIR: you can set the from dir, usually ${S}. - -if [ "${NOVERSION}" = "" ]; then - _src="${EBOOKNAME}-${EBOOKVERSION}" -else - _src="${EBOOKNAME}" -fi -_ebookdestdir="${_src}" -_ebooksrcdir="${_src}" -_ebookdevhelpfile="${_src}" - -if [ "${EBOOKEXT}" = "" ]; then - ext="tar.gz" -else - ext="${EBOOKEXT}" -fi - -if [ "${SRC}" = "" ]; then - SRC="${_src}" -fi -if [ "${SRC_URI}" = "" ]; then - SRC_URI="http://lidn.sourceforge.net/books_download/${SRC}.${ext}" -fi - -# Default directory to install de ebook devhelped book -if [ "${DEVHELPROOT}" = "" ]; then - DEVHELPROOT="usr/share/devhelp" -fi -if [ "${RDEPEND}" = "" ]; then - RDEPEND="kde? ( dev-util/kdevelop ) - !kde? ( >=dev-util/devhelp-0.6 )" -fi -if [ "${DESCRIPTION}" = "" ]; then - DESCRIPTION="${P} ebook based on $ECLASS eclass" -fi -if [ "${EBOOKDESTDIR}" = "" ]; then - EBOOKDESTDIR=${_ebookdestdir} -fi -if [ "${EBOOKSRCDIR}" = "" ]; then - EBOOKSRCDIR=${_ebooksrcdir} -fi -if [ "${EBOOKDEVHELPFILE}" = "" ]; then - EBOOKDEVHELPFILE=${_ebookdevhelpfile}".devhelp" -fi - -S=${WORKDIR} -ebook_src_unpack() { - debug-print-function $FUNCNAME $* - unpack ${SRC}.${ext} -} - -ebook_src_install() { - debug-print-function $FUNCNAME $* - - dodir ${DEVHELPROOT}/books - dodir ${DEVHELPROOT}/books/${EBOOKDESTDIR} - echo EBOOKSRCDIR= ${EBOOKSRCDIR} - - if [ "${EBOOKFROMDIR}" ]; then - cp ${S}/${EBOOKFROMDIR}/book.devhelp ${D}${DEVHELPROOT}/books/${EBOOKDESTDIR}/${EBOOKDEVHELPFILE} - cp -R ${S}/${EBOOKFROMDIR}/book/* ${D}${DEVHELPROOT}/books/${EBOOKDESTDIR} - else - cp ${S}/book.devhelp ${D}${DEVHELPROOT}/books/${EBOOKDESTDIR}/${EBOOKDEVHELPFILE} - cp -R ${S}/book/* ${D}${DEVHELPROOT}/books/${EBOOKDESTDIR} -fi -} - -EXPORT_FUNCTIONS src_unpack src_install +# @DEAD +# To be removed on 2011/11/30. +ewarn "Please fix your package (${CATEGORY}/${PF}) to not use ${ECLASS}.eclass" |