From 7bddc68a5ea34c6d69b976f718cdf126659bb6aa Mon Sep 17 00:00:00 2001 From: Jose Alberto Suarez Lopez Date: Sun, 29 Jun 2003 00:47:17 +0000 Subject: fixed problem with devhelp-0.6 --- eclass/ebook.eclass | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'eclass/ebook.eclass') diff --git a/eclass/ebook.eclass b/eclass/ebook.eclass index 14136a3a4603..397417d03bcf 100644 --- a/eclass/ebook.eclass +++ b/eclass/ebook.eclass @@ -1,10 +1,11 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ebook.eclass,v 1.10 2003/05/06 17:37:03 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ebook.eclass,v 1.11 2003/06/29 00:47:17 bass Exp $ # # Author Francisco Gimeno # Mantainer José Alberto Suárez López -# +# +# Latest changes thanks to Kris Verbeeck # The ebook eclass defines some default functions and variables to # install ebooks. @@ -62,7 +63,7 @@ if [ "${DEVHELPROOT}" = "" ]; then DEVHELPROOT="usr/share/devhelp" fi if [ "${RDEPEND}" = "" ]; then - RDEPEND=">=dev-util/devhelp-0.3" + RDEPEND=">=dev-util/devhelp-0.6" fi if [ "${DESCRIPTION}" = "" ]; then DESCRIPTION="${P} ebook based in $ECLASS eclass" @@ -74,7 +75,7 @@ if [ "${EBOOKSRCDIR}" = "" ]; then EBOOKSRCDIR=${_ebooksrcdir} fi if [ "${EBOOKDEVHELPFILE}" = "" ]; then - EBOOKDEVHELPFILE=${_ebookdevhelpfile} + EBOOKDEVHELPFILE=${_ebookdevhelpfile}".devhelp" fi S=${WORKDIR} @@ -86,11 +87,12 @@ ebook_src_unpack() { ebook_src_install() { debug-print-function $FUNCNAME $* - dodir ${DEVHELPROOT}/specs +#dodir ${DEVHELPROOT}/specs dodir ${DEVHELPROOT}/books dodir ${DEVHELPROOT}/books/${EBOOKDESTDIR} echo EBOOKSRCDIR= ${EBOOKSRCDIR} - cp ${S}/book.devhelp ${D}${DEVHELPROOT}/specs/${EBOOKDEVHELPFILE} +# cp ${S}/book.devhelp ${D}${DEVHELPROOT}/specs/${EBOOKDEVHELPFILE} + cp ${S}/book.devhelp ${D}${DEVHELPROOT}/books/${EBOOKDESTDIR}/${EBOOKDEVHELPFILE} cp -R ${S}/book/* ${D}${DEVHELPROOT}/books/${EBOOKDESTDIR} } -- cgit v1.2.3-65-gdbad