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.17.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/sys-fs/mtools/ChangeLog b/sys-fs/mtools/ChangeLog
index 2be11abfdbb6..647a30145cbb 100644
--- a/sys-fs/mtools/ChangeLog
+++ b/sys-fs/mtools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/mtools
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/ChangeLog,v 1.50 2011/06/19 16:59:24 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/ChangeLog,v 1.51 2011/09/15 00:41:34 radhermit Exp $
+
+*mtools-4.0.17 (15 Sep 2011)
+
+ 15 Sep 2011; Tim Harder <radhermit@gentoo.org> +mtools-4.0.17.ebuild:
+ Version bump. Update to EAPI 4 and fix parallel install issue.
19 Jun 2011; Raúl Porcel <armin76@gentoo.org> mtools-4.0.15.ebuild:
alpha/sparc stable wrt #363985
diff --git a/sys-fs/mtools/mtools-4.0.17.ebuild b/sys-fs/mtools/mtools-4.0.17.ebuild
new file mode 100644
index 000000000000..97742ebb2ae8
--- /dev/null
+++ b/sys-fs/mtools/mtools-4.0.17.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtools/mtools-4.0.17.ebuild,v 1.1 2011/09/15 00:41:34 radhermit 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
+}