sys-fs/dosfstools: Bump to version 4.1
authorLars Wendler <polynomial-c@gentoo.org>
Tue, 24 Jan 2017 15:55:55 +0000 (16:55 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 24 Jan 2017 15:56:10 +0000 (16:56 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

sys-fs/dosfstools/Manifest
sys-fs/dosfstools/dosfstools-4.1.ebuild [new file with mode: 0644]

index e5891d7a2a3785a67372a05716bde85ce363d44f..039ade858139138048b9d55a53cf6364678cf809 100644 (file)
@@ -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 (file)
index 0000000..e524eaf
--- /dev/null
@@ -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
+}