summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-01-24 16:55:55 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-01-24 16:56:10 +0100
commit58290cb01685a8d85540d22656148d5b8c49f0ec (patch)
tree810923bfa9170dda876549197ed70b2a7fe177bc /sys-fs
parentapp-text/zathura: Fix test for USE=-sqlite (bug 606870). (diff)
downloadgentoo-58290cb01685a8d85540d22656148d5b8c49f0ec.tar.gz
gentoo-58290cb01685a8d85540d22656148d5b8c49f0ec.tar.bz2
gentoo-58290cb01685a8d85540d22656148d5b8c49f0ec.zip
sys-fs/dosfstools: Bump to version 4.1
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/dosfstools/Manifest1
-rw-r--r--sys-fs/dosfstools/dosfstools-4.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/sys-fs/dosfstools/Manifest b/sys-fs/dosfstools/Manifest
index e5891d7a2a37..039ade858139 100644
--- a/sys-fs/dosfstools/Manifest
+++ b/sys-fs/dosfstools/Manifest
@@ -1 +1,2 @@
DIST dosfstools-4.0.tar.xz 157564 SHA256 9037738953559d1efe04fc5408b6846216cc0138f7f9d32de80b6ec3c35e7daf SHA512 81acf54dc87e1a8b436848b0c8c596c8b9a2f334c5b3e5496547feb243b70ef320a621a9b5afaa8b054f45a5c2184fae9ae167019f2f83aba417a10954a23a58 WHIRLPOOL eb6de4523ff2fbc7161bd75e0983148faf85d700489647ad8792abd4fb41503b85b2b2b6feb684a14d37c0c04d0307a5d885f5010f8ba386037a8e9eea512f85
+DIST dosfstools-4.1.tar.xz 172936 SHA256 e6b2aca70ccc3fe3687365009dd94a2e18e82b688ed4e260e04b7412471cc173 SHA512 e7a8aab34255d15e6865a7b031971352af1255134fab83389673bcc3cbd6ba255241bd2429070aeb4b927f8d7d73ccf1aeafe94566b133e88e7586897c317b78 WHIRLPOOL 6504926aab2d38b03ac70af06d969c1e9576fa6604939e57182d5e3acc692651080e5b5f5af8b2f9a1c27392a0c26a89da7ab02ad0f530dd38399d5a6393d115
diff --git a/sys-fs/dosfstools/dosfstools-4.1.ebuild b/sys-fs/dosfstools/dosfstools-4.1.ebuild
new file mode 100644
index 000000000000..e524eaf28ef3
--- /dev/null
+++ b/sys-fs/dosfstools/dosfstools-4.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="DOS filesystem tools - provides mkdosfs, mkfs.msdos, mkfs.vfat"
+HOMEPAGE="https://github.com/dosfstools/dosfstools"
+SRC_URI="https://github.com/dosfstools/dosfstools/releases/download/v${PV}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="compat test +udev"
+
+CDEPEND="udev? ( virtual/libudev )"
+DEPEND="${CDEPEND}
+ test? ( app-editors/vim-core )
+ udev? ( virtual/pkgconfig )"
+RDEPEND="${CDEPEND}"
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ $(use_enable compat compat-symlinks) \
+ $(use_with udev)
+}
+
+src_install() {
+ default
+ if ! use compat; then
+ # Keep fsck -t vfat and mkfs -t vfat working, bug 584980.
+ dosym fsck.fat /usr/sbin/fsck.vfat
+ dosym mkfs.fat /usr/sbin/mkfs.vfat
+ fi
+}