summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alberto Suarez Lopez <bass@gentoo.org>2003-06-29 00:47:17 +0000
committerJose Alberto Suarez Lopez <bass@gentoo.org>2003-06-29 00:47:17 +0000
commit7bddc68a5ea34c6d69b976f718cdf126659bb6aa (patch)
treeba295d0cb83b6caba99cc89d55aef3305d76f5d5 /eclass/ebook.eclass
parentfix pam-login versioning (diff)
downloadgentoo-2-7bddc68a5ea34c6d69b976f718cdf126659bb6aa.tar.gz
gentoo-2-7bddc68a5ea34c6d69b976f718cdf126659bb6aa.tar.bz2
gentoo-2-7bddc68a5ea34c6d69b976f718cdf126659bb6aa.zip
fixed problem with devhelp-0.6
Diffstat (limited to 'eclass/ebook.eclass')
-rw-r--r--eclass/ebook.eclass14
1 files changed, 8 insertions, 6 deletions
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 <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.
@@ -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}
}