require 'package' class Miscfiles < Package description 'A collection of files not of crucial importance for system administration or operation, but which have come to be common on various systems over the years.' homepage 'https://www.gnu.org/software/miscfiles/' version '1.5' license 'GPL-2 and unicode' compatibility 'all' source_url 'https://ftpmirror.gnu.org/miscfiles/miscfiles-1.5.tar.gz' source_sha256 '6aaaa8898b0f6dac18bcaa5492874a6cd1243ffbe7a6dd347ca8f3ec3642a500' binary_compression 'tar.xz' binary_sha256({ aarch64: '83434d1f24d47b5e86b7ab649f186ab02530ac3a11c2f3cbf77481a95e3e2e0b', armv7l: '83434d1f24d47b5e86b7ab649f186ab02530ac3a11c2f3cbf77481a95e3e2e0b', i686: 'b9907e7bb95ca4501697ca6b376eba5001d1ac5f384f424fa54ae3da6491255f', x86_64: 'dbf2dfd4a5ee2268712620c434e3d97a4165d5ab2ab3170a467850cb5ddba59b' }) def self.build system "./configure #{CREW_CONFIGURE_OPTIONS}" end def self.install system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install' end end