Skip to content

Commit

Permalink
sys-fs/mtools: Bump to version 4.0.28
Browse files Browse the repository at this point in the history
Signed-off-by: Lars Wendler <[email protected]>
  • Loading branch information
Lars Wendler committed May 30, 2021
1 parent 4d3ff2f commit a17180a
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys-fs/mtools/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST mtools-4.0.27.tar.bz2 420579 BLAKE2B 3044fff1896427227e4585df81c208f7580302155cf119db426cfc7a24b3d5195b560b8810613f571eed77584d47bb5125007cdcb8551b303db62ce264853776 SHA512 21072e1b6d22ea00913dbc856c5fbe1ecfbfc0207432c7632f0026ae2d9555743eb0710c86e8939a6b3183a03693b8d1297121df9d5702dd5bf6121ad240572c
DIST mtools-4.0.28.tar.bz2 435433 BLAKE2B e837aaccbd733ec7d8f305fc9748533168e25c7bd9c6fe0a0fe46c30f8bac95bdaf28d3799e4f83618aa0c302fb230a6e3e6734ed469c80b087e9006dd3a0642 SHA512 732aee8f83a7af0fdc4c2af75053f559357caa56eb73d46f7a2c8b13b8366d3521aff9a49c89f5896502267d96bb9176de05043934c0bf4a6bb8d46a5722571a
46 changes: 46 additions & 0 deletions sys-fs/mtools/mtools-4.0.28.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit a17180a

Please sign in to comment.