Add check for package compatibility

This commit is contained in:
Ed Reel
2020-05-10 12:08:50 -05:00
parent 6abffd37db
commit 9617751bbd
1144 changed files with 1872 additions and 797 deletions

88
crew
View File

@@ -26,7 +26,7 @@ Usage:
crew files <name> ...
crew help [<command>]
crew install [-k|--keep] [-s|--build-from-source] [-S|--recursive-build] [-v|--verbose] <name> ...
crew list (available|installed)
crew list (available|installed|compatible|incompatible)
crew postinstall <name> ...
crew reinstall [-k|--keep] [-s|--build-from-source] [-S|--recursive-build] [-v|--verbose] <name> ...
crew remove [-v|--verbose] <name> ...
@@ -93,10 +93,17 @@ end
def print_package(pkgName, extra = false)
search pkgName, true
print '(i) '.lightgreen if @device[:installed_packages].any? do |elem|
elem[:name] == pkgName
status = ''
status = 'installed' if @device[:installed_packages].any? do |elem| elem[:name] == pkgName end
status = 'incompatible' unless @device[:compatible_packages].any? do |elem| elem[:name] == pkgName end
case status
when 'installed'
print @pkg.name.lightgreen
when 'incompatible'
print @pkg.name.lightred
else
print @pkg.name
end
print @pkg.name
print ": #{@pkg.description}" if @pkg.description
if extra
puts ""
@@ -129,16 +136,64 @@ def list_available
packageName = File.basename filename, '.rb'
@notInstalled = nil if packageList == CREW_CONFIG_PATH + 'meta/' + packageName + '.filelist'
end
puts File.basename filename, '.rb' if File.extname(filename) == '.rb' if @notInstalled
if @notInstalled and File.extname(filename) == '.rb'
pkgName = File.basename filename, '.rb'
set_package pkgName, true
if @pkg.compatibility.include? 'all' or @pkg.compatibility.include? ARCH
puts pkgName
else
puts pkgName.lightred
end
end
end
end
def list_installed
Dir["#{CREW_CONFIG_PATH}/meta/*.directorylist"].sort.map { |f|
File.basename(f, ".directorylist")
File.basename(f, ".directorylist").lightgreen
}
end
def list_compatible(compat = true)
Find.find (CREW_LIB_PATH + 'packages') do |filename|
if File.extname(filename) == '.rb'
pkgName = File.basename filename, '.rb'
set_package pkgName, true
if compat
if @pkg.compatibility.include? 'all' or @pkg.compatibility.include? ARCH
if File.exist? CREW_CONFIG_PATH + 'meta/' + pkgName + '.filelist'
puts pkgName.lightgreen
else
puts pkgName
end
end
else
unless @pkg.compatibility.include? 'all' or @pkg.compatibility.include? ARCH
puts pkgName.lightred
end
end
end
end
end
def generate_compatible
@device[:compatible_packages] = []
Find.find (CREW_LIB_PATH + 'packages') do |filename|
if File.extname(filename) == '.rb'
pkgName = File.basename filename, '.rb'
set_package pkgName, true
if @pkg.compatibility.include? 'all' or @pkg.compatibility.include? ARCH
#add to compatible packages
@device[:compatible_packages].push(name: @pkg.name)
end
end
end
File.open(CREW_CONFIG_PATH + 'device.json', 'w') do |file|
output = JSON.parse @device.to_json
file.write JSON.pretty_generate(output)
end
end
def search (pkgName, silent = false)
Find.find (CREW_LIB_PATH + 'packages') do |filename|
return set_package(pkgName, silent) if filename == CREW_LIB_PATH + 'packages/' + pkgName + '.rb'
@@ -196,8 +251,8 @@ def help (pkgName)
puts "If `-S` or `--recursive-build` is present, the package(s), including all dependencies, will be compiled instead of installed via binary."
puts "If `-v` or `--verbose` is present, extra information will be displayed."
when "list"
puts "List available or installed packages"
puts "Usage: crew list (available|installed)"
puts "List packages"
puts "Usage: crew list available|installed|compatible|incompatible"
when "postinstall"
puts "Display postinstall messages of package(s)."
puts "Usage: crew postinstall <package1> [<package2> ...]"
@@ -218,14 +273,14 @@ def help (pkgName)
puts "Look for package(s)."
puts "Usage: crew search [-v|--verbose] [<pattern> ...]"
puts "If <pattern> is omitted, all packages will be returned."
puts "(i)".lightgreen + " in front of the name means the package is installed."
puts "If the package color is " + "green".lightgreen + ", it means the package is installed."
puts "If the package color is " + "red".lightred + ", it means the architecture is not supported."
puts "The <pattern> string can also contain regular expressions."
puts "If `-v` or `--verbose` is present, homepage and version will be displayed."
puts "Examples:"
puts " crew search | grep '(i)'".lightblue + " will display all installed packages."
puts " crew search | grep -v '(i)'".lightblue + " will display all available packages not already installed."
puts " crew search ^lib".lightblue + " will display all packages that start with `lib`."
puts " crew search audio".lightblue + " will display all packages with `audio` in the description."
puts " crew search audio".lightblue + " will display all packages with `audio` in the name."
puts " crew search | grep -i audio".lightblue + " will display all packages with `audio` in the name or description."
puts " crew search git -v".lightblue + " will display packages with `git` in the name along with homepage and version."
when "update"
puts "Update crew."
@@ -333,9 +388,12 @@ def update
end
puts "Package lists, crew, and library updated."
#update compatible packages
puts "Generating compatible packages..."
generate_compatible
#check for outdated installed packages
puts "Checking for package updates..."
puts ""
canBeUpdated = 0
@device[:installed_packages].each do |package|
@@ -948,6 +1006,10 @@ def list_command (args)
list_available
elsif args['installed']
puts list_installed
elsif args['compatible']
list_compatible true
elsif args['incompatible']
list_compatible false
end
end

View File

@@ -1,6 +1,6 @@
# Defines common constants used in different parts of crew
CREW_VERSION = '1.3.7'
CREW_VERSION = '1.4.0'
ARCH = `uname -m`.strip
ARCH_LIB = if ARCH == 'x86_64' then 'lib64' else 'lib' end

View File

@@ -1,7 +1,7 @@
require 'package_helpers'
class Package
property :description, :homepage, :version, :binary_url, :binary_sha1, :binary_sha256, :source_url, :source_sha1, :source_sha256, :is_fake
property :description, :homepage, :version, :compatibility, :binary_url, :binary_sha1, :binary_sha256, :source_url, :source_sha1, :source_sha256, :is_fake
class << self
attr_reader :is_fake

View File

@@ -4,6 +4,7 @@ class A2png < Package
description 'Converts plain ASCII text into PNG bitmap images.'
homepage 'https://sourceforge.net/projects/a2png/'
version '0.1.5-1'
compatibility 'all'
source_url 'https://sourceforge.net/projects/a2png/files/a2png/0.1.5/a2png-0.1.5.tar.bz2'
source_sha256 'd3ae1c771f5180d93f35cded76d9bb4c4cc2023dbe65613e78add3eeb43f736b'

View File

@@ -4,6 +4,7 @@ class A2ps < Package
description 'GNU a2ps is an Any to PostScript filter.'
homepage 'http://www.gnu.org/software/a2ps/'
version '4.14-1'
compatibility 'all'
source_url 'https://ftp.gnu.org/gnu/a2ps/a2ps-4.14.tar.gz'
source_sha256 'f3ae8d3d4564a41b6e2a21f237d2f2b104f48108591e8b83497500182a3ab3a4'

View File

@@ -4,6 +4,7 @@ class A52 < Package
description 'liba52 is a free library for decoding ATSC A/52 streams.'
homepage 'http://liba52.sourceforge.net/'
version '0.7.4'
compatibility 'all'
source_url 'http://liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz'
source_sha256 'a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33'

View File

@@ -4,6 +4,7 @@ class Aalib < Package
description 'AA means Ascii Art - the AAlib (ascii art GFX library), BB (audiovisual demonstration for your terminal), aview (image browser/animation player), AAvga (SVGAlib wrapper for AA-lib), ttyquake (text mode quake), aa3d (random dot stereogram generator)...'
homepage 'https://sourceforge.net/projects/aa-project/'
version '1.4rc5'
compatibility 'all'
source_url 'https://downloads.sourceforge.net/project/aa-project/aa-lib/1.4rc5/aalib-1.4rc5.tar.gz'
source_sha256 'fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee'

View File

@@ -4,6 +4,7 @@ class Abcde < Package
description 'Grab an entire CD and compress it to Ogg/Vorbis, MP3, FLAC, AAC, Ogg/Speex and/or MPP/MP+(Musepack) format.'
homepage 'https://abcde.einval.com/wiki/'
version '2.9.1'
compatibility 'all'
source_url 'https://abcde.einval.com/download/abcde-2.9.1.tar.gz'
source_sha256 '70ec6e06b791115fbe88dee313f58f691f9b559ee992f2af5ed64fe6ad2e55d7'

View File

@@ -4,6 +4,7 @@ class Acl < Package
description 'Commands for Manipulating POSIX Access Control Lists.'
homepage 'http://savannah.nongnu.org/projects/acl'
version '2.2.53'
compatibility 'all'
source_url 'https://bigsearcher.com/mirrors/nongnu/acl/acl-2.2.53.tar.gz'
source_sha256 '06be9865c6f418d851ff4494e12406568353b891ffe1f596b34693c387af26c7'

View File

@@ -4,6 +4,7 @@ class Acpica < Package
description 'ACPI tools, including Intel ACPI Source Language compiler'
homepage 'https://acpica.org/'
version '20200326'
compatibility 'all'
source_url 'https://acpica.org/sites/acpica/files/acpica-unix2-20200326.tar.gz'
source_sha256 '7e0d38d088ff4b2114d08e76201e000091d5a4af40ce7275950759299ba10878'

View File

@@ -4,6 +4,7 @@ class Ag < Package
description 'The Silver Searcher. Very fast search similar to ack or grep. (ag)'
homepage 'https://github.com/ggreer/the_silver_searcher'
version '2.2.0'
compatibility 'all'
source_url 'https://github.com/ggreer/the_silver_searcher/archive/2.2.0.tar.gz'
source_sha256 '6a0a19ca5e73b2bef9481c29a508d2413ca1a0a9a5a6b1bd9bbd695a7626cbf9'

View File

@@ -4,6 +4,7 @@ class Aide < Package
description 'Advanced Intrusion Detection Environment'
homepage 'http://aide.sourceforge.net/'
version '0.15.1'
compatibility 'all'
source_url 'http://downloads.sourceforge.net/project/aide/aide/0.15.1/aide-0.15.1.tar.gz'
source_sha256 '303e5c186257df8c86e418193199f4ea2183fc37d3d4a9098a614f61346059ef'

View File

@@ -4,6 +4,7 @@ class Aircrack_ng < Package
description 'Key cracker for the 802.11 WEP and WPA-PSK protocols.'
homepage 'https://www.aircrack-ng.org'
version '1.2-rc4-3'
compatibility 'all'
source_url 'http://download.aircrack-ng.org/aircrack-ng-1.2-rc4.tar.gz'
source_sha256 'd93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36'

View File

@@ -4,6 +4,7 @@ class Alien < Package
description 'This program converts linux packages between the rpm, deb, tgz and slp packages.'
homepage 'https://sourceforge.net/projects/alien-pkg-convert/'
version '8.95'
compatibility 'all'
source_url 'https://downloads.sourceforge.net/project/alien-pkg-convert/release/alien_8.95.tar.xz'
source_sha256 '37a22587c33810feab323474bdadbf969fda2eb4e720b2ca01b40d82d6f71a17'

View File

@@ -4,6 +4,7 @@ class Alive < Package
description 'Automatic login and keep-alive utility for Internet connections.'
homepage 'https://www.gnu.org/software/alive/'
version '2.0.2'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/alive/alive-2.0.2.tar.xz'
source_sha256 '120dd9ef361833623be353ad8cfac585abae51a16fedd3a84f1d99a842793fef'

View File

@@ -4,6 +4,7 @@ class Alpine < Package
description 'The continuation of the Alpine email client from University of Washington.'
homepage 'http://alpine.x10host.com/alpine'
version '2.22'
compatibility 'all'
source_url 'http://alpine.x10host.com/alpine/release/src/alpine-2.22.tar.xz'
source_sha256 '849567c1b6f71fde3aaa1c97cf0577b12a525d9e22c0ea47797c4bf1cd2bbfdb'

View File

@@ -4,6 +4,7 @@ class Alsa_lib < Package
description 'The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system.'
homepage 'https://www.alsa-project.org/main/index.php/Main_Page'
version '1.2.2'
compatibility 'all'
source_url 'ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.2.2.tar.bz2'
source_sha256 'd8e853d8805574777bbe40937812ad1419c9ea7210e176f0def3e6ed255ab3ec'

View File

@@ -4,6 +4,7 @@ class Alsa_plugins < Package
description 'alsa-plugins contains plugins for various ALSA needs (e.g. Jack).'
homepage 'https://www.alsa-project.org/main/index.php/Main_Page'
version '1.2.2'
compatibility 'all'
source_url 'ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-1.2.2.tar.bz2'
source_sha256 '1c0f06450c928d711719686c9dbece2d480184f36fab11b8f0534cb7b41e337d'

View File

@@ -4,6 +4,7 @@ class Alsa_tools < Package
description 'The Advanced Linux Sound Architecture (ALSA) - tools'
homepage 'https://github.com/alsa-project/alsa-tools'
version '1.2.2'
compatibility 'all'
source_url 'https://github.com/alsa-project/alsa-tools/archive/v1.2.2.tar.gz'
source_sha256 '7242cfb3493461b2a28c9c3a6a69dbc2e9ee236a5dc46400cbb0d1d87c27b453'

View File

@@ -4,6 +4,7 @@ class Alsa_utils < Package
description 'The Advanced Linux Sound Architecture (ALSA) - utilities'
homepage 'https://github.com/alsa-project/alsa-utils'
version '1.2.2'
compatibility 'all'
source_url 'https://github.com/alsa-project/alsa-utils/archive/v1.2.2.tar.gz'
source_sha256 '9da1ce4f12a4dd56d55cd5a8f6ae7d56ac91397c3d37fdfcd737adeeb34fce1c'

View File

@@ -4,6 +4,7 @@ class Anagram < Package
description 'finds anagrams or permutations of words in the target phrase'
homepage 'http://www.fourmilab.ch/anagram/'
version '1.4'
compatibility 'all'
source_url 'http://www.fourmilab.ch/anagram/anagram-1.4.tar.gz'
source_sha256 'd046fd5accd3c62267c0ef81b56cd05c59ec92b37cdb73f69d031879dba308bd'

View File

@@ -4,16 +4,16 @@ class Android_studio < Package
description 'Android Studio is the official IDE for Android development.'
homepage 'https://developer.android.com/studio'
version '3.5.3.0'
compatibility 'x86_64'
case ARCH
when 'x86_64'
source_url 'https://dl.google.com/dl/android/studio/ide-zips/3.5.3.0/android-studio-ide-191.6010548-linux.tar.gz'
source_sha256 'af630d40f276b0d169c6ac8c7663a989f562b0ac48a1d3f0d720f5b6472355db'
depends_on 'jdk8'
depends_on 'xdg_base'
depends_on 'sommelier'
end
depends_on 'jdk8'
depends_on 'xdg_base'
depends_on 'sommelier'
def self.preinstall
free_space = `echo $(($(stat -f --format="%a*%S" .)))`.chomp.to_i
abort 'Not enough free disk space. You need at least 6 GB to install.'.lightred if free_space < 6442450944

View File

@@ -4,6 +4,7 @@ class Ansible < Package
description 'Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs.'
homepage 'https://www.ansible.com/'
version '2.8.5'
compatibility 'all'
source_url 'https://releases.ansible.com/ansible/ansible-2.8.5.tar.gz'
source_sha256 '8e9403e755ce8ef27b6066cdd7a4c567aa80ebe2fd90d0ff8efa0a725d246986'

View File

@@ -4,6 +4,7 @@ class Ansifilter < Package
description 'Ansifilter parses common ANSI codes to remove them or to convert them to another colored text file format (HTML, TeX, LaTeX, RTF, Pango or BBCode).'
homepage 'http://www.andre-simon.de/doku/ansifilter/en/ansifilter.php'
version '2.10'
compatibility 'all'
source_url 'http://www.andre-simon.de/zip/ansifilter-2.10.tar.bz2'
source_sha256 '23d2cf439d4ed4fbec8050b2826d61c244694ce06aaf8ca7d0ec1016afebee3f'

View File

@@ -4,6 +4,7 @@ class Ant < Package
description 'Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other.'
homepage 'http://ant.apache.org/'
version '1.10.7'
compatibility 'all'
source_url 'https://www.apache.org/dist/ant/source/apache-ant-1.10.7-src.tar.xz'
source_sha256 'c8d68b396d9e44b49668bafe0c82f8c89497915254b5395d73d6f6e41d7a0e25'

View File

@@ -4,6 +4,7 @@ class Antiword < Package
description 'Antiword is a free MS Word reader for Linux and RISC OS.'
homepage 'http://www.winfield.demon.nl/'
version '0.37-2'
compatibility 'all'
source_url 'http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz'
source_sha256 '8e2c000fcbc6d641b0e6ff95e13c846da3ff31097801e86702124a206888f5ac'

View File

@@ -4,6 +4,7 @@ class Antlr4 < Package
description 'ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.'
homepage 'http://www.antlr.org/'
version '4.7.1'
compatibility 'all'
source_url 'https://raw.githubusercontent.com/antlr/antlr4/4.7.1/README.md'
source_sha256 '70a58ea4c4f5ed23306313782bc13f36c3529d9a990e95ab273d5deed9286d4f'

View File

@@ -4,6 +4,7 @@ class Apr < Package
description 'The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. APR is the base portability library.'
homepage 'https://apr.apache.org/'
version '1.7.0'
compatibility 'all'
source_url 'https://apache.claz.org/apr/apr-1.7.0.tar.bz2'
source_sha256 'e2e148f0b2e99b8e5c6caa09f6d4fb4dd3e83f744aa72a952f94f5a14436f7ea'

View File

@@ -4,6 +4,7 @@ class Apriconv < Package
description 'a portable implementation of the iconv() library'
homepage 'http://apr.apache.org/'
version '1.2.2'
compatibility 'all'
source_url 'https://apache.claz.org/apr/apr-iconv-1.2.2.tar.bz2'
source_sha256 '7d454e0fe32f2385f671000e3b755839d16aabd7291e3947c973c90377c35313'

View File

@@ -4,6 +4,7 @@ class Aprutil < Package
description 'APR-util provides a number of helpful abstractions on top of APR.'
homepage 'http://apr.apache.org/'
version '1.6.1'
compatibility 'all'
source_url 'https://apache.claz.org/apr/apr-util-1.6.1.tar.bz2'
source_sha256 'd3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b'

View File

@@ -4,6 +4,7 @@ class Apulse < Package
description 'PulseAudio emulation for ALSA'
homepage 'https://github.com/i-rinat/apulse'
version '0.1.12'
compatibility 'all'
source_url 'https://github.com/i-rinat/apulse/archive/v0.1.12.tar.gz'
source_sha256 'cfcadfe971abd785ed3ca24e576fcbaade185525c1eda76daf32dbf298e52892'

View File

@@ -4,8 +4,17 @@ class Aqemu < Package
description 'AQEMU is a GUI for virtual machines using QEMU as the backend.'
homepage 'https://sourceforge.net/projects/aqemu/'
version '0.9.2'
source_url 'https://downloads.sourceforge.net/project/aqemu/aqemu/0.9.2/aqemu-0.9.2.tar.gz'
source_sha256 'e3d54de00ebdce3754f97f7e0e7cce8cebb588e8ce6bc249401cc909281b08de'
compatibility 'aarch64,armv7l,x86_64'
case ARCH
when 'aarch64', 'armv7l', 'x86_64'
source_url 'https://downloads.sourceforge.net/project/aqemu/aqemu/0.9.2/aqemu-0.9.2.tar.gz'
source_sha256 'e3d54de00ebdce3754f97f7e0e7cce8cebb588e8ce6bc249401cc909281b08de'
depends_on 'libvncserver'
depends_on 'qemu'
depends_on 'qtbase'
depends_on 'xdg_base'
depends_on 'sommelier'
end
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/aqemu-0.9.2-chromeos-armv7l.tar.xz',
@@ -18,12 +27,6 @@ class Aqemu < Package
x86_64: '99544f65ac97a48e5f7e4c25eb26113db8301b25a5bbdd41d2fbfe52a5bdcd26',
})
depends_on 'libvncserver'
depends_on 'qemu'
depends_on 'qtbase'
depends_on 'xdg_base'
depends_on 'sommelier'
def self.build
Dir.mkdir 'build'
Dir.chdir 'build' do

View File

@@ -18,6 +18,7 @@ class Arduino_ide < Package
description 'Arduino is an open-source physical computing platform based on a simple I/O board and a development environment that implements the Processing/Wiring language.'
homepage 'https://www.arduino.cc/'
version '1.8.10'
compatibility 'all'
source_url 'https://github.com/arduino/Arduino/releases/download/1.8.10/arduino-1.8.10.tar.xz'
source_sha256 '862e4b100d5214ca51d501edcc095467d7a4e3dc39b306146001da8b0c63343e'

View File

@@ -4,6 +4,7 @@ class Argon2 < Package
description 'The password hash Argon2, winner of PHC'
homepage 'https://github.com/P-H-C/phc-winner-argon2'
version '20190702'
compatibility 'all'
source_url 'https://github.com/P-H-C/phc-winner-argon2/archive/20190702.tar.gz'
source_sha256 'daf972a89577f8772602bf2eb38b6a3dd3d922bf5724d45e7f9589b5e830442c'

View File

@@ -4,6 +4,7 @@ class Aria2 < Package
description 'aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.'
homepage 'https://aria2.github.io/'
version '1.35.0'
compatibility 'all'
source_url 'https://github.com/aria2/aria2/releases/download/release-1.35.0/aria2-1.35.0.tar.xz'
source_sha256 '1e2b7fd08d6af228856e51c07173cfcf987528f1ac97e04c5af4a47642617dfd'

View File

@@ -4,6 +4,7 @@ class Armadillo < Package
description 'Armadillo is a high quality linear algebra library (matrix maths) for the C++ language, aiming towards a good balance between speed and ease of use'
homepage 'http://arma.sourceforge.net/'
version '9.600.5'
compatibility 'all'
source_url 'https://downloads.sourceforge.net/project/arma/armadillo-9.600.5.tar.xz'
source_sha256 'dd9cd664282f2c3483af194ceedc2fba8559e0d20f8782c640fd6f3ac7cac2bf'

View File

@@ -4,6 +4,7 @@ class Arpack_ng < Package
description 'Collection of Fortran77 subroutines designed to solve large scale eigenvalue problems.'
homepage 'https://github.com/opencollab/arpack-ng'
version '3.7.0'
compatibility 'all'
source_url 'https://github.com/opencollab/arpack-ng/archive/3.7.0.tar.gz'
source_sha256 '972e3fc3cd0b9d6b5a737c9bf6fd07515c0d6549319d4ffb06970e64fa3cc2d6'

View File

@@ -4,6 +4,7 @@ class Arping < Package
description 'ARP Ping'
homepage 'https://github.com/ThomasHabets/arping'
version '2.21'
compatibility 'all'
source_url 'https://github.com/ThomasHabets/arping/archive/arping-2.21.tar.gz'
source_sha256 '7bf550571aa1d4a2b00878bb2f6fb857a09d30bf65411c90d62afcd86755bd81'

View File

@@ -4,6 +4,7 @@ class Ascii < Package
description 'List ASCII idiomatic names and octal/decimal code-point forms.'
homepage 'http://www.catb.org/~esr/ascii/'
version '3.18-1'
compatibility 'all'
source_url 'http://www.catb.org/~esr/ascii/ascii-3.18.tar.gz'
source_sha256 '728422d5f4da61a37a17b4364d06708e543297de0a5f70305243236d80df072d'

View File

@@ -4,6 +4,7 @@ class Asciidoc < Package
description 'AsciiDoc is a presentable text document format for writing articles, UNIX man pages and other small to medium sized documents.'
homepage 'http://asciidoc.org/'
version '8.6.9-1'
compatibility 'all'
source_url 'https://downloads.sourceforge.net/project/asciidoc/asciidoc/8.6.9/asciidoc-8.6.9.tar.gz'
source_sha256 '78db9d0567c8ab6570a6eff7ffdf84eadd91f2dfc0a92a2d0105d323cab4e1f0'

View File

@@ -4,6 +4,7 @@ class Asciidoctor < Package
description 'A fast text processor & publishing toolchain for converting AsciiDoc to HTML5, DocBook & more.'
homepage 'https://asciidoctor.org/'
version '2.0.10'
compatibility 'all'
source_url 'https://github.com/asciidoctor/asciidoctor/archive/v2.0.10.tar.gz'
source_sha256 'afca74837e6d4b339535e8ba0b79f2ad00bd1eef78bf391cc36995ca2e31630a'
@@ -16,7 +17,7 @@ class Asciidoctor < Package
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/asciidoctor"
FileUtils.cp_r Dir.glob('*'), "#{CREW_DEST_PREFIX}/share/asciidoctor"
system "install -Dm644 man/asciidoctor.1 #{CREW_DEST_PREFIX}/share/man/man1/asciidoctor.1"
system "install -Dm644 man/asciidoctor.1 #{CREW_DEST_MAN_PREFIX}/man1/asciidoctor.1"
FileUtils.ln_s "#{CREW_PREFIX}/share/asciidoctor/bin/asciidoctor", "#{CREW_DEST_PREFIX}/bin/asciidoctor"
end
end

View File

@@ -4,6 +4,7 @@ class Asciinema < Package
description 'Terminal session recorder'
homepage 'https://asciinema.org/'
version '2.0.2'
compatibility 'all'
source_url 'https://github.com/asciinema/asciinema/archive/v2.0.2.tar.gz'
source_sha256 '2578a1b5611e5375771ef6582a6533ef8d40cdbed1ba1c87786fd23af625ab68'

View File

@@ -4,6 +4,7 @@ class Aspell < Package
description 'GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell.'
homepage 'http://aspell.net/'
version '0.60.8'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/aspell/aspell-0.60.8.tar.gz'
source_sha256 'f9b77e515334a751b2e60daab5db23499e26c9209f5e7b7443b05235ad0226f2'

View File

@@ -4,6 +4,7 @@ class Aspell_en < Package
description 'English Aspell Dictionary'
homepage 'https://ftpmirror.gnu.org/aspell/dict/0index.html'
version '2019.10.06-0'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/aspell/dict/en/aspell6-en-2019.10.06-0.tar.bz2'
source_sha256 '24334b4daac6890a679084f4089e1ce7edbe33c442ace776fa693d8e334f51fd'

View File

@@ -4,6 +4,7 @@ class Aspell_es < Package
description 'Spanish Aspell Dictionary'
homepage 'ftp://ftp.gnu.org/gnu/aspell/dict/0index.html'
version '1.11-2'
compatibility 'all'
source_url 'ftp://ftp.gnu.org/gnu/aspell/dict/es/aspell6-es-1.11-2.tar.bz2'
source_sha256 'ad367fa1e7069c72eb7ae37e4d39c30a44d32a6aa73cedccbd0d06a69018afcc'

View File

@@ -4,6 +4,7 @@ class Aspell_fr < Package
description 'French Aspell Dictionary'
homepage 'https://ftpmirror.gnu.org/aspell/dict/0index.html'
version '0.50-3'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/aspell/dict/fr/aspell-fr-0.50-3.tar.bz2'
source_sha256 'f9421047519d2af9a7a466e4336f6e6ea55206b356cd33c8bd18cb626bf2ce91'

View File

@@ -4,6 +4,7 @@ class At_spi2_atk < Package
description 'D-Bus AT-SPI'
homepage 'http://www.freedesktop.org/'
version '2.26.1'
compatibility 'all'
source_url 'https://github.com/GNOME/at-spi2-atk/archive/AT_SPI2_ATK_2_26_1.tar.gz'
source_sha256 '45fc52f794c785d54d6e2689f51ade043c96ea0263f6113c1ce26df1ef26af5b'

View File

@@ -4,6 +4,7 @@ class At_spi2_core < Package
description 'This is over DBus, tookit widgets provide their content to screen readers such as Orca'
homepage 'http://www.freedesktop.org/'
version '2.26.1'
compatibility 'all'
source_url 'https://github.com/GNOME/at-spi2-core/archive/AT_SPI2_CORE_2_26_1.tar.gz'
source_sha256 '30cafdcce582cf7fc57d760ef36293344b8a29370f96b300ff56fe24cdb4a0a2'

View File

@@ -4,6 +4,7 @@ class Atk < Package
description 'ATK provides the set of accessibility interfaces that are implemented by other tookits and applications'
homepage 'https://developer.gnome.org/atk'
version '2.26.1'
compatibility 'all'
source_url 'https://download.gnome.org/sources/atk/2.26/atk-2.26.1.tar.xz'
source_sha256 'ef00ff6b83851dddc8db38b4d9faeffb99572ba150b0664ee02e46f015ea97cb'

View File

@@ -4,6 +4,7 @@ class Atkmm < Package
description 'Atkmm is the official C++ interface for the ATK accessibility toolkit library.'
homepage 'https://www.gtkmm.org/'
version '2.24.2'
compatibility 'all'
source_url 'https://ftp.gnome.org/pub/gnome/sources/atkmm/2.24/atkmm-2.24.2.tar.xz'
source_sha256 'ff95385759e2af23828d4056356f25376cfabc41e690ac1df055371537e458bd'

View File

@@ -4,6 +4,7 @@ class Atom < Package
description 'The hackable text editor'
homepage 'https://atom.io/'
version '1.46.0'
compatibility 'x86_64'
case ARCH
when 'x86_64'
source_url 'file:///dev/null'

View File

@@ -4,6 +4,7 @@ class Atomicparsley < Package
description 'AtomicParsley is a lightweight command line program for reading, parsing and setting metadata into MPEG-4 files, in particular, iTunes-style metadata.'
homepage 'https://github.com/wez/atomicparsley'
version '0.9.6'
compatibility 'all'
source_url 'https://bitbucket.org/wez/atomicparsley/get/0.9.6.tar.gz'
source_sha256 '8ba4e3e21d7a9239932e2a6f34842194d8f9eba84ce9eb83fb35369f5f3f05ab'

View File

@@ -4,6 +4,7 @@ class Atool < Package
description 'A script for managing file archives of various types.'
homepage 'http://www.nongnu.org/atool/'
version '0.39'
compatibility 'all'
source_url 'http://download.savannah.gnu.org/releases/atool/atool-0.39.0.tar.gz'
source_sha256 'aaf60095884abb872e25f8e919a8a63d0dabaeca46faeba87d12812d6efc703b'

View File

@@ -4,6 +4,7 @@ class Attr < Package
description 'Commands for Manipulating Filesystem Extended Attributes.'
homepage 'http://savannah.nongnu.org/projects/attr'
version '2.4.48-1'
compatibility 'all'
source_url 'http://download.savannah.gnu.org/releases/attr/attr-2.4.48.tar.gz'
source_sha256 '5ead72b358ec709ed00bbf7a9eaef1654baad937c001c044fe8b74c57f5324e7'

View File

@@ -4,6 +4,7 @@ class Audacious < Package
description 'Audacious is an open source audio player.'
homepage 'https://audacious-media-player.org/'
version '3.10.1'
compatibility 'all'
source_url 'https://distfiles.audacious-media-player.org/audacious-3.10.1.tar.bz2'
source_sha256 '8366e840bb3c9448c2cf0cf9a0800155b0bd7cc212a28ba44990c3d2289c6b93'

View File

@@ -4,6 +4,7 @@ class Audacious_plugins < Package
description 'Audacious is an open source audio player.'
homepage 'https://audacious-media-player.org/'
version '3.10.1'
compatibility 'all'
source_url 'https://distfiles.audacious-media-player.org/audacious-plugins-3.10.1.tar.bz2'
source_sha256 'eec3177631f99729bf0e94223b627406cc648c70e6646e35613c7b55040a2642'

View File

@@ -4,6 +4,7 @@ class Augeas < Package
description 'Augeas is a configuration editing tool that parses native formats and transforms them into a tree.'
homepage 'http://augeas.net/'
version '1.12.0'
compatibility 'all'
source_url 'http://download.augeas.net/augeas-1.12.0.tar.gz'
source_sha256 '321942c9cc32185e2e9cb72d0a70eea106635b50269075aca6714e3ec282cb87'

View File

@@ -4,6 +4,7 @@ class Autoconf < Package
description 'Autoconf is an extensible package of M4 macros that produce shell scripts to automatically configure software source code packages.'
homepage 'http://www.gnu.org/software/autoconf/'
version '2.69'
compatibility 'all'
source_url 'ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz'
source_sha256 '64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684'

View File

@@ -4,6 +4,7 @@ class Autoconf_archive < Package
description 'GNU Autoconf Archive is a collection of freely re-usable Autoconf macros.'
homepage 'https://www.gnu.org/software/autoconf-archive/'
version '2018.03.13'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2018.03.13.tar.xz'
source_sha256 '6175f90d9fa64c4d939bdbb3e8511ae0ee2134863a2c7bf8d9733819efa6e159'

View File

@@ -4,6 +4,7 @@ class Automake < Package
description 'Automake is a tool for automatically generating Makefile.in files compliant with the GNU Coding Standards.'
homepage 'http://www.gnu.org/software/automake/'
version '1.16.2'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/automake/automake-1.16.2.tar.xz'
source_sha256 'ccc459de3d710e066ab9e12d2f119bd164a08c9341ca24ba22c9adaa179eedd0'

View File

@@ -4,6 +4,7 @@ class Autosetup < Package
description 'autosetup is a tool, similar to autoconf, to configure a build system'
homepage 'http://msteveb.github.io/autosetup/'
version '0.6.9'
compatibility 'all'
source_url 'https://github.com/msteveb/autosetup/archive/v0.6.9.tar.gz'
source_sha256 '4620bf17508e3c00e028d3376350e48372c6945b8ac29e0528c0ece0ac978bce'

View File

@@ -4,6 +4,7 @@ class Autossh < Package
description 'The purpose of autossh is to start an SSH connection, monitor it, and restart it if necessary.'
homepage 'http://www.harding.motd.ca/autossh'
# No releases available so the only option is to use the master branch
compatibility 'all'
version '9c72d3b'
source_url 'https://github.com/jonhiggs/autossh/archive/9c72d3b6f77bfe2ad57844128ea46019fecb7fdb.tar.gz'
source_sha256 '39497e1ccd80f781282e8f6387bb3ae5b1501807a39aeced95e8be57c3778cba'

View File

@@ -4,6 +4,7 @@ class Aview < Package
description 'aview is an high quality ascii-art image(pnm) browser and animation(fli/flc) player usefull especially with lynx browser.'
homepage 'http://aa-project.sourceforge.net/aview/'
version '1.3.0rc1'
compatibility 'all'
source_url 'https://downloads.sourceforge.net/project/aa-project/aview/1.3.0rc1/aview-1.3.0rc1.tar.gz'
source_sha256 '42d61c4194e8b9b69a881fdde698c83cb27d7eda59e08b300e73aaa34474ec99'

View File

@@ -4,6 +4,7 @@ class Avocado < Package
description 'Avocado is a next generation testing framework inspired by Autotest and modern development tools such as git.'
homepage 'http://avocado-framework.github.io/'
version '67.0'
compatibility 'all'
source_url 'https://github.com/avocado-framework/avocado/archive/67.0.tar.gz'
source_sha256 'ae96466e2c19da3c6044ae59e05b235f6d211cfc4de8cbecfcaf0b59dc61332a'

View File

@@ -4,6 +4,7 @@ class Aws < Package
description 'The AWS CLI is an open source tool built on top of the AWS SDK for Python (Boto) that provides commands for interacting with AWS services.'
homepage 'https://aws.amazon.com/documentation/cli/'
version '1.17.13'
compatibility 'all'
source_url 'https://github.com/aws/aws-cli/archive/1.17.13.tar.gz'
source_sha256 '4dc8ff38ca67341021f6e2971084d7ed8b87968443e089e758b5531f1381205f'

View File

@@ -4,6 +4,7 @@ class Aws_shell < Package
description 'An integrated shell for working with the AWS CLI.'
homepage 'https://github.com/awslabs/aws-shell'
version '0.2.1'
compatibility 'all'
source_url 'https://github.com/awslabs/aws-shell/archive/0.2.1.tar.gz'
source_sha256 '84262f0ccba6757a318ce415d8a77026b43db958cfac9ef615e75c3515d78f78'

View File

@@ -4,6 +4,7 @@ class Axel < Package
description 'Light command line download accelerator for Linux and Unix'
homepage 'https://github.com/axel-download-accelerator/axel'
version '2.17.6'
compatibility 'all'
source_url 'https://github.com/axel-download-accelerator/axel/releases/download/v2.17.6/axel-2.17.6.tar.xz'
source_sha256 '24ab549021bdfca01ad5e8e95b706869dd30fe9ab1043da4cbb9dff89edc267d'

View File

@@ -4,22 +4,22 @@ class Az < Package
description 'The Azure CLI 2.0 is Azure\'s new command-line experience for managing Azure resources.'
homepage 'https://github.com/Azure/azure-cli'
version '2.0.46'
source_url 'https://github.com/Azure/azure-cli/archive/azure-cli-2.0.46.tar.gz'
source_sha256 '9a571e16e832614a064311dffea884ab4ae4c2739010b58c34fb2b190484d41c'
compatibility 'i686,x86_64'
case ARCH
when 'i686', 'x86_64'
source_url 'https://github.com/Azure/azure-cli/archive/azure-cli-2.0.46.tar.gz'
source_sha256 '9a571e16e832614a064311dffea884ab4ae4c2739010b58c34fb2b190484d41c'
end
binary_url ({
i686: 'https://dl.bintray.com/chromebrew/chromebrew/az-2.0.46-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/az-2.0.46-chromeos-x86_64.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/az-2.0.46-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/az-2.0.46-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
i686: 'f94d828a2eac6c69ec330f2434e90de97f77c19e5de09c6370e1f4ecf53792da',
x86_64: 'e21a228cfaf6d85c0407451796c869a7a20da8ccd8de15380a28c1850c2e4347',
i686: 'f94d828a2eac6c69ec330f2434e90de97f77c19e5de09c6370e1f4ecf53792da',
x86_64: 'e21a228cfaf6d85c0407451796c869a7a20da8ccd8de15380a28c1850c2e4347',
})
depends_on 'libffi'
depends_on 'openssl'
depends_on 'setuptools'
def self.install
system "pip install azure-cli -r requirements.txt --root #{CREW_DEST_DIR} --prefix #{CREW_PREFIX}"
system "chmod +x #{CREW_DEST_PREFIX}/bin/az"

View File

@@ -4,6 +4,7 @@ class Babl < Package
description 'babl is a dynamic, any to any, pixel format translation library.'
homepage 'http://gegl.org/babl/'
version '0.1.74'
compatibility 'all'
source_url 'https://download.gimp.org/pub/babl/0.1/babl-0.1.74.tar.xz'
source_sha256 '9a710b6950da37ada94cd9e2046cbce26de12473da32a7b79b7d1432fc66ce0e'

View File

@@ -4,6 +4,7 @@ class Bacon < Package
description 'BaCon is a free BASIC to C translator for Unix-based systems.'
homepage 'http://www.basic-converter.org/'
version '3.9.3'
compatibility 'all'
source_url 'https://basic-converter.org/stable/bacon-3.9.3.tar.gz'
source_sha256 '7f907f4ede68704eefd076733f617438c4baba98e9a1e8676ea1a00c4f8476ae'

View File

@@ -4,6 +4,7 @@ class Bacula < Package
description 'Bacula is a set of computer programs that permits the system administrator to manage backup, recovery, and verification of computer data across a network of computers of different kinds.'
homepage 'https://www.bacula.org/'
version '9.4.2'
compatibility 'all'
source_url 'https://www.bacula.org/download/7471/bacula-9.4.2.tar.gz'
source_sha256 'a40d04d2c48135972cecb6578405e835c4b9d798c0950017de0fad40ca94e8a0'

View File

@@ -4,6 +4,7 @@ class Banner < Package
description 'An implementation of the traditional Unix-program used to display large characters.'
homepage 'http://shh.thathost.com/pub-unix/#banner'
version '1.3.2'
compatibility 'all'
source_url 'http://shh.thathost.com/pub-unix/files/banner-1.3.2.tar.gz'
source_sha256 '0dc0ac0667b2e884a7f5ad3e467af68cd0fd5917f8c9aa19188e6452aa1fc6d5'

View File

@@ -4,6 +4,7 @@ class Bash_completion < Package
description 'Programmable completion functions for bash'
homepage 'https://github.com/scop/bash-completion'
version '2.9'
compatibility 'all'
source_url 'https://github.com/scop/bash-completion/archive/2.9.tar.gz'
source_sha256 'fddd9e6739c972eea95d1f0e0e84fa9a17a5935ba21eab37308b27580cc4d790'

View File

@@ -4,6 +4,7 @@ class Bashdb < Package
description 'The Bash Debugger Project is a source-code debugger for bash that follows the gdb command syntax.'
homepage 'http://bashdb.sourceforge.net/'
version '4.3-0.91'
compatibility 'all'
source_url 'https://downloads.sourceforge.net/project/bashdb/bashdb/4.3-0.91/bashdb-4.3-0.91.tar.bz2'
source_sha256 '60117745813f29070a034c590c9d70153cc47f47024ae54bfecdc8cd86d9e3ea'

View File

@@ -4,6 +4,7 @@ class Bats < Package
description 'Bash Automated Testing System'
homepage 'https://github.com/sstephenson/bats'
version '0.4.0'
compatibility 'all'
source_url 'https://github.com/sstephenson/bats/archive/v0.4.0.tar.gz'
source_sha256 '480d8d64f1681eee78d1002527f3f06e1ac01e173b761bc73d0cf33f4dc1d8d7'

View File

@@ -4,6 +4,7 @@ class Bc < Package
description 'bc is an arbitrary precision numeric processing language.'
homepage 'http://www.gnu.org/software/bc/'
version '1.07.1'
compatibility 'all'
source_url 'https://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz'
source_sha256 '62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a'

View File

@@ -4,6 +4,7 @@ class Bcif < Package
description 'The BCIF compression algorithm is an open source method for lossless image compression.'
homepage 'http://www.researchandtechnology.net/bcif/index.php'
version '1.0-beta'
compatibility 'all'
source_url 'http://www.researchandtechnology.net/bcif/downloads/bcif_sources_1_0_beta.zip'
source_sha256 'fe1dde329fa60160d9ac8a0b9e4b9360a9377bc26177eab1a31e07479839d812'

View File

@@ -4,6 +4,7 @@ class Bdwgc < Package
description 'The Boehm-Demers-Weiser conservative C/C++ Garbage Collector'
homepage 'https://github.com/ivmai/bdwgc'
version '8.0.4'
compatibility 'all'
source_url 'https://github.com/ivmai/bdwgc/releases/download/v8.0.4/gc-8.0.4.tar.gz'
source_sha256 '436a0ddc67b1ac0b0405b61a9675bca9e075c8156f4debd1d06f3a56c7cd289d'

View File

@@ -4,6 +4,7 @@ class Beav < Package
description 'BEAV (Binary Editor And Viewer), is a full featured binary file editor.'
homepage 'https://packages.debian.org/sid/beav'
version '1.40-18-b3'
compatibility 'all'
source_url 'file:///dev/null'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'

View File

@@ -4,6 +4,7 @@ class Biew < Package
description 'EYE (Binary EYE) is a free, portable, advanced file viewer with built-in editor for binary, hexadecimal and disassembler modes.'
homepage 'https://sourceforge.net/projects/beye/'
version '6.1.0-0'
compatibility 'all'
source_url 'https://downloads.sourceforge.net/project/beye/biew/6.1.0/biew-610-src.tar.bz2'
source_sha256 '2e85f03c908dd6ec832461fbfbc79169a33f4caccf48c8fe60cbd29f5fb06d17'

View File

@@ -4,6 +4,7 @@ class Binclock < Package
description 'Ncurses clock, with time displayed in colourful binary'
homepage 'https://github.com/JohnAnthony/Binary-Clock'
version '3883e8'
compatibility 'all'
source_url 'https://github.com/JohnAnthony/Binary-Clock/archive/3883e8876576a45162b9a128d8317b20f98c5140.tar.gz'
source_sha256 'e8caa26437301c70bf9840901db9e46d32b99c0ec8b442562f96390e28f35408'

View File

@@ -4,6 +4,7 @@ class Bind < Package
description 'BIND is open source software that enables you to publish your Domain Name System (DNS) information on the Internet, and to resolve DNS queries for your users.'
homepage 'https://www.isc.org/downloads/bind/'
version '9.14.2'
compatibility 'all'
source_url 'https://gitlab.isc.org/isc-projects/bind9/-/archive/v9_14_2/bind9-v9_14_2.tar.bz2'
source_sha256 'da7d117bfc94c37874dbde635737f67c4896f4beaad27249f1f064e658fa93d9'

View File

@@ -4,6 +4,7 @@ class Binutils < Package
description 'The GNU Binutils are a collection of binary tools.'
homepage 'https://www.gnu.org/software/binutils/'
version '2.34'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/binutils/binutils-2.34.tar.lz'
source_sha256 '5cec79823ef596817aa57a3f470a1afa9827bf14e3583a4e445dc046cc38d29c'

View File

@@ -4,6 +4,7 @@ class Bison < Package
description 'Bison is a general-purpose parser generator that converts an annotated context-free grammar into a deterministic LR or generalized LR (GLR) parser employing LALR(1) parser tables.'
homepage 'http://www.gnu.org/software/bison/'
version '3.5.3'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/gnu/bison/bison-3.5.3.tar.xz'
source_sha256 '2bf85b5f88a5f2fa8069aed2a2dfc3a9f8d15a97e59c713e3906e5fdd982a7c4'

View File

@@ -4,6 +4,7 @@ class Bitpocket < Package
description '"DIY Dropbox" or "2-way directory (r)sync with proper deletion"'
homepage 'https://github.com/sickill/bitpocket'
version '0.2'
compatibility 'all'
source_url 'https://github.com/sickill/bitpocket/archive/v0.2.tar.gz'
source_sha256 'f3952374a1139465700f9122d7a929227be5cdeb681679cbe00bb93658adbd1f'

View File

@@ -4,6 +4,7 @@ class Bleachbit < Package
description 'Clean Your System and Free Disk Space'
homepage 'https://www.bleachbit.org/'
version '2.2'
compatibility 'all'
source_url 'https://download.bleachbit.org/bleachbit-2.2.tar.bz2'
source_sha256 '0318cd1bc83655971c9ffd6bf27f4866bbe57381e92cfbcf8a2a6833075b49fa'

View File

@@ -4,6 +4,7 @@ class Bluefish < Package
description 'Bluefish is a powerful editor targeted towards programmers and webdevelopers'
homepage 'http://bluefish.openoffice.nl/index.html'
version '2.2.10'
compatibility 'all'
source_url 'https://www.bennewitz.com/bluefish/stable/source/bluefish-2.2.10.tar.bz2'
source_sha256 'afeca12b693bb58e30c2199e6a21cc06da02d88e0ac9d08b7a231a9c8e7c3eb2'

View File

@@ -4,6 +4,7 @@ class Bmon < Package
description 'bandwidth monitor and rate estimator'
homepage 'https://github.com/tgraf/bmon/'
version '4.0'
compatibility 'all'
source_url 'https://github.com/tgraf/bmon/releases/download/v4.0/bmon-4.0.tar.gz'
source_sha256 '02fdc312b8ceeb5786b28bf905f54328f414040ff42f45c83007f24b76cc9f7a'

View File

@@ -4,6 +4,7 @@ class Boost < Package
description 'Boost provides free peer-reviewed portable C++ source libraries.'
homepage 'https://www.boost.org/'
version '1.71.0'
compatibility 'all'
source_url 'https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.bz2'
source_sha256 'd73a8da01e8bf8c7eda40b4c84915071a8c8a0df4a6734537ddde4a8580524ee'

View File

@@ -4,6 +4,7 @@ class Box < Package
description 'An application for building and managing Phars.'
homepage 'https://box-project.github.io/box2/'
version '2.7.5'
compatibility 'all'
source_url 'https://raw.githubusercontent.com/box-project/box2/2.7.5/README.md'
source_sha256 'b60e231f431cefbd88fc4022af5408c2098242f45485180d87ad88dbd30e6d02'

View File

@@ -4,6 +4,7 @@ class Brackets < Package
description 'A modern, open source text editor that understands web design.'
homepage 'http://brackets.io/'
version '1.14.1-1'
compatibility 'i686,x86_64'
case ARCH
when 'i686', 'x86_64'
source_url 'https://github.com/adobe/brackets/archive/release-1.14.1.tar.gz'

View File

@@ -4,16 +4,16 @@ class Brave < Package
description 'Next generation Brave browser for macOS, Windows, Linux, Android.'
homepage 'https://brave.com/'
version '81.1.10.36'
compatibility 'x86_64'
case ARCH
when 'x86_64'
source_url 'https://github.com/brave/brave-browser/releases/download/v1.10.36/brave-v1.10.36-linux-x64.zip'
source_sha256 'b8e5de4ffd454b171a10e9be260523d414b32e45c05524b2bd8b4b9a96640251'
depends_on 'gtk3'
depends_on 'xdg_base'
depends_on 'sommelier'
end
depends_on 'gtk3'
depends_on 'xdg_base'
depends_on 'sommelier'
def self.install
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/share/brave"

View File

@@ -4,6 +4,7 @@ class Broadway < Package
description 'Run GTK applications in a browser window.'
homepage 'https://developer.gnome.org/gtk3/stable/gtk-broadway.html'
version 'gtk3.22-3'
compatibility 'all'
source_url 'file:///dev/null'
source_sha256 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'

View File

@@ -4,6 +4,7 @@ class Brotli < Package
description 'Brotli compression format'
homepage 'https://github.com/google/brotli'
version '1.0.7'
compatibility 'all'
source_url 'https://github.com/google/brotli/archive/v1.0.7.tar.gz'
source_sha256 '4c61bfb0faca87219ea587326c467b95acb25555b53d1a421ffa3c8a9296ee2c'

View File

@@ -4,6 +4,7 @@ class Buildessential < Package
description 'A collection of tools essential to compile and build software.'
homepage ''
version '1.6'
compatibility 'all'
is_fake

View File

@@ -4,6 +4,7 @@ class Byobu < Package
description 'Byobu is a GPLv3 open source text-based window manager and terminal multiplexer.'
homepage 'http://byobu.org/'
version '5.125'
compatibility 'all'
source_url 'https://launchpad.net/byobu/trunk/5.125/+download/byobu_5.125.orig.tar.gz'
source_sha256 '5022c82705a5d57f1d4e8dcb1819fd04628af2d4b4618b7d44fa27ebfcdda9db'

View File

@@ -4,6 +4,7 @@ class Bz2 < Package
description 'bzip2 is a freely available, patent free, high-quality data compressor.'
homepage 'http://www.bzip.org/'
version '1.0.8'
compatibility 'all'
source_url 'https://fossies.org/linux/misc/bzip2-1.0.8.tar.gz'
source_sha256 'ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269'

View File

@@ -4,6 +4,7 @@ class C_ares < Package
description 'c-ares is a C library for asynchronous DNS requests (including name resolves).'
homepage 'https://c-ares.haxx.se/'
version '1.15.0'
compatibility 'all'
source_url 'https://c-ares.haxx.se/download/c-ares-1.15.0.tar.gz'
source_sha256 '6cdb97871f2930530c97deb7cf5c8fa4be5a0b02c7cea6e7c7667672a39d6852'

View File

@@ -4,6 +4,7 @@ class Cabal < Package
description 'Common Architecture for Building Applications and Libraries'
homepage 'https://www.haskell.org/cabal/'
version '2.4.1.0-1'
compatibility 'i686,x86_64'
case ARCH
when 'i686'
source_url 'https://downloads.haskell.org/~cabal/cabal-install-2.4.1.0/cabal-install-2.4.1.0-i386-unknown-linux.tar.xz'
@@ -13,7 +14,10 @@ class Cabal < Package
source_sha256 '6136c189ffccaa39916f9cb5788f757166444a2d0c473b987856a79ecbf0c714'
end
depends_on 'ghc'
case ARCH
when 'i686', 'x86_64'
depends_on 'ghc'
end
def self.install
system "install -Dm755 cabal #{CREW_DEST_PREFIX}/bin/cabal"

View File

@@ -4,6 +4,7 @@ class Cabextract < Package
description 'cabextract is Free Software for extracting Microsoft cabinet files, also called .CAB files.'
homepage 'https://www.cabextract.org.uk/'
version '1.9.1'
compatibility 'all'
source_url 'https://www.cabextract.org.uk/cabextract-1.9.1.tar.gz'
source_sha256 'afc253673c8ef316b4d5c29cc4aa8445844bee14afffbe092ee9469405851ca7'

Some files were not shown because too many files have changed in this diff Show More