1 |
commit: 7156d93ada17cf68063cf94d8372ace8004aa5a3 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 22 08:17:02 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 23 09:27:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7156d93a |
7 |
|
8 |
sys-fs/mtools: Bump to version 4.0.36 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
sys-fs/mtools/Manifest | 1 + |
13 |
sys-fs/mtools/mtools-4.0.36.ebuild | 46 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/sys-fs/mtools/Manifest b/sys-fs/mtools/Manifest |
17 |
index 23be5fc47a35..1be4894863e0 100644 |
18 |
--- a/sys-fs/mtools/Manifest |
19 |
+++ b/sys-fs/mtools/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST mtools-4.0.35.tar.bz2 455988 BLAKE2B 9c1ac7f3ad3f9f13a572d0e1ea3c3a9d79bd08f0ae963c7357a19a687b74536cd8442eb167a9e50f7d22398c56736753b0d98bccdaa4c7d8427d1c09e1dd786c SHA512 ef563b3319285667993c82d819e08cb819a6bcd71c466fc252568996b4218cfb3731107ffcd6150ba33c0837e012e02057def41e2b011f751eaf550bfa366a10 |
22 |
+DIST mtools-4.0.36.tar.bz2 445920 BLAKE2B 753ee3e412452572b36d15805982255f28bc277764ce66a0fe8483e19a3488fbb282b873a6be85e87e82a71bf7fda517e1234e1911f0b7c3f3992e25f8d18322 SHA512 2425ee0e39c06ea201a5303ab09a0aa9f0c59341522e2c15abc4f079320fd3d67d28afeb2870ee508d472bba6904c542e11c02b92652c8eda1bf338bab372d07 |
23 |
|
24 |
diff --git a/sys-fs/mtools/mtools-4.0.36.ebuild b/sys-fs/mtools/mtools-4.0.36.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..3ebdd3b6df91 |
27 |
--- /dev/null |
28 |
+++ b/sys-fs/mtools/mtools-4.0.36.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI="7" |
34 |
+ |
35 |
+inherit flag-o-matic |
36 |
+ |
37 |
+DESCRIPTION="utilities to access MS-DOS disks from Unix without mounting them" |
38 |
+HOMEPAGE="https://www.gnu.org/software/mtools/ https://savannah.gnu.org/projects/mtools" |
39 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2" |
40 |
+ |
41 |
+LICENSE="GPL-3" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos ~x64-solaris" |
44 |
+IUSE="X elibc_glibc" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ !elibc_glibc? ( virtual/libiconv ) |
48 |
+ X? ( |
49 |
+ x11-libs/libICE |
50 |
+ x11-libs/libXau |
51 |
+ x11-libs/libSM |
52 |
+ x11-libs/libX11 |
53 |
+ x11-libs/libXt |
54 |
+ )" |
55 |
+DEPEND="${RDEPEND}" |
56 |
+ |
57 |
+src_configure() { |
58 |
+ use !elibc_glibc && use !elibc_musl && append-libs "-liconv" #447688 |
59 |
+ local myeconfargs=( |
60 |
+ --sysconfdir="${EPREFIX}"/etc/mtools |
61 |
+ $(use_with X x) |
62 |
+ ) |
63 |
+ econf "${myeconfargs[@]}" |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ local -a DOCS=( README* Release.notes ) |
68 |
+ default |
69 |
+ |
70 |
+ insinto /etc/mtools |
71 |
+ doins mtools.conf |
72 |
+ |
73 |
+ # default is fine |
74 |
+ sed -i -e '/^SAMPLE FILE$/s:^:#:' "${ED}"/etc/mtools/mtools.conf || die |
75 |
+} |