Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/mtools/
Date: Sun, 30 May 2021 19:16:41
Message-Id: 1622402192.a17180abc5f16449233bf2c41cd678a77be4056a.polynomial-c@gentoo
1 commit: a17180abc5f16449233bf2c41cd678a77be4056a
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 30 19:16:23 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun May 30 19:16:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a17180ab
7
8 sys-fs/mtools: Bump to version 4.0.28
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.28.ebuild | 46 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/sys-fs/mtools/Manifest b/sys-fs/mtools/Manifest
17 index 292e7996c86..624630844e6 100644
18 --- a/sys-fs/mtools/Manifest
19 +++ b/sys-fs/mtools/Manifest
20 @@ -1 +1,2 @@
21 DIST mtools-4.0.27.tar.bz2 420579 BLAKE2B 3044fff1896427227e4585df81c208f7580302155cf119db426cfc7a24b3d5195b560b8810613f571eed77584d47bb5125007cdcb8551b303db62ce264853776 SHA512 21072e1b6d22ea00913dbc856c5fbe1ecfbfc0207432c7632f0026ae2d9555743eb0710c86e8939a6b3183a03693b8d1297121df9d5702dd5bf6121ad240572c
22 +DIST mtools-4.0.28.tar.bz2 435433 BLAKE2B e837aaccbd733ec7d8f305fc9748533168e25c7bd9c6fe0a0fe46c30f8bac95bdaf28d3799e4f83618aa0c302fb230a6e3e6734ed469c80b087e9006dd3a0642 SHA512 732aee8f83a7af0fdc4c2af75053f559357caa56eb73d46f7a2c8b13b8366d3521aff9a49c89f5896502267d96bb9176de05043934c0bf4a6bb8d46a5722571a
23
24 diff --git a/sys-fs/mtools/mtools-4.0.28.ebuild b/sys-fs/mtools/mtools-4.0.28.ebuild
25 new file mode 100644
26 index 00000000000..3ebdd3b6df9
27 --- /dev/null
28 +++ b/sys-fs/mtools/mtools-4.0.28.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 +}