summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-04-12 09:37:13 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-04-12 09:37:13 +0000
commit8a284e79be9be711d0a14b12f9bfb77b2dcd6207 (patch)
tree1b669bb7255d22d6ad0842f7abf4dd67acb11242 /app-misc/fdutils/fdutils-5.4.20020222-r1.ebuild
parentmade tetex optional (diff)
downloadgentoo-2-8a284e79be9be711d0a14b12f9bfb77b2dcd6207.tar.gz
gentoo-2-8a284e79be9be711d0a14b12f9bfb77b2dcd6207.tar.bz2
gentoo-2-8a284e79be9be711d0a14b12f9bfb77b2dcd6207.zip
made tetex optional
Diffstat (limited to 'app-misc/fdutils/fdutils-5.4.20020222-r1.ebuild')
-rw-r--r--app-misc/fdutils/fdutils-5.4.20020222-r1.ebuild26
1 files changed, 15 insertions, 11 deletions
diff --git a/app-misc/fdutils/fdutils-5.4.20020222-r1.ebuild b/app-misc/fdutils/fdutils-5.4.20020222-r1.ebuild
index e39e9e55ab83..1865ffd2bec9 100644
--- a/app-misc/fdutils/fdutils-5.4.20020222-r1.ebuild
+++ b/app-misc/fdutils/fdutils-5.4.20020222-r1.ebuild
@@ -1,29 +1,33 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/fdutils/fdutils-5.4.20020222-r1.ebuild,v 1.5 2003/02/13 08:56:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/fdutils/fdutils-5.4.20020222-r1.ebuild,v 1.6 2003/04/12 09:37:10 seemant Exp $
+S=${WORKDIR}/${PN}-5.4
DESCRIPTION="The fdutils package contains utilities for configuring and debugging the Linux floppy driver"
-SRC_URI="http://fdutils.linux.lu/fdutils-5.4.tar.gz
- http://fdutils.linux.lu/fdutils-5.4-20020222.diff.gz"
HOMEPAGE="http://fdutils.linux.lu/"
+SRC_URI="http://fdutils.linux.lu/${PN}-5.4.tar.gz
+ http://fdutils.linux.lu/${PN}-5.4-20020222.diff.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
DEPEND=">=app-admin/mtools-3
- >=app-text/tetex-1.0.7-r10"
-
-S=${WORKDIR}/${PN}-5.4
+ tetex? ( >=app-text/tetex-1.0.7-r10 )"
src_unpack() {
- unpack fdutils-5.4.tar.gz
- gunzip -c ${DISTDIR}/${PN}-5.4-20020222.diff.gz | patch -p0
+ unpack ${A}
+ epatch ${WORKDIR}/${PN}-5.4-20020222.diff
}
src_compile() {
- econf --enable-fdmount-floppy-only
- make || die
+
+ local myconf="src doc info"
+
+ use tetex && myconf="${myconf} html dvi"
+
+ econf --enable-fdmount-floppy-only || die
+ make ${myconf} || die
}
src_install() {
@@ -31,7 +35,7 @@ src_install() {
dodir /usr/share/man/man1
dodir /usr/share/man/man4
- einstall
+ einstall || die
insinto /etc
doins src/mediaprm