diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-10-26 10:17:23 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-10-26 10:18:21 +0100 |
commit | 0ab1cd58a134700db4cd12599e70df97b0178ff0 (patch) | |
tree | 95dfd9265e1947f76d941cb6c3a7fb53ac94a0ea /sys-fs/mtools/mtools-4.0.25.ebuild | |
parent | sys-kernel/git-sources: Automated version bump to 5.10_rc1. (diff) | |
download | gentoo-0ab1cd58a134700db4cd12599e70df97b0178ff0.tar.gz gentoo-0ab1cd58a134700db4cd12599e70df97b0178ff0.tar.bz2 gentoo-0ab1cd58a134700db4cd12599e70df97b0178ff0.zip |
sys-fs/mtools: Bump to version 4.0.25
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-fs/mtools/mtools-4.0.25.ebuild')
-rw-r--r-- | sys-fs/mtools/mtools-4.0.25.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sys-fs/mtools/mtools-4.0.25.ebuild b/sys-fs/mtools/mtools-4.0.25.ebuild new file mode 100644 index 000000000000..a10154dee9ba --- /dev/null +++ b/sys-fs/mtools/mtools-4.0.25.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 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 ~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() { + # 447688 + use !elibc_glibc && use !elibc_musl && append-libs "-liconv" + 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 +} |