summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/mtools/mtools-3.9.10.ebuild')
-rw-r--r--sys-fs/mtools/mtools-3.9.10.ebuild19
1 files changed, 13 insertions, 6 deletions
diff --git a/sys-fs/mtools/mtools-3.9.10.ebuild b/sys-fs/mtools/mtools-3.9.10.ebuild
index 5458f9a8c6d6..e826dd764251 100644
--- a/sys-fs/mtools/mtools-3.9.10.ebuild
+++ b/sys-fs/mtools/mtools-3.9.10.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/mtools-3.9.10.ebuild,v 1.8 2006/02/07 21:46:55 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/mtools-3.9.10.ebuild,v 1.9 2007/01/31 04:48:02 vapier Exp $
DESCRIPTION="utilities to access MS-DOS disks from Unix without mounting them"
HOMEPAGE="http://mtools.linux.lu/"
@@ -9,12 +9,19 @@ SRC_URI="http://mtools.linux.lu/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~hppa ppc ppc64 sparc x86"
-IUSE=""
+IUSE="X"
-DEPEND=""
+DEPEND="X? ( x11-libs/libICE
+ x11-libs/libXau
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXt )"
src_compile() {
- econf --sysconfdir=/etc/mtools || die
+ econf \
+ --sysconfdir=/etc/mtools \
+ $(use_with X x) \
+ || die
emake || die "emake failed"
}
@@ -22,5 +29,5 @@ src_install() {
einstall sysconfdir="${D}"/etc/mtools || die
insinto /etc/mtools
newins mtools.conf mtools.conf.example
- dodoc Changelog NEWPARAMS README* Release.notes
+ dodoc Changelog README* Release.notes
}