Add mtools package

This commit is contained in:
Ed Reel
2017-07-01 18:09:32 -05:00
parent 53da19cb6e
commit dd61c649d7

18
packages/mtools.rb Normal file
View File

@@ -0,0 +1,18 @@
require 'package'
class Mtools < Package
description 'Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them.'
homepage 'https://www.gnu.org/software/mtools/'
version '4.0.18'
source_url 'https://ftp.gnu.org/gnu/mtools/mtools-4.0.18.tar.bz2'
source_sha256 '59e9cf80885399c4f229e5d87e49c0c2bfeec044e1386d59fcd0b0aead6b2f85'
def self.build
system './configure --without-x'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end