Commit ac235736 authored by satmandu's avatar satmandu Committed by GitHub

Merge pull request #4900 from uberhacker/add-pre-built-binaries-d-y

Add pre-built binaries for dosfstools, e2fsprogs, macchanger and youtubedl
parents eaa72ddb 77fd7ff6
......@@ -3,17 +3,30 @@ 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'
compatibility 'all'
source_url 'https://github.com/dosfstools/dosfstools/releases/download/v4.1/dosfstools-4.1.tar.xz'
source_sha256 'e6b2aca70ccc3fe3687365009dd94a2e18e82b688ed4e260e04b7412471cc173'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/dosfstools-4.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/dosfstools-4.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/dosfstools-4.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/dosfstools-4.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'a2fa41c25a7aee9ae85cd1b7759d3de0f89c6e3863ab26b7959d0b7f7c4acae6',
armv7l: 'a2fa41c25a7aee9ae85cd1b7759d3de0f89c6e3863ab26b7959d0b7f7c4acae6',
i686: '5e71d1e528360ce349a3a609ffad1d5723a91fc2687a76b8fe5f2a8c8437665c',
x86_64: '430a5579234dd68276ecb94cd24c0e5b894b26f04e76b09d2268aeaef7467046',
})
def self.build
system "./configure #{CREW_OPTIONS} --enable-compat-symlinks"
system "make"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
......@@ -8,16 +8,29 @@ class E2fsprogs < Package
source_url 'https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.45.6/e2fsprogs-1.45.6.tar.xz'
source_sha256 'ffa7ae6954395abdc50d0f8605d8be84736465afc53b8938ef473fcf7ff44256'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/e2fsprogs-1.45.6-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/e2fsprogs-1.45.6-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/e2fsprogs-1.45.6-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/e2fsprogs-1.45.6-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '8c2bedd0fb8038b7e79bede2b7042754a6704fcec570433ef77bc9fb6c1b7745',
armv7l: '8c2bedd0fb8038b7e79bede2b7042754a6704fcec570433ef77bc9fb6c1b7745',
i686: '78505c168409d8239266de5d24d123b2199453f17255fc1d42b9d59e01539a99',
x86_64: 'e81555a711b57bed9e3a5a9850f207006ef4c5398d049f07793d314127616965',
})
def self.build
system "./configure #{CREW_OPTIONS}"
system "make"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
def self.check
system 'make', 'check'
end
def self.check
system "make", "check"
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
require 'package'
class Macchanger < Package
description 'GNU MAC Changer is an utility that makes the maniputation of MAC addresses of network interfaces easier.'
description 'GNU MAC Changer is an utility that makes the manipulation of MAC addresses of network interfaces easier.'
homepage 'http://www.gnu.org/software/macchanger/'
version '1.7.0'
compatibility 'all'
source_url 'https://github.com/alobbs/macchanger/releases/download/1.7.0/macchanger-1.7.0.tar.gz'
source_sha256 'dae2717c270fd5f62d790dbf80c19793c651b1b26b62c101b82d5fdf25a845bf'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/macchanger-1.7.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/macchanger-1.7.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/macchanger-1.7.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/macchanger-1.7.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'bee8775a633ffd9477709174b0303a5fcb432a9065f81d978580def71fc2a744',
armv7l: 'bee8775a633ffd9477709174b0303a5fcb432a9065f81d978580def71fc2a744',
i686: '0b36b17ab360fa74bce415e31404feffc0ba119c1324f2bdd073701a305d11e4',
x86_64: '954d693d8ccdcb403c0a5d29d17f5119ea3bfa62db1c59f8cf08eb1b5d495f5b',
})
def self.build
system "./configure #{CREW_OPTIONS}"
system "make"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.check
system "make", "check"
system 'make', 'check'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
......@@ -8,6 +8,19 @@ class Youtubedl < Package
source_url 'https://github.com/ytdl-org/youtube-dl/releases/download/2021.01.08/youtube-dl-2021.01.08.tar.gz'
source_sha256 '7340448a90ac82dfb2b1b6569f08bd87552b9b1647a81eb735e11dd6d30607cd'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/youtubedl-2021.01.08-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/youtubedl-2021.01.08-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/youtubedl-2021.01.08-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/youtubedl-2021.01.08-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '1427981aaedea3633c0a0e3ba7ef75dd3d9c3b351b10f1a60a5bdd72acc603cf',
armv7l: '1427981aaedea3633c0a0e3ba7ef75dd3d9c3b351b10f1a60a5bdd72acc603cf',
i686: 'b8a8c7f46c6f32c34c029661b0e2f052afbe68d16b9e52461067af6ae29868b5',
x86_64: '58e230678b46d8ea61f5c1e884ef0779dbbc3237bae4b04ef34c33e7f3fcd524',
})
def self.install
system "pip install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} -I youtube-dl==#{version}"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment