From 0a2f5c62af773ebc81a5b5a5698c95d19f8b7e18 Mon Sep 17 00:00:00 2001 From: saltedcoffii <55339220+saltedcoffii@users.noreply.github.com> Date: Wed, 13 Jan 2021 02:12:01 -0500 Subject: [PATCH] [New Package] dosfstools (#4899) * [New Package] dosfstools * Remove make check as it's unnecesssary * Add --enable-compat-symlinks to configure options --- packages/dosfstools.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 packages/dosfstools.rb diff --git a/packages/dosfstools.rb b/packages/dosfstools.rb new file mode 100644 index 000000000..0cd162193 --- /dev/null +++ b/packages/dosfstools.rb @@ -0,0 +1,19 @@ +require 'package' + +class Dosfstools < Package + description 'dosfstools consists of the programs mkfs.fat, fsck.fat and fatlabel to create, check and label file systems of the FAT family.' + homepage 'https://github.com/dosfstools/dosfstools' + compatibility 'all' + version '4.1' + source_url 'https://github.com/dosfstools/dosfstools/releases/download/v4.1/dosfstools-4.1.tar.xz' + source_sha256 'e6b2aca70ccc3fe3687365009dd94a2e18e82b688ed4e260e04b7412471cc173' + + def self.build + system "./configure #{CREW_OPTIONS} --enable-compat-symlinks" + system "make" + end + + def self.install + system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" + end +end