summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/mtools')
-rw-r--r--sys-fs/mtools/ChangeLog7
-rw-r--r--sys-fs/mtools/mtools-4.0.18.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/sys-fs/mtools/ChangeLog b/sys-fs/mtools/ChangeLog
index fbbf4e05f465..6809f9f4cc79 100644
--- a/sys-fs/mtools/ChangeLog
+++ b/sys-fs/mtools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/mtools
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/ChangeLog,v 1.52 2013/01/11 05:13:52 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/ChangeLog,v 1.53 2013/01/17 03:18:54 vapier Exp $
+
+*mtools-4.0.18 (17 Jan 2013)
+
+ 17 Jan 2013; Mike Frysinger <vapier@gentoo.org> +mtools-4.0.18.ebuild:
+ Version bump #452390 by Agostino Sarubbo.
11 Jan 2013; Rick Farina <zerochaos@gentoo.org> mtools-4.0.15.ebuild:
it seems this should have been stable for the last 18 months but somehow it
diff --git a/sys-fs/mtools/mtools-4.0.18.ebuild b/sys-fs/mtools/mtools-4.0.18.ebuild
new file mode 100644
index 000000000000..3ad3575300a0
--- /dev/null
+++ b/sys-fs/mtools/mtools-4.0.18.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/mtools-4.0.18.ebuild,v 1.1 2013/01/17 03:18:54 vapier Exp $
+
+EAPI="4"
+
+DESCRIPTION="utilities to access MS-DOS disks from Unix without mounting them"
+HOMEPAGE="http://mtools.linux.lu/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X"
+
+DEPEND="
+ X? (
+ x11-libs/libICE
+ x11-libs/libXau
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXt
+ )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Don't throw errors on existing directories
+ sed -i -e "s:mkdir:mkdir -p:" mkinstalldirs || die
+}
+
+src_configure() {
+ econf \
+ --sysconfdir=/etc/mtools \
+ $(use_with X x)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc README* Release.notes
+
+ insinto /etc/mtools
+ doins mtools.conf
+ # default is fine
+ sed -i -e '/^SAMPLE FILE$/s:^:#:' "${D}"/etc/mtools/mtools.conf || die
+}