summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-08-08 11:20:47 +0200
committerLars Wendler <polynomial-c@gentoo.org>2021-08-08 11:32:05 +0200
commitd7ff6a05c8bc9a9ab1cb68d46d6fddf7f513726c (patch)
tree5e52e5e2e0efc8792b1a6f5db7f34d09d0f5ce18 /sys-fs
parentdev-python/python-lzo: enable py3.10, update EAPI 7 -> 8 (diff)
downloadgentoo-d7ff6a05c8bc9a9ab1cb68d46d6fddf7f513726c.tar.gz
gentoo-d7ff6a05c8bc9a9ab1cb68d46d6fddf7f513726c.tar.bz2
gentoo-d7ff6a05c8bc9a9ab1cb68d46d6fddf7f513726c.zip
sys-fs/mtools: Bump to version 4.0.35
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/mtools/Manifest1
-rw-r--r--sys-fs/mtools/mtools-4.0.35.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-fs/mtools/Manifest b/sys-fs/mtools/Manifest
index a4113ddededa..f6b2c909bcb3 100644
--- a/sys-fs/mtools/Manifest
+++ b/sys-fs/mtools/Manifest
@@ -1,3 +1,4 @@
DIST mtools-4.0.31.tar.bz2 446527 BLAKE2B 4b954362d0c177c5a2f7b098065f841ca075092b8c49230ca4098a1a34fe64bce32d31df1aae702f12b174a8176026687de9dea5344f3878c1acdba4a8a0c753 SHA512 6c50eadcd32563b593b58984fd6426faabab208283c0b81c7df194cc27fb7d6bf873916b152c74c4800374f0b70f7dd41c768d823d9efc78cab6efbb6ee37df5
DIST mtools-4.0.33.tar.bz2 439522 BLAKE2B fac0880a7f0967f6998b8e234b7c61a58ed28205738f92db4ea0a039f5a883cfb68df492788174720068a2f976d37032630abfcca0461fcc72133b564bed472b SHA512 6dd47d422e999100a7834bac0e1e6e5e26387f8462bd84c5934da7c24f1cf90674dc873878bc37c2051dd7df717f85793861fed8544f77aecfc30a6cecd7bf43
DIST mtools-4.0.34.tar.bz2 453751 BLAKE2B 9e4874bd724e2a62e23d7b7def601e41ba6676d2b9c37d198f0b521938297664dcd1d2fc75531c79acc93e9c642ea4555b174007ca6d2fd27cbad1b9a3d61f1c SHA512 5a401ac17b9021e5e957bbd911810958f3d665d2ada8b60e723d72709e687c804bbecdb09b50fc23a9876540abead3894213e5f668f23356c629261b40980535
+DIST mtools-4.0.35.tar.bz2 455988 BLAKE2B 9c1ac7f3ad3f9f13a572d0e1ea3c3a9d79bd08f0ae963c7357a19a687b74536cd8442eb167a9e50f7d22398c56736753b0d98bccdaa4c7d8427d1c09e1dd786c SHA512 ef563b3319285667993c82d819e08cb819a6bcd71c466fc252568996b4218cfb3731107ffcd6150ba33c0837e012e02057def41e2b011f751eaf550bfa366a10
diff --git a/sys-fs/mtools/mtools-4.0.35.ebuild b/sys-fs/mtools/mtools-4.0.35.ebuild
new file mode 100644
index 000000000000..3ebdd3b6df91
--- /dev/null
+++ b/sys-fs/mtools/mtools-4.0.35.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit flag-o-matic
+
+DESCRIPTION="utilities to access MS-DOS disks from Unix without mounting them"
+HOMEPAGE="https://www.gnu.org/software/mtools/ https://savannah.gnu.org/projects/mtools"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x64-solaris"
+IUSE="X elibc_glibc"
+
+RDEPEND="
+ !elibc_glibc? ( virtual/libiconv )
+ X? (
+ x11-libs/libICE
+ x11-libs/libXau
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXt
+ )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ use !elibc_glibc && use !elibc_musl && append-libs "-liconv" #447688
+ local myeconfargs=(
+ --sysconfdir="${EPREFIX}"/etc/mtools
+ $(use_with X x)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ local -a DOCS=( README* Release.notes )
+ default
+
+ insinto /etc/mtools
+ doins mtools.conf
+
+ # default is fine
+ sed -i -e '/^SAMPLE FILE$/s:^:#:' "${ED}"/etc/mtools/mtools.conf || die
+}