Commit 6e975646 authored by Ed Reel's avatar Ed Reel

Re-add shtool package

parents 2fa37f40 68ebc68c
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
require 'find' require 'find'
require 'net/http' require 'net/http'
require 'uri' require 'uri'
require 'digest/sha1' require 'digest/sha2'
require 'json' require 'json'
require 'fileutils' require 'fileutils'
...@@ -27,6 +27,9 @@ else ...@@ -27,6 +27,9 @@ else
CREW_NPROC = ENV["CREW_NPROC"] CREW_NPROC = ENV["CREW_NPROC"]
end end
# Set CREW_NOT_COMPRESS from environment variable
CREW_NOT_COMPRESS = ENV["CREW_NOT_COMPRESS"]
# Set CREW_NOT_STRIP from environment variable # Set CREW_NOT_STRIP from environment variable
CREW_NOT_STRIP = ENV["CREW_NOT_STRIP"] CREW_NOT_STRIP = ENV["CREW_NOT_STRIP"]
...@@ -124,8 +127,8 @@ end ...@@ -124,8 +127,8 @@ end
def print_package(pkgName, extra = false) def print_package(pkgName, extra = false)
search pkgName, true search pkgName, true
Find.find(CREW_CONFIG_PATH + 'meta/') do |packageList| print '(i) '.lightgreen if @device[:installed_packages].any? do |elem|
print '(i) '.lightgreen if packageList == CREW_CONFIG_PATH + 'meta/' + pkgName + '.filelist' elem[:name] == pkgName
end end
print @pkg.name print @pkg.name
print ": #{@pkg.description}" if @pkg.description print ": #{@pkg.description}" if @pkg.description
...@@ -160,7 +163,7 @@ def search (pkgName, silent = false) ...@@ -160,7 +163,7 @@ def search (pkgName, silent = false)
end end
def regexp_search(pkgName) def regexp_search(pkgName)
results = Dir["#{CREW_LIB_PATH}packages/*.rb"] \ results = Dir["#{CREW_LIB_PATH}packages/*.rb"].sort \
.select { |f| File.basename(f, '.rb') =~ Regexp.new(pkgName, true) } \ .select { |f| File.basename(f, '.rb') =~ Regexp.new(pkgName, true) } \
.collect { |f| File.basename(f, '.rb') } \ .collect { |f| File.basename(f, '.rb') } \
.each { |f| print_package(f, ARGV[2] == "extra") } .each { |f| print_package(f, ARGV[2] == "extra") }
...@@ -362,13 +365,14 @@ def download ...@@ -362,13 +365,14 @@ def download
uri = URI.parse url uri = URI.parse url
filename = File.basename(uri.path) filename = File.basename(uri.path)
if source if source
sha1sum = @pkg.source_sha1 sha256sum = @pkg.source_sha256
else else
sha1sum = @pkg.binary_sha1[@device[:architecture]] sha256sum = @pkg.binary_sha256[@device[:architecture]]
end end
Dir.chdir CREW_BREW_DIR do Dir.chdir CREW_BREW_DIR do
system('wget', '--continue', '--no-check-certificate', url, '-O', filename) system('wget', '--continue', '--no-check-certificate', url, '-O', filename)
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA1.hexdigest( File.read("./#{filename}") ) == sha1sum abort 'Checksum mismatch. :/ Try again.'.lightred unless
Digest::SHA256.hexdigest( File.read("./#{filename}") ) == sha256sum
end end
puts "Archive downloaded".lightgreen puts "Archive downloaded".lightgreen
return {source: source, filename: filename} return {source: source, filename: filename}
...@@ -418,35 +422,59 @@ def build_and_preconfigure (target_dir) ...@@ -418,35 +422,59 @@ def build_and_preconfigure (target_dir)
end end
end end
def compress_doc (dir)
# check whether crew should compress
return if CREW_NOT_COMPRESS || !File.exist?("#{CREW_PREFIX}/bin/compressdoc")
if Dir.exist? dir
system "find #{dir} -type f ! -perm -200 | xargs -r chmod u+w"
system "compressdoc --gzip -9 #{dir}"
end
end
def prepare_package (destdir) def prepare_package (destdir)
Dir.chdir destdir do Dir.chdir destdir do
#create directory list # compress manual files
compress_doc "#{destdir}#{CREW_PREFIX}/man"
compress_doc "#{destdir}#{CREW_PREFIX}/info"
compress_doc "#{destdir}#{CREW_PREFIX}/share/man"
compress_doc "#{destdir}#{CREW_PREFIX}/share/info"
# create directory list
system "find . -type f > ../filelist" system "find . -type f > ../filelist"
system "find . -type l >> ../filelist" system "find . -type l >> ../filelist"
system "cut -c2- ../filelist > filelist" system "cut -c2- ../filelist > filelist"
#create file list
# create file list
system "find . -type d > ../dlist" system "find . -type d > ../dlist"
system "cut -c2- ../dlist > dlistcut" system "cut -c2- ../dlist > dlistcut"
system "tail -n +2 dlistcut > dlist" system "tail -n +2 dlistcut > dlist"
#remove temporary files
# remove temporary files
system "rm dlistcut ../dlist ../filelist" system "rm dlistcut ../dlist ../filelist"
end end
end end
def strip_find_files (find_cmd, strip_option = "")
# check whether crew should strip
return if CREW_NOT_STRIP || !File.exist?("#{CREW_PREFIX}/bin/strip")
# run find_cmd and strip only ar or ELF files
system "#{find_cmd} | xargs -r chmod u+w"
system "#{find_cmd} | xargs -r sh -c 'for i in \"$0\" \"$@\"; do case \"$(head -c 4 $i)\" in ?ELF|\!?ar) echo \"$i\";; esac ; done' | xargs -r strip #{strip_option}"
end
def install_package (pkgdir) def install_package (pkgdir)
Dir.chdir pkgdir do Dir.chdir pkgdir do
FileUtils.mv 'dlist', CREW_CONFIG_PATH + "meta/#{@pkg.name}.directorylist" FileUtils.mv 'dlist', CREW_CONFIG_PATH + "meta/#{@pkg.name}.directorylist"
FileUtils.mv 'filelist', CREW_CONFIG_PATH + "meta/#{@pkg.name}.filelist" FileUtils.mv 'filelist', CREW_CONFIG_PATH + "meta/#{@pkg.name}.filelist"
# Strip libraries with -S # Strip libraries with -S
system "find . -name 'lib*.a' -print | xargs chmod u+w 2>/dev/null" unless CREW_NOT_STRIP strip_find_files "find . -type f -name 'lib*.a' -print", "-S"
system "find . -name 'lib*.a' -print | xargs strip -S 2>/dev/null" unless CREW_NOT_STRIP strip_find_files "find . -type f -name 'lib*.so*' -print", "-S"
system "find . -name 'lib*.so*' -print | xargs chmod u+w 2>/dev/null" unless CREW_NOT_STRIP
system "find . -name 'lib*.so*' -print | xargs strip -S 2>/dev/null" unless CREW_NOT_STRIP
# Strip binaries # Strip binaries
system "find . -type f -perm /111 -print | sed -e '/lib.*\.a$/d' -e '/lib.*\.so/d' | xargs chmod u+w 2>/dev/null" unless CREW_NOT_STRIP strip_find_files "find . -type f -perm /111 -print | sed -e '/lib.*\.a$/d' -e '/lib.*\.so/d'"
system "find . -type f -perm /111 -print | sed -e '/lib.*\.a$/d' -e '/lib.*\.so/d' | xargs strip 2>/dev/null" unless CREW_NOT_STRIP
system "tar cf - ./usr/* | (cd /; tar xp --keep-directory-symlink -f -)" system "tar cf - ./usr/* | (cd /; tar xp --keep-directory-symlink -f -)"
end end
...@@ -476,9 +504,6 @@ end ...@@ -476,9 +504,6 @@ end
def expand_dependencies def expand_dependencies
@dependencies = [] @dependencies = []
# check source packages existance
@source_package = 0
def push_dependencies def push_dependencies
if @pkg.is_binary?(@device[:architecture]) || if @pkg.is_binary?(@device[:architecture]) ||
(!@pkg.in_upgrade && !@pkg.build_from_source && @device[:installed_packages].any? { |pkg| pkg[:name] == @pkg.name }) (!@pkg.in_upgrade && !@pkg.build_from_source && @device[:installed_packages].any? { |pkg| pkg[:name] == @pkg.name })
...@@ -490,8 +515,6 @@ def expand_dependencies ...@@ -490,8 +515,6 @@ def expand_dependencies
else else
# retrieve name of all dependencies # retrieve name of all dependencies
check_deps = @pkg.dependencies.map {|k, v| k} check_deps = @pkg.dependencies.map {|k, v| k}
# count the number of source packages to add buildessential into dependencies later
@source_package += 1
end end
# remove a dependent package which is equal to the target # remove a dependent package which is equal to the target
...@@ -509,12 +532,6 @@ def expand_dependencies ...@@ -509,12 +532,6 @@ def expand_dependencies
push_dependencies push_dependencies
# Add buildessential's dependencies if any of dependent
# packages are made from source
if @source_package > 0
search 'buildessential', true
push_dependencies
end
@dependencies.uniq @dependencies.uniq
end end
...@@ -657,7 +674,7 @@ def archive_package (pwd) ...@@ -657,7 +674,7 @@ def archive_package (pwd)
system "tar cJf #{pwd}/#{pkg_name} *" system "tar cJf #{pwd}/#{pkg_name} *"
end end
Dir.chdir pwd do Dir.chdir pwd do
system "sha1sum #{pkg_name} > #{pkg_name}.sha1" system "sha256sum #{pkg_name} > #{pkg_name}.sha256"
end end
puts "#{pkg_name} is built!".lightgreen puts "#{pkg_name} is built!".lightgreen
end end
......
require 'package_helpers' require 'package_helpers'
class Package class Package
property :description, :homepage, :version, :binary_url, :binary_sha1, :source_url, :source_sha1, :is_fake property :description, :homepage, :version, :binary_url, :binary_sha1, :binary_sha256, :source_url, :source_sha1, :source_sha256, :is_fake
class << self class << self
attr_reader :is_fake attr_reader :is_fake
......
require "package" require 'package'
class A2png < Package class A2png < Package
description 'Converts plain ASCII text into PNG bitmap images.' description 'Converts plain ASCII text into PNG bitmap images.'
homepage 'https://sourceforge.net/projects/a2png/' homepage 'https://sourceforge.net/projects/a2png/'
version "0.1.5" version '0.1.5'
source_url "https://sourceforge.net/projects/a2png/files/a2png/0.1.5/a2png-0.1.5.tar.bz2" source_url 'https://sourceforge.net/projects/a2png/files/a2png/0.1.5/a2png-0.1.5.tar.bz2'
source_sha1 "07c093920f2e520b2b7b77417021cdff0e92a4ed" source_sha256 'd3ae1c771f5180d93f35cded76d9bb4c4cc2023dbe65613e78add3eeb43f736b'
depends_on 'cairo' depends_on 'cairo'
def self.build def self.build
system "./configure --enable-cairo \ system './configure --enable-cairo \
--with-cairo-lib=/usr/local/lib \ --with-cairo-lib=/usr/local/lib \
--with-cairo-include=/usr/local/include/cairo" --with-cairo-include=/usr/local/include/cairo'
system "make" system 'make'
end end
def self.install def self.install
......
require "package" require 'package'
class A2ps < Package class A2ps < Package
description 'GNU a2ps is an Any to PostScript filter.' description 'GNU a2ps is an Any to PostScript filter.'
homepage 'http://www.gnu.org/software/a2ps/' homepage 'http://www.gnu.org/software/a2ps/'
version "4.14" version '4.14'
source_url "http://ftp.gnu.org/gnu/a2ps/a2ps-4.14.tar.gz" source_url 'http://ftp.gnu.org/gnu/a2ps/a2ps-4.14.tar.gz'
source_sha1 "365abbbe4b7128bf70dad16d06e23c5701874852" source_sha256 'f3ae8d3d4564a41b6e2a21f237d2f2b104f48108591e8b83497500182a3ab3a4'
depends_on "gperf" depends_on 'gperf'
depends_on "filecmd" depends_on 'filecmd'
def self.build def self.build
system "./configure" system './configure'
system "make" system 'make'
end end
def self.install def self.install
......
...@@ -5,13 +5,13 @@ class Acl < Package ...@@ -5,13 +5,13 @@ class Acl < Package
homepage 'http://savannah.nongnu.org/projects/acl' homepage 'http://savannah.nongnu.org/projects/acl'
version '2.2.52' version '2.2.52'
source_url 'http://download.savannah.gnu.org/releases/acl/acl-2.2.52.src.tar.gz' source_url 'http://download.savannah.gnu.org/releases/acl/acl-2.2.52.src.tar.gz'
source_sha1 '537dddc0ee7b6aa67960a3de2d36f1e2ff2059d9' source_sha256 '179074bb0580c06c4b4137be4c5a92a701583277967acdb5546043c7874e0d23'
depends_on "attr" depends_on 'attr'
def self.build def self.build
system "./configure --prefix=/usr/local --libexecdir=/usr/local/lib --disable-static" system './configure --prefix=/usr/local --libexecdir=/usr/local/lib --disable-static'
system "make" system 'make'
end end
def self.install def self.install
......
require 'package'
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.0.0'
source_url 'https://github.com/ggreer/the_silver_searcher/archive/2.0.0.tar.gz'
source_sha256 'ff7243863f22ed73eeab6f7a6d17cfff585a7eaa41d5ab3ae4f5d6db97701d5f'
depends_on "autoconf"
depends_on "automake"
depends_on "pkgconfig"
depends_on "pcre"
depends_on "xzutils"
def self.build
system "autoreconf", "-fiv"
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package
end
end
...@@ -5,7 +5,7 @@ class Aircrack_ng < Package ...@@ -5,7 +5,7 @@ class Aircrack_ng < Package
homepage 'https://www.aircrack-ng.org' homepage 'https://www.aircrack-ng.org'
version '1.2-rc4' version '1.2-rc4'
source_url 'http://download.aircrack-ng.org/aircrack-ng-1.2-rc4.tar.gz' source_url 'http://download.aircrack-ng.org/aircrack-ng-1.2-rc4.tar.gz'
source_sha1 '2b2fbe50fedb606b3bd96a34d49f07760e8e618a' source_sha256 'd93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36'
depends_on "buildessential" => :build depends_on "buildessential" => :build
depends_on "bison" => :build depends_on "bison" => :build
......
...@@ -3,28 +3,28 @@ require 'package' ...@@ -3,28 +3,28 @@ require 'package'
class Antiword < Package class Antiword < Package
description 'Antiword is a free MS Word reader for Linux and RISC OS.' description 'Antiword is a free MS Word reader for Linux and RISC OS.'
homepage 'http://www.winfield.demon.nl/' homepage 'http://www.winfield.demon.nl/'
version '0.37' version '0.37-1'
source_url 'http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz' source_url 'http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz'
source_sha1 '4364f7f99cb2d37f7d1d5bc14a335ccc0c67292e' source_sha256 '8e2c000fcbc6d641b0e6ff95e13c846da3ff31097801e86702124a206888f5ac'
def self.build def self.build
system 'make' system 'make'
end end
def self.install def self.install
system "sed -i 's,GLOBAL_RESOURCES_DIR = /usr/share/antiword,GLOBAL_RESOURCES_DIR = /usr/local/antiword,' Makefile.Linux" system "sed -i 's,GLOBAL_RESOURCES_DIR = /usr/share/antiword,GLOBAL_RESOURCES_DIR = /usr/local/share/antiword,' Makefile.Linux"
system "sed -i 's,/share/,/,g' antiword.h" system "sed -i 's,/share/,/,g' antiword.h"
system "sed -i 's,/usr/antiword,/usr/local/antiword,g' antiword.h" system "sed -i 's,/usr/antiword,/usr/local/share/antiword,g' antiword.h"
system "sed -i 's,/usr/share/antiword,/usr/local/antiword,' Docs/antiword.1" system "sed -i 's,/usr/share/antiword,/usr/local/share/antiword,' Docs/antiword.1"
system "mkdir /home/$(whoami)/user/.antiword" system "mkdir /home/#{USER}/user/.antiword"
system "mkdir -p #{CREW_DEST_DIR}/home/$(whoami)/user/.antiword" system "mkdir -p #{CREW_DEST_DIR}/home/#{USER}/user/.antiword"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/antiword"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin" system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/man/man1" system "mkdir -p #{CREW_DEST_DIR}/usr/local/man/man1"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/share/antiword"
system "cp antiword #{CREW_DEST_DIR}/usr/local/bin" system "cp antiword #{CREW_DEST_DIR}/usr/local/bin"
system "cp Docs/antiword.1 #{CREW_DEST_DIR}/usr/local/man/man1" system "cp Docs/antiword.1 #{CREW_DEST_DIR}/usr/local/man/man1"
system "cp Resources/* #{CREW_DEST_DIR}/usr/local/antiword" system "cp Resources/* #{CREW_DEST_DIR}/usr/local/share/antiword"
system "cp Resources/UTF-8.txt /home/$(whoami)/user/.antiword" system "cp Resources/UTF-8.txt /home/#{USER}/user/.antiword"
system "cp Resources/UTF-8.txt #{CREW_DEST_DIR}/home/$(whoami)/user/.antiword" system "cp Resources/UTF-8.txt #{CREW_DEST_DIR}/home/#{USER}/user/.antiword"
end end
end end
...@@ -5,7 +5,7 @@ class Apr < Package ...@@ -5,7 +5,7 @@ class Apr < Package
homepage 'http://apr.apache.org/' homepage 'http://apr.apache.org/'
version '1.5.2' version '1.5.2'
source_url 'http://apache.claz.org/apr/apr-1.5.2.tar.bz2' source_url 'http://apache.claz.org/apr/apr-1.5.2.tar.bz2'
source_sha1 '6d757fcf7c687fc300c1066076f2e8380ff8cbc0' source_sha256 '7d03ed29c22a7152be45b8e50431063736df9e1daa1ddf93f6a547ba7a28f67a'
depends_on 'buildessential' depends_on 'buildessential'
......
...@@ -5,7 +5,7 @@ class Aprutil < Package ...@@ -5,7 +5,7 @@ class Aprutil < Package
homepage 'http://apr.apache.org/' homepage 'http://apr.apache.org/'
version '1.5.4' version '1.5.4'
source_url 'http://apache.claz.org//apr/apr-util-1.5.4.tar.gz' source_url 'http://apache.claz.org//apr/apr-util-1.5.4.tar.gz'
source_sha1 '72cc3ac693b52fb831063d5c0de18723bc8e0095' source_sha256 '976a12a59bc286d634a21d7be0841cc74289ea9077aa1af46be19d1a6e844c19'
depends_on 'apr' depends_on 'apr'
......
...@@ -5,7 +5,7 @@ class Aria2 < Package ...@@ -5,7 +5,7 @@ class Aria2 < Package
homepage 'https://aria2.github.io/' homepage 'https://aria2.github.io/'
version '1.32.0' version '1.32.0'
source_url 'https://github.com/aria2/aria2/releases/download/release-1.32.0/aria2-1.32.0.tar.xz' source_url 'https://github.com/aria2/aria2/releases/download/release-1.32.0/aria2-1.32.0.tar.xz'
source_sha1 '91afc96d5ac8b5fb96ff221fba1fe6109b6f8b17' source_sha256 '546e9194a9135d665fce572cb93c88f30fb5601d113bfa19951107ced682dc50'
depends_on 'c_ares' depends_on 'c_ares'
depends_on 'libgcrypt' depends_on 'libgcrypt'
......
require "package" require 'package'
class Ascii < Package class Ascii < Package
description 'List ASCII idiomatic names and octal/decimal code-point forms.' description 'List ASCII idiomatic names and octal/decimal code-point forms.'
homepage 'http://www.catb.org/~esr/ascii/' homepage 'http://www.catb.org/~esr/ascii/'
version "3.15" version '3.15'
source_url "http://www.catb.org/~esr/ascii/ascii-3.15.tar.gz" source_url 'http://www.catb.org/~esr/ascii/ascii-3.15.tar.gz'
source_sha1 "94ac41d8ef89daf148ebfd30333c07f6e64d4dec" source_sha256 'ace1db8b64371d53d9ad420d341f2b542324ae70437e37b4b75646f12475ff5f'
def self.build def self.build
system "make" system 'make'
end end
def self.install def self.install
......
require 'package'
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.7-rc1'
source_url 'ftp://alpha.gnu.org/gnu/aspell/aspell-0.60.7-rc1.tar.gz'
source_sha256 '86b5662f24316142f70c5890787bdc5596625ca3604dfe85926ee61f27f2365e'
depends_on 'ruby' unless File.exists? '/usr/local/bin/ruby'
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Aspell_en < Package
description 'English Aspell Dictionary'
homepage 'ftp://ftp.gnu.org/gnu/aspell/dict/0index.html'
version '2017.01.22-0'
source_url 'ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-2017.01.22-0.tar.bz2'
source_sha256 '93c73fae3eab5ea3ca6db3cea8770715a820f1b7d6ea2b932dd66a17f8fd55e1'
depends_on 'aspell'
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Aspell_es < Package
description 'Spanish Aspell Dictionary'
homepage 'ftp://ftp.gnu.org/gnu/aspell/dict/0index.html'
version '1.11-2'
source_url 'ftp://ftp.gnu.org/gnu/aspell/dict/es/aspell6-es-1.11-2.tar.bz2'
source_sha256 'ad367fa1e7069c72eb7ae37e4d39c30a44d32a6aa73cedccbd0d06a69018afcc'
depends_on 'aspell'
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
...@@ -5,7 +5,7 @@ class Attr < Package ...@@ -5,7 +5,7 @@ class Attr < Package
homepage 'http://savannah.nongnu.org/projects/attr' homepage 'http://savannah.nongnu.org/projects/attr'
version '2.4.47' version '2.4.47'
source_url 'http://download.savannah.gnu.org/releases/attr/attr-2.4.47.src.tar.gz' source_url 'http://download.savannah.gnu.org/releases/attr/attr-2.4.47.src.tar.gz'
source_sha1 '5060f0062baee6439f41a433325b8b3671f8d2d8' source_sha256 '25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859'
depends_on 'gettext' depends_on 'gettext'
......
...@@ -5,7 +5,7 @@ class Autoconf < Package ...@@ -5,7 +5,7 @@ class Autoconf < Package
homepage 'http://www.gnu.org/software/autoconf/' homepage 'http://www.gnu.org/software/autoconf/'
version '2.69' version '2.69'
source_url 'ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz' source_url 'ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz'
source_sha1 'e891c3193029775e83e0534ac0ee0c4c711f6d23' source_sha256 '64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684'
depends_on 'perl' depends_on 'perl'
depends_on 'm4' depends_on 'm4'
......
...@@ -5,7 +5,7 @@ class Autoconf_archive < Package ...@@ -5,7 +5,7 @@ class Autoconf_archive < Package
homepage 'https://www.gnu.org/software/autoconf-archive/' homepage 'https://www.gnu.org/software/autoconf-archive/'
version '2017-03-21' version '2017-03-21'
source_url 'http://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2017.03.21.tar.xz' source_url 'http://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2017.03.21.tar.xz'
source_sha1 '93483641babea959e4a307a808cbd74fb9e90d58' source_sha256 '386ad455f12bdeb3a7d19280441a5ab77355142349200ff11040a8d9d455d765'
depends_on 'perl' depends_on 'perl'
depends_on 'm4' depends_on 'm4'
......
...@@ -5,7 +5,7 @@ class Automake < Package ...@@ -5,7 +5,7 @@ class Automake < Package
homepage 'http://www.gnu.org/software/automake/' homepage 'http://www.gnu.org/software/automake/'
version '1.15' version '1.15'
source_url 'ftp://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz' source_url 'ftp://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz'
source_sha1 'c279b35ca6c410809dac8ade143b805fb48b7655' source_sha256 '9908c75aabd49d13661d6dcb1bc382252d22cc77bf733a2d55e87f2aa2db8636'
depends_on 'autoconf' depends_on 'autoconf'
......
...@@ -5,7 +5,7 @@ class Aws < Package ...@@ -5,7 +5,7 @@ class Aws < Package
homepage 'https://aws.amazon.com/documentation/cli/' homepage 'https://aws.amazon.com/documentation/cli/'
version '1.11.110' version '1.11.110'
source_url 'https://github.com/aws/aws-cli/archive/1.11.110.tar.gz' source_url 'https://github.com/aws/aws-cli/archive/1.11.110.tar.gz'
source_sha1 'a30e4f23951c06bb4ab9ffaa9ac42188fae6d6ba' source_sha256 '6056401e917302f2b87bb30ad416f02977e6e4a566a86c8e926d66d4c1f01101'
depends_on 'python' unless File.exists? '/usr/local/bin/python' depends_on 'python' unless File.exists? '/usr/local/bin/python'
depends_on 'unzip' depends_on 'unzip'
......
...@@ -3,9 +3,9 @@ require 'package' ...@@ -3,9 +3,9 @@ require 'package'
class Bacon < Package class Bacon < Package
description 'BaCon is a free BASIC to C translator for Unix-based systems.' description 'BaCon is a free BASIC to C translator for Unix-based systems.'
homepage 'http://www.basic-converter.org/' homepage 'http://www.basic-converter.org/'
version '3.5.3' version '3.5.4'
source_url 'http://www.basic-converter.org/stable/bacon-3.5.3.tar.gz' source_url 'http://www.basic-converter.org/stable/bacon-3.5.4.tar.gz'
source_sha1 'd88cc452d0580309e106f692639293ef2c249f58' source_sha256 '7b1c72fd46daaa43d19e1bfac2f9bcd9decc5b8443d8f5640e903bfc35e122b9'
def self.build def self.build
system "./configure --prefix=/usr/local --disable-gui" system "./configure --prefix=/usr/local --disable-gui"
......
...@@ -5,7 +5,7 @@ class Bashdb < Package ...@@ -5,7 +5,7 @@ class Bashdb < Package
homepage 'http://bashdb.sourceforge.net/' homepage 'http://bashdb.sourceforge.net/'
version '4.4-0.92' version '4.4-0.92'
source_url 'https://downloads.sourceforge.net/project/bashdb/bashdb/4.2-0.92/bashdb-4.4-0.92.tar.gz' source_url 'https://downloads.sourceforge.net/project/bashdb/bashdb/4.2-0.92/bashdb-4.4-0.92.tar.gz'
source_sha1 '918c7d576c476c4b7d768e1fccda6150cf5ca62d' source_sha256 'fb3d48a22b05d4e3c7a9b8205916d50fa33aac5908f0c9bcd15ff9d4dfa59c86'
def self.build def self.build
system "./configure \ system "./configure \
......
...@@ -5,7 +5,7 @@ class Bc < Package ...@@ -5,7 +5,7 @@ class Bc < Package
homepage 'http://www.gnu.org/software/bc/' homepage 'http://www.gnu.org/software/bc/'
version '1.07.1' version '1.07.1'
source_url 'https://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz' source_url 'https://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz'
source_sha1 'b4475c6d66590a5911d30f9747361db47231640a' source_sha256 '62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a'
depends_on 'readline' depends_on 'readline'
depends_on 'flex' => :build depends_on 'flex' => :build
......
...@@ -5,7 +5,7 @@ class Bcif < Package ...@@ -5,7 +5,7 @@ class Bcif < Package
homepage 'http://www.researchandtechnology.net/bcif/index.php' homepage 'http://www.researchandtechnology.net/bcif/index.php'
version '1.0-beta' version '1.0-beta'
source_url 'http://www.researchandtechnology.net/bcif/downloads/bcif_sources_1_0_beta.zip' source_url 'http://www.researchandtechnology.net/bcif/downloads/bcif_sources_1_0_beta.zip'
source_sha1 '330c81ce5e7c471a629d59e22dae0c59a536b1c4' source_sha256 'fe1dde329fa60160d9ac8a0b9e4b9360a9377bc26177eab1a31e07479839d812'
depends_on 'unzip' depends_on 'unzip'
......
...@@ -5,7 +5,7 @@ class Bind < Package ...@@ -5,7 +5,7 @@ class Bind < Package
homepage 'https://www.isc.org/downloads/bind/' homepage 'https://www.isc.org/downloads/bind/'
version '9.10.4' version '9.10.4'
source_url 'https://www.isc.org/downloads/file/bind-9-10-4-p6/' source_url 'https://www.isc.org/downloads/file/bind-9-10-4-p6/'
source_sha1 'c08bef47136b3b88844a4c3b8a6227445fca6f40' source_sha256 'a1dfbfd1d11cb52f2d9e5af0def25763798bda243841722dd0b319086a73ee65'
depends_on "buildessential" depends_on "buildessential"
depends_on "openssl" depends_on "openssl"
......
...@@ -10,10 +10,10 @@ class Binutils < Package ...@@ -10,10 +10,10 @@ class Binutils < Package
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/binutils-2.25-chromeos-i686.tar.xz', i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/binutils-2.25-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/binutils-2.25-chromeos-x86_64.tar.xz', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/binutils-2.25-chromeos-x86_64.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: '575c926920389cb4aff2b593a833097f85cee2fe', aarch64: 'a6edb738fa8b65374b0ad087537fa0649ba59af6bb7ddc83eca06d504f1c2a45',
armv7l: '575c926920389cb4aff2b593a833097f85cee2fe', armv7l: 'a6edb738fa8b65374b0ad087537fa0649ba59af6bb7ddc83eca06d504f1c2a45',
i686: 'bb24463e862fd812a8ccbac5b5e2920f54fecacd', i686: '214ae25a910f56ff379620933defd497697f37f693c5b54dd34fb3b8b4f286dc',
x86_64: 'e02063609a97e1f061df96b68299910ff7be59d4', x86_64: '1c00d036d95a5255dd35dfdb9c934f2b9ae2d73f6788831e60a3ab12e5c1f354',
}) })
end end
...@@ -5,7 +5,7 @@ class Bison < Package ...@@ -5,7 +5,7 @@ class Bison < Package
homepage 'http://www.gnu.org/software/bison/' homepage 'http://www.gnu.org/software/bison/'
version '3.0.4-1' version '3.0.4-1'
source_url 'http://mirror.keystealth.org/gnu/bison/bison-3.0.4.tar.xz' source_url 'http://mirror.keystealth.org/gnu/bison/bison-3.0.4.tar.xz'
source_sha1 '8270497aad88c7dd4f2c317298c50513fb0c3c8e' source_sha256 'a72428c7917bdf9fa93cb8181c971b6e22834125848cf1d03ce10b1bb0716fe1'
depends_on 'diffutils' => :build depends_on 'diffutils' => :build
depends_on 'm4' => :build depends_on 'm4' => :build
...@@ -14,7 +14,7 @@ class Bison < Package ...@@ -14,7 +14,7 @@ class Bison < Package
# depends_on 'flex' => :build # depends_on 'flex' => :build
def self.build def self.build
system './configure --prefix=/usr/local' system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"
end end
......
...@@ -5,7 +5,7 @@ class Boost < Package ...@@ -5,7 +5,7 @@ class Boost < Package
homepage 'http://www.boost.org/' homepage 'http://www.boost.org/'
version '1.59.0' version '1.59.0'
source_url 'http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz' source_url 'http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz'
source_sha1 '5123209db194d66d69a9cfa5af8ff473d5941d97' source_sha256 '47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac'
def self.build def self.build
system './bootstrap --prefix=/usr/local' system './bootstrap --prefix=/usr/local'
......
...@@ -5,7 +5,7 @@ class Byobu < Package ...@@ -5,7 +5,7 @@ class Byobu < Package
homepage 'http://byobu.org/' homepage 'http://byobu.org/'
version '5.119' version '5.119'
source_url 'https://launchpadlibrarian.net/322131788/byobu_5.119.orig.tar.gz' source_url 'https://launchpadlibrarian.net/322131788/byobu_5.119.orig.tar.gz'
source_sha1 '1d8d07da4c94c4adeb662a7f8b33fe02482d9839' source_sha256 '4b092ca12d3a33e89d84cc90c4a41af2ba8697d48e26080a45d64d6b7800ca77'
depends_on 'gawk' depends_on 'gawk'
......
...@@ -5,7 +5,7 @@ class Bz2 < Package ...@@ -5,7 +5,7 @@ class Bz2 < Package
homepage 'http://www.bzip.org/' homepage 'http://www.bzip.org/'
version '1.0.6' version '1.0.6'
source_url 'http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz' source_url 'http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz'
source_sha1 '3f89f861209ce81a6bab1fd1998c0ef311712002' source_sha256 'a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd'
depends_on 'diffutils' => :build depends_on 'diffutils' => :build
......
...@@ -5,7 +5,7 @@ class C_ares < Package ...@@ -5,7 +5,7 @@ class C_ares < Package
homepage 'https://c-ares.haxx.se/' homepage 'https://c-ares.haxx.se/'
version '1.13.0' version '1.13.0'
source_url 'https://c-ares.haxx.se/download/c-ares-1.13.0.tar.gz' source_url 'https://c-ares.haxx.se/download/c-ares-1.13.0.tar.gz'
source_sha1 'dde50284cc3d505fb2463ff6276e61d5531b1d68' source_sha256 '03f708f1b14a26ab26c38abd51137640cb444d3ec72380b21b20f1a8d2861da7'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Cabextract < Package ...@@ -5,7 +5,7 @@ class Cabextract < Package
homepage 'https://www.cabextract.org.uk/' homepage 'https://www.cabextract.org.uk/'
version '1.6' version '1.6'
source_url 'https://www.cabextract.org.uk/cabextract-1.6.tar.gz' source_url 'https://www.cabextract.org.uk/cabextract-1.6.tar.gz'
source_sha1 '64f6d5056d3e417a943648c23cb22218b7079ced' source_sha256 'cee661b56555350d26943c5e127fc75dd290b7f75689d5ebc1f04957c4af55fb'
def self.build def self.build
system './configure' system './configure'
......
...@@ -5,7 +5,7 @@ class Cadaver < Package ...@@ -5,7 +5,7 @@ class Cadaver < Package
homepage 'http://www.webdav.org/cadaver/' homepage 'http://www.webdav.org/cadaver/'
version '0.23.3' version '0.23.3'
source_url 'http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz' source_url 'http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz'
source_sha1 '4ad8ea2341b77e7dee26b46e4a8a496f1a2962cd' source_sha256 'fd4ce68a3230ba459a92bcb747fc6afa91e46d803c1d5ffe964b661793c13fca'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Cairo < Package ...@@ -5,7 +5,7 @@ class Cairo < Package
homepage 'https://www.cairographics.org/' homepage 'https://www.cairographics.org/'
version '1.14.8' version '1.14.8'
source_url 'https://www.cairographics.org/releases/cairo-1.14.8.tar.xz' source_url 'https://www.cairographics.org/releases/cairo-1.14.8.tar.xz'
source_sha1 'c6f7b99986f93c9df78653c3e6a3b5043f65145e' source_sha256 'd1f2d98ae9a4111564f6de4e013d639cf77155baf2556582295a0f00a9bc5e20'
depends_on 'libpng' depends_on 'libpng'
depends_on 'pixman' depends_on 'pixman'
......
require 'package'
class Cbase < Package
description 'cbase is a C library of useful functions that simplify systems software development on System V UNIX.'
homepage 'http://www.hyperrealm.com/main.php?s=cbase'
version '1.3.7'
source_url 'http://www.hyperrealm.com/cbase/cbase-1.3.7.tar.gz'
source_sha256 'c4d155686ac2e9d1480319de311967fadad745a6ab6971d53d495d9a9e52dc47'
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
...@@ -5,7 +5,7 @@ class Cdrkit < Package ...@@ -5,7 +5,7 @@ class Cdrkit < Package
homepage 'https://launchpad.net/cdrkit' homepage 'https://launchpad.net/cdrkit'
version '1.1.11' version '1.1.11'
source_url 'https://downloads.sourceforge.net/project/wodim/cdrkit/cdrkit_1.1.11.orig.tar.gz' source_url 'https://downloads.sourceforge.net/project/wodim/cdrkit/cdrkit_1.1.11.orig.tar.gz'
source_sha1 '3f7ddc06db0272942e1a4cd98c3c96462df77387' source_sha256 'd1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da'
depends_on 'cmake' depends_on 'cmake'
depends_on 'libcap' depends_on 'libcap'
......
...@@ -5,7 +5,7 @@ class Chicken < Package ...@@ -5,7 +5,7 @@ class Chicken < Package
homepage 'https://code.call-cc.org/' homepage 'https://code.call-cc.org/'
version '4.12.0' version '4.12.0'
source_url 'https://code.call-cc.org/releases/4.12.0/chicken-4.12.0.tar.gz' source_url 'https://code.call-cc.org/releases/4.12.0/chicken-4.12.0.tar.gz'
source_sha1 'f128b57d42ce6f1d4a56a372916e9e538ae1ceab' source_sha256 '605ace459bc66e8c5f82abb03d9b1c9ca36f1c2295931d244d03629a947a6989'
def self.build def self.build
system "make", "PLATFORM=linux" system "make", "PLATFORM=linux"
......
...@@ -5,7 +5,7 @@ class Clamav < Package ...@@ -5,7 +5,7 @@ class Clamav < Package
homepage 'https://www.clamav.net/' homepage 'https://www.clamav.net/'
version '0.99.2' version '0.99.2'
source_url 'https://www.clamav.net/downloads/production/clamav-0.99.2.tar.gz' source_url 'https://www.clamav.net/downloads/production/clamav-0.99.2.tar.gz'
source_sha1 'c1a47411834d8527f7b40727aebee63f01d488af' source_sha256 '167bd6a13e05ece326b968fdb539b05c2ffcfef6018a274a10aeda85c2c0027a'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Clisp < Package ...@@ -5,7 +5,7 @@ class Clisp < Package
homepage 'http://www.gnu.org/software/clisp/' homepage 'http://www.gnu.org/software/clisp/'
version '2.49-2' version '2.49-2'
source_url 'ftp://ftp.gnu.org/pub/gnu/clisp/release/2.49/clisp-2.49.tar.bz2' source_url 'ftp://ftp.gnu.org/pub/gnu/clisp/release/2.49/clisp-2.49.tar.bz2'
source_sha1 '7e8d585ef8d0d6349ffe581d1ac08681e6e670d4' source_sha256 '8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890'
depends_on 'libsigsegv' depends_on 'libsigsegv'
depends_on 'ffcall' depends_on 'ffcall'
......
...@@ -10,10 +10,10 @@ class Cloog < Package ...@@ -10,10 +10,10 @@ class Cloog < Package
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/cloog-0.18.4-chromeos-i686.tar.xz', i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/cloog-0.18.4-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/cloog-0.18.4-chromeos-x86_64.tar.xz', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/cloog-0.18.4-chromeos-x86_64.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: 'f4a3af2c427944f30b4149428af1215a0200ff57', aarch64: '5c0d563960076a50f332cf484d5ceb7043045ae6f647e74d86a141158b4fa621',
armv7l: 'f4a3af2c427944f30b4149428af1215a0200ff57', armv7l: '5c0d563960076a50f332cf484d5ceb7043045ae6f647e74d86a141158b4fa621',
i686: 'fa62fb428bb6d211c6896bbb9912caa170db0590', i686: 'b82930b14f6b1a506150c3b367f455d8fd78b20a1dacbd53a18b369e32552512',
x86_64: '5ffdb93347874dbd06916a50cba7876299f29ba2', x86_64: '092a6621231b76f4cd331cdac356281185dcff3a8d62d982baee58f20f1aaec8',
}) })
end end
...@@ -5,7 +5,7 @@ class Cmake < Package ...@@ -5,7 +5,7 @@ class Cmake < Package
homepage 'https://cmake.org/' homepage 'https://cmake.org/'
version '3.7.2' version '3.7.2'
source_url 'https://cmake.org/files/v3.7/cmake-3.7.2.tar.gz' source_url 'https://cmake.org/files/v3.7/cmake-3.7.2.tar.gz'
source_sha1 'ea73af0c3c832e586bf2f82a13a708ea509d5a88' source_sha256 'dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'openssl' depends_on 'openssl'
......
...@@ -5,7 +5,7 @@ class Cmatrix < Package ...@@ -5,7 +5,7 @@ class Cmatrix < Package
homepage 'http://www.asty.org/cmatrix/' homepage 'http://www.asty.org/cmatrix/'
version '1.2a' version '1.2a'
source_url 'http://www.asty.org/cmatrix/dist/cmatrix-1.2a.tar.gz' source_url 'http://www.asty.org/cmatrix/dist/cmatrix-1.2a.tar.gz'
source_sha1 'ca078c10322a47e327f07a44c9a42b52eab5ad93' source_sha256 '1fa6e6caea254b6fe70a492efddc1b40ad7ccb950a5adfd80df75b640577064c'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'ncurses' depends_on 'ncurses'
......
...@@ -5,7 +5,7 @@ class Composer < Package ...@@ -5,7 +5,7 @@ class Composer < Package
homepage 'https://getcomposer.org/' homepage 'https://getcomposer.org/'
version '1.4.2' version '1.4.2'
source_url 'https://github.com/composer/composer/archive/1.4.2.tar.gz' source_url 'https://github.com/composer/composer/archive/1.4.2.tar.gz'
source_sha1 'd0179a967011891c2c1e6067acc1faa1e8a8c81c' source_sha256 'b5ebe7bfddf6e05be9ab071d5d53dc49e7c9059a12238460ec86e2e6ab722e06'
depends_on 'php7' unless File.exists? '/usr/local/bin/php' depends_on 'php7' unless File.exists? '/usr/local/bin/php'
......
...@@ -4,10 +4,20 @@ class Compressdoc < Package ...@@ -4,10 +4,20 @@ class Compressdoc < Package
description 'Compress (with bzip2 or gzip) all man pages in a hierarchy and update symlinks' description 'Compress (with bzip2 or gzip) all man pages in a hierarchy and update symlinks'
homepage 'https://github.com/ojab/BLFS/blob/master/auxfiles/compressdoc' homepage 'https://github.com/ojab/BLFS/blob/master/auxfiles/compressdoc'
version '9b2b12' version '9b2b12'
source_url 'https://github.com/ojab/BLFS/archive/9b2b12c0d809e287e1ea3fa4790a73a71feffbe4.zip' source_url 'https://github.com/ojab/BLFS/archive/9b2b12c0d809e287e1ea3fa4790a73a71feffbe4.tar.gz'
source_sha1 'dd55e750128972ffd1022808b1b26cff2de242b1' source_sha256 '6ebe4a9bbef5d0e84a36e56ac6fb1f0a2cfa86cb00c49628a0d3151d37f5d2f1'
binary_url ({
depends_on 'unzip' aarch64: 'https://github.com/jam7/chromebrew/releases/download/binaries/compressdoc-9b2b12-chromeos-x86_64.tar.xz',
armv7l: 'https://github.com/jam7/chromebrew/releases/download/binaries/compressdoc-9b2b12-chromeos-x86_64.tar.xz',
i686: 'https://github.com/jam7/chromebrew/releases/download/binaries/compressdoc-9b2b12-chromeos-x86_64.tar.xz',
x86_64: 'https://github.com/jam7/chromebrew/releases/download/binaries/compressdoc-9b2b12-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '4743bfb71bf851cb659dce71465e034fae19250e72f97aa7a50d6d8298f03347',
armv7l: '4743bfb71bf851cb659dce71465e034fae19250e72f97aa7a50d6d8298f03347',
i686: '4743bfb71bf851cb659dce71465e034fae19250e72f97aa7a50d6d8298f03347',
x86_64: '4743bfb71bf851cb659dce71465e034fae19250e72f97aa7a50d6d8298f03347',
})
def self.install def self.install
system "chmod +x auxfiles/compressdoc" system "chmod +x auxfiles/compressdoc"
......
require 'package'
class Coreutils < Package
description 'The GNU Core Utilities are the basic file, shell and text manipulation utilities of the GNU operating system.'
homepage 'http://www.gnu.org/software/coreutils/coreutils.html'
version '8.27'
source_url 'https://ftpmirror.gnu.org/coreutils/coreutils-8.27.tar.xz'
source_sha256 '8891d349ee87b9ff7870f52b6d9312a9db672d2439d289bc57084771ca21656b'
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
...@@ -5,7 +5,7 @@ class Cpio < Package ...@@ -5,7 +5,7 @@ class Cpio < Package
homepage 'https://www.gnu.org/software/cpio/' homepage 'https://www.gnu.org/software/cpio/'
version '2.12' version '2.12'
source_url 'http://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.gz' source_url 'http://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.gz'
source_sha1 'b366685662ab26661c6204b4631af6232e48be3f' source_sha256 '08a35e92deb3c85d269a0059a27d4140a9667a6369459299d08c17f713a92e73'
depends_on 'binutils' depends_on 'binutils'
depends_on 'gawk' depends_on 'gawk'
......
...@@ -5,9 +5,9 @@ class Cpustat < Package ...@@ -5,9 +5,9 @@ class Cpustat < Package
homepage 'http://kernel.ubuntu.com/~cking/cpustat/' homepage 'http://kernel.ubuntu.com/~cking/cpustat/'
version '0.02.01' version '0.02.01'
source_url 'http://kernel.ubuntu.com/~cking/tarballs/cpustat/cpustat-0.02.01.tar.gz' source_url 'http://kernel.ubuntu.com/~cking/tarballs/cpustat/cpustat-0.02.01.tar.gz'
source_sha1 '0eca37a1c6e1282b05be51fc2dd1dac72875112d' source_sha256 '5a4e81b68f89057fc5a6e7ec4ba2c21ae70035193ea8493c2b0eb4b0815a27bf'
depends_on "ncurses" depends_on 'ncurses'
def self.build def self.build
system "sed -i 's,/usr,/usr/local,g' Makefile" system "sed -i 's,/usr,/usr/local,g' Makefile"
......
...@@ -5,7 +5,7 @@ class Ctags < Package ...@@ -5,7 +5,7 @@ class Ctags < Package
homepage 'https://sourceforge.net/projects/ctags/' homepage 'https://sourceforge.net/projects/ctags/'
version '5.8' version '5.8'
source_url 'http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz' source_url 'http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz'
source_sha1 '482da1ecd182ab39bbdc09f2f02c9fba8cd20030' source_sha256 '0e44b45dcabe969e0bbbb11e30c246f81abe5d32012db37395eb57d66e9e99c7'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Ctorrent < Package ...@@ -5,7 +5,7 @@ class Ctorrent < Package
homepage 'http://www.rahul.net/dholmes/ctorrent/' homepage 'http://www.rahul.net/dholmes/ctorrent/'
version '3.3.2' version '3.3.2'
source_url 'http://www.rahul.net/dholmes/ctorrent/ctorrent-dnh3.3.2.tar.gz' source_url 'http://www.rahul.net/dholmes/ctorrent/ctorrent-dnh3.3.2.tar.gz'
source_sha1 'd4e221f0292268f80e2430ce9d451dd64cf1ffaa' source_sha256 'c87366c91475931f75b924119580abd06a7b3cb3f00fef47346552cab1e24863'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Curl < Package ...@@ -5,7 +5,7 @@ class Curl < Package
homepage 'https://curl.haxx.se/' homepage 'https://curl.haxx.se/'
version '7.54.1' version '7.54.1'
source_url 'https://curl.haxx.se/download/curl-7.54.1.tar.bz2' source_url 'https://curl.haxx.se/download/curl-7.54.1.tar.bz2'
source_sha1 'f5193316e4b5ff23505cb09bc946763d35d02cd6' source_sha256 'fdfc4df2d001ee0c44ec071186e770046249263c491fcae48df0e1a3ca8f25a0'
depends_on 'openssl' => :build depends_on 'openssl' => :build
depends_on 'zlibpkg' => :build depends_on 'zlibpkg' => :build
......
...@@ -5,7 +5,7 @@ class Darkhttpd < Package ...@@ -5,7 +5,7 @@ class Darkhttpd < Package
homepage 'https://unix4lyfe.org/darkhttpd/' homepage 'https://unix4lyfe.org/darkhttpd/'
version '1.12' version '1.12'
source_url 'https://unix4lyfe.org/darkhttpd/darkhttpd-1.12.tar.bz2' source_url 'https://unix4lyfe.org/darkhttpd/darkhttpd-1.12.tar.bz2'
source_sha1 '30892c4b5d617548410914c9a5e56e0ebce02256' source_sha256 'a50417b622b32b5f421b3132cb94ebeff04f02c5fb87fba2e31147d23de50505'
def self.build def self.build
system 'make' system 'make'
......
require 'package' require 'package'
class Dart < Package class Dart < Package
description 'The Dart SDK is a set of tools and libraries for the Dart programming language. You can find information about Dart online at dartlang.org.' description 'The Dart SDK is a set of tools and libraries for the Dart programming language. You can find information about Dart online at dartlang.org.'
homepage 'https://www.dartlang.org' homepage 'https://www.dartlang.org'
...@@ -8,16 +7,16 @@ class Dart < Package ...@@ -8,16 +7,16 @@ class Dart < Package
case ARCH case ARCH
when 'i686' when 'i686'
source_url 'https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.2/sdk/dartsdk-linux-ia32-release.zip' source_url 'https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.2/sdk/dartsdk-linux-ia32-release.zip'
source_sha1 '24d132e12d7982ae0c7f41bf78e7e45aaae303cb' source_sha256 '5b71cfe2331bea13227521c101bc7b3e8cfc8418c45615e6ea9dccf056bd323b'
when 'x86_64' when 'x86_64'
source_url 'https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.2/sdk/dartsdk-linux-x64-release.zip' source_url 'https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.2/sdk/dartsdk-linux-x64-release.zip'
source_sha1 'c2ff2a1c499b1dd3f8e547d7f012fabf46e06108' source_sha256 'f774330896e60df918848075f3f1d9ada414bcce4fe81504e2646a79536eb333'
when 'armv7l' when 'armv7l'
source_url 'https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.2/sdk/dartsdk-linux-arm-release.zip' source_url 'https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.2/sdk/dartsdk-linux-arm-release.zip'
source_sha1 'c14d211981c405a754963941d3c8be6d0da22a8c' source_sha256 'c65d7ff111e396a9c7a691fc8470abe5e58cccdf70ef74c191d1cc527dc7c6fb'
when 'aarch64' when 'aarch64'
source_url 'https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.2/sdk/dartsdk-linux-arm64-release.zip' source_url 'https://storage.googleapis.com/dart-archive/channels/stable/release/1.24.2/sdk/dartsdk-linux-arm64-release.zip'
source_sha1 'cf6b96eb5b88b1865bf357c2c9fd7ad8d64f763f' source_sha256 'b547ad50f0208cdedf9bf432b5c1c41c8b6c53d9c5ff5ac4325460e8ba604e49'
# #
# comment out abort per discussion in #798 # comment out abort per discussion in #798
# https://github.com/skycocker/chromebrew/pull/798 # https://github.com/skycocker/chromebrew/pull/798
......
require 'package'
class Datamash < Package
description 'GNU Datamash is a command-line program which performs basic numeric,textual and statistical operations on input textual data files.'
homepage 'http://savannah.gnu.org/projects/datamash'
version '1.1.1'
source_url 'https://ftpmirror.gnu.org/datamash/datamash-1.1.1.tar.gz'
source_sha256 '420819b3d7372ee3ce704add847cff7d08c4f8176c1d48735d4a632410bb801b'
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
...@@ -5,7 +5,7 @@ class Dbus < Package ...@@ -5,7 +5,7 @@ class Dbus < Package
homepage 'https://www.freedesktop.org/wiki/Software/dbus/' homepage 'https://www.freedesktop.org/wiki/Software/dbus/'
version '1.11.12' version '1.11.12'
source_url 'https://dbus.freedesktop.org/releases/dbus/dbus-1.11.12.tar.gz' source_url 'https://dbus.freedesktop.org/releases/dbus/dbus-1.11.12.tar.gz'
source_sha1 '2e2247398abb22115e724b5e955fece2307dddb0' source_sha256 'ac12df14a0fd0a9ecb56d02e2988cd313b91116d048aaaf53786ad6ccea9906d'
depends_on 'expat' depends_on 'expat'
......
...@@ -5,7 +5,7 @@ class Di < Package ...@@ -5,7 +5,7 @@ class Di < Package
homepage 'http://gentoo.com/di/' homepage 'http://gentoo.com/di/'
version '4.43' version '4.43'
source_url 'http://gentoo.com/di/di-4.43.tar.gz' source_url 'http://gentoo.com/di/di-4.43.tar.gz'
source_sha1 'ddced0d59d29ccdcbc4282bc7464a925d14955e1' source_sha256 'c8374d2ab7a82274d733be01639f48440accf4c70c70b152f5fa3b1c8a9745e0'
def self.build def self.build
system "sed -i '40s,= ,= $(DESTDIR)/,' Makefile" # set correct bin path system "sed -i '40s,= ,= $(DESTDIR)/,' Makefile" # set correct bin path
......
...@@ -5,7 +5,7 @@ class Diffutils < Package ...@@ -5,7 +5,7 @@ class Diffutils < Package
homepage 'http://www.gnu.org/software/diffutils/' homepage 'http://www.gnu.org/software/diffutils/'
version '3.5-1' version '3.5-1'
source_url 'ftp://ftp.gnu.org/gnu/diffutils/diffutils-3.5.tar.xz' source_url 'ftp://ftp.gnu.org/gnu/diffutils/diffutils-3.5.tar.xz'
source_sha1 '1169cce8eaaf7290dc087d65db7ed75de0dceb93' source_sha256 'dad398ccd5b9faca6b0ab219a036453f62a602a56203ac659b43e889bec35533'
depends_on "libsigsegv" depends_on "libsigsegv"
......
...@@ -5,7 +5,7 @@ class Diskscan < Package ...@@ -5,7 +5,7 @@ class Diskscan < Package
homepage 'http://blog.disksurvey.org/proj/diskscan/' homepage 'http://blog.disksurvey.org/proj/diskscan/'
version '0.19' version '0.19'
source_url 'https://github.com/baruch/diskscan/archive/0.19.tar.gz' source_url 'https://github.com/baruch/diskscan/archive/0.19.tar.gz'
source_sha1 '74777d57af378fffe209086a026b788cd35d4d05' source_sha256 '92a7298af99043e1e584e4343040b6574b9229f44c122e1cbcb90ba478d928d1'
depends_on 'cmake' depends_on 'cmake'
depends_on 'termcap' depends_on 'termcap'
......
...@@ -5,7 +5,7 @@ class Docbook < Package ...@@ -5,7 +5,7 @@ class Docbook < Package
homepage 'http://docbook.sourceforge.net/' homepage 'http://docbook.sourceforge.net/'
version '1.79.1' version '1.79.1'
source_url 'https://downloads.sourceforge.net/project/docbook/docbook-xsl/1.79.1/docbook-xsl-1.79.1.tar.bz2' source_url 'https://downloads.sourceforge.net/project/docbook/docbook-xsl/1.79.1/docbook-xsl-1.79.1.tar.bz2'
source_sha1 '7487b2acc7106253bb77fcddc7e1a9788601ad23' source_sha256 '725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968'
def self.install def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local/docbook" system "mkdir -p #{CREW_DEST_DIR}/usr/local/docbook"
......
...@@ -5,7 +5,7 @@ class Dos2unix < Package ...@@ -5,7 +5,7 @@ class Dos2unix < Package
homepage 'http://freecode.com/projects/dos2unix' homepage 'http://freecode.com/projects/dos2unix'
version '7.3.4' version '7.3.4'
source_url 'https://sourceforge.net/projects/dos2unix/files/dos2unix/7.3.4/dos2unix-7.3.4.tar.gz' source_url 'https://sourceforge.net/projects/dos2unix/files/dos2unix/7.3.4/dos2unix-7.3.4.tar.gz'
source_sha1 'f19641741806b8411566144bfdf56df718b4aca0' source_sha256 '8ccda7bbc5a2f903dafd95900abb5bf5e77a769b572ef25150fde4056c5f30c5'
def self.build def self.build
system 'make' system 'make'
......
...@@ -3,29 +3,28 @@ require 'package' ...@@ -3,29 +3,28 @@ require 'package'
class Dropbox < Package class Dropbox < Package
description 'Dropbox simplifies the way you create, share and collaborate. Bring your photos, docs, and videos anywhere and keep your files safe.' description 'Dropbox simplifies the way you create, share and collaborate. Bring your photos, docs, and videos anywhere and keep your files safe.'
homepage 'https://www.dropbox.com/' homepage 'https://www.dropbox.com/'
version '28.4.14' version '29.4.20'
case ARCH case ARCH
when 'x86' when 'i686'
source_url 'https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-28.4.14.tar.gz' source_url 'https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-29.4.20.tar.gz'
source_sha1 '32f5e412b8f630c057bc4d4a8a034fe9af685ddc' source_sha256 'd3d51259a4dae434c10f9c352aa2a3f75a98ffbfb04dfab8c182cff7e3b5ed7d'
when 'x86_64' when 'x86_64'
source_url 'https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-28.4.14.tar.gz' source_url 'https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-29.4.20.tar.gz'
source_sha1 '40f4f37b64394d42f4fa3d6b3d53553f854587e4' source_sha256 '82321e3955b8d6dc329fe1fa9f4eb17a88e1beeac9eae8874318574310461671'
else else
abort 'Unable to install dropboxd. Supported architectures include x86 and x86_64 only.'.lightred 'Unable to install dropboxd. Supported architectures include x86 and x86_64 only.'.lightred
end end
depends_on 'python' depends_on 'python' unless File.exists? '/usr/local/bin/python'
def self.install def self.install
system "wget https://linux.dropbox.com/packages/dropbox.py" system "wget https://linux.dropbox.com/packages/dropbox.py"
abort "Checksum mismatch. :/ Try again.".lightred unless Digest::SHA1.hexdigest( File.read("dropbox.py") ) == "de22fc6e68d5ff80885da032b79a8ad88f12d770"
system "sed -i 's,~/.dropbox-dist,/usr/local/bin,g' dropbox.py" system "sed -i 's,~/.dropbox-dist,/usr/local/bin,g' dropbox.py"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "cp -r .dropbox-dist/. #{CREW_DEST_DIR}/usr/local/bin"
system "echo '#!/bin/bash' > dropbox" system "echo '#!/bin/bash' > dropbox"
system "echo 'python /usr/local/bin/dropbox.py \$1' >> dropbox" system "echo 'python /usr/local/bin/dropbox.py \$1' >> dropbox"
system "chmod +x dropbox" system "chmod +x dropbox"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "cp -r .dropbox-dist/. #{CREW_DEST_DIR}/usr/local/bin"
system "cp dropbox.py #{CREW_DEST_DIR}/usr/local/bin" system "cp dropbox.py #{CREW_DEST_DIR}/usr/local/bin"
system "cp dropbox #{CREW_DEST_DIR}/usr/local/bin" system "cp dropbox #{CREW_DEST_DIR}/usr/local/bin"
end end
......
require 'package'
class Dropbox_uploader < Package
description 'Dropbox Uploader is a BASH script which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service.'
homepage 'https://github.com/andreafabrizi/Dropbox-Uploader'
version '1.0'
source_url 'https://github.com/andreafabrizi/Dropbox-Uploader/archive/1.0.tar.gz'
source_sha256 '8c9be8bd38fb3b0f0b4d1a863132ad38c8299ac62ecfbd1e818addf32b48d84c'
depends_on 'curl'
def self.install
system "sed -i 's,dropbox_uploader.sh,dropbox_uploader,g' dropShell.sh"
system "chmod +x dropShell.sh"
system "chmod +x dropbox_uploader.sh"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "cp dropShell.sh #{CREW_DEST_DIR}/usr/local/bin/dropshell"
system "cp dropbox_uploader.sh #{CREW_DEST_DIR}/usr/local/bin/dropbox_uploader"
puts ""
puts "Type 'dropbox_uploader' and follow the instructions to finish the installation.".lightblue
puts "To execute The Interactive Dropbox SHELL, type 'dropshell'.".lightblue
puts ""
end
end
...@@ -5,7 +5,7 @@ class Dstat < Package ...@@ -5,7 +5,7 @@ class Dstat < Package
homepage 'http://dag.wiee.rs/home-made/dstat/' homepage 'http://dag.wiee.rs/home-made/dstat/'
version '0.7.3' version '0.7.3'
source_url 'https://github.com/dagwieers/dstat/archive/0.7.3.tar.gz' source_url 'https://github.com/dagwieers/dstat/archive/0.7.3.tar.gz'
source_sha1 '1e410412a1f53b7be5292354e815785f480fd0e5' source_sha256 '46e63821857b69fbc60cb2c7d893ccdd6f31cd9ef24b8bb0b68951e1c7374898'
depends_on "python27" depends_on "python27"
......
...@@ -5,7 +5,7 @@ class Dtrx < Package ...@@ -5,7 +5,7 @@ class Dtrx < Package
homepage 'https://brettcsmith.org/2007/dtrx/' homepage 'https://brettcsmith.org/2007/dtrx/'
version '7.1' version '7.1'
source_url 'https://brettcsmith.org/2007/dtrx/dtrx-7.1.tar.gz' source_url 'https://brettcsmith.org/2007/dtrx/dtrx-7.1.tar.gz'
source_sha1 '05cfe705a04a8b84571b0a5647cd2648720791a4' source_sha256 '1c9afe48e9d9d4a1caa4c9b0c50593c6fe427942716ce717d81bae7f8425ce97'
depends_on 'binutils' depends_on 'binutils'
depends_on 'bz2' depends_on 'bz2'
......
...@@ -5,7 +5,7 @@ class Ed < Package ...@@ -5,7 +5,7 @@ class Ed < Package
homepage 'http://www.gnu.org/software/ed/ed.html' homepage 'http://www.gnu.org/software/ed/ed.html'
version '1.14.2-1' version '1.14.2-1'
source_url 'http://ftpmirror.gnu.org/ed/ed-1.14.2.tar.lz' source_url 'http://ftpmirror.gnu.org/ed/ed-1.14.2.tar.lz'
source_sha1 '3e8aa331ffbc929884107ff3f8fbd76d01252277' source_sha256 'f57962ba930d70d02fc71d6be5c5f2346b16992a455ab9c43be7061dec9810db'
# only lz archive is available for ed and it requires lzip. # only lz archive is available for ed and it requires lzip.
depends_on 'lzip' => :build depends_on 'lzip' => :build
......
...@@ -3,14 +3,14 @@ require 'package' ...@@ -3,14 +3,14 @@ require 'package'
class Elixir < Package class Elixir < Package
description 'Elixir is a dynamic, functional language designed for building scalable and maintainable applications.' description 'Elixir is a dynamic, functional language designed for building scalable and maintainable applications.'
homepage 'http://elixir-lang.org/' homepage 'http://elixir-lang.org/'
version '1.3.1' version '1.4.5'
depends_on 'erlang' depends_on 'erlang'
source_url 'https://github.com/elixir-lang/elixir/archive/v1.3.1.tar.gz' source_url 'https://github.com/elixir-lang/elixir/archive/v1.4.5.tar.gz'
source_sha1 '29dc1b4da5e051ad71ad84b6886d7c184e4b9add' source_sha256 'bef1a0ea7a36539eed4b104ec26a82e46940959345ed66509ec6cc3d987bada0'
def self.build def self.build
system 'make clean test' system 'make'
end end
def self.install def self.install
......
...@@ -5,7 +5,7 @@ class Emacs < Package ...@@ -5,7 +5,7 @@ class Emacs < Package
homepage 'http://www.gnu.org/software/emacs/' homepage 'http://www.gnu.org/software/emacs/'
version '25.1' version '25.1'
source_url 'ftp://ftp.gnu.org/gnu/emacs/emacs-25.1.tar.xz' source_url 'ftp://ftp.gnu.org/gnu/emacs/emacs-25.1.tar.xz'
source_sha1 '983e457971e3e3c8964d039c113033f98132b8a8' source_sha256 '19f2798ee3bc26c95dca3303e7ab141e7ad65d6ea2b6945eeba4dbea7df48f33'
depends_on "zlibpkg" => :build depends_on "zlibpkg" => :build
depends_on "diffutils" => :build depends_on "diffutils" => :build
......
...@@ -5,7 +5,7 @@ class Erlang < Package ...@@ -5,7 +5,7 @@ class Erlang < Package
homepage 'http://www.erlang.org/' homepage 'http://www.erlang.org/'
version '19.2' version '19.2'
source_url 'http://www.erlang.org/download/otp_src_19.2.tar.gz' source_url 'http://www.erlang.org/download/otp_src_19.2.tar.gz'
source_sha1 'f5188ba6f496b9d1c37597705d095b4e6aa7bcd3' source_sha256 'a016b3ef5dac1e532972617b2715ef187ecb616f7cd7ddcfe0f1d502f5d24870'
def self.build def self.build
system 'export ERL_OTP=`pwd`' system 'export ERL_OTP=`pwd`'
......
...@@ -5,7 +5,7 @@ class Expat < Package ...@@ -5,7 +5,7 @@ class Expat < Package
homepage 'https://sourceforge.net/projects/expat/' homepage 'https://sourceforge.net/projects/expat/'
version '2.2.0' version '2.2.0'
source_url 'https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2/download' source_url 'https://sourceforge.net/projects/expat/files/expat/2.2.0/expat-2.2.0.tar.bz2/download'
source_sha1 '8453bc52324be4c796fd38742ec48470eef358b3' source_sha256 'd9e50ff2d19b3538bd2127902a89987474e1a4db8e43a66a4d1a712ab9a504ff'
def self.build def self.build
system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic" system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic"
......
...@@ -5,7 +5,7 @@ class Expect < Package ...@@ -5,7 +5,7 @@ class Expect < Package
homepage 'http://expect.sourceforge.net/' homepage 'http://expect.sourceforge.net/'
version '5.45-1' version '5.45-1'
source_url 'http://prdownloads.sourceforge.net/expect/expect5.45.tar.gz' source_url 'http://prdownloads.sourceforge.net/expect/expect5.45.tar.gz'
source_sha1 'e634992cab35b7c6931e1f21fbb8f74d464bd496' source_sha256 'b28dca90428a3b30e650525cdc16255d76bb6ccd65d448be53e620d95d5cc040'
depends_on "tcl" depends_on "tcl"
......
...@@ -5,7 +5,7 @@ class Fasd < Package ...@@ -5,7 +5,7 @@ class Fasd < Package
homepage 'https://github.com/clvv/fasd' homepage 'https://github.com/clvv/fasd'
version '1.0.1' version '1.0.1'
source_url 'https://github.com/clvv/fasd/archive/1.0.1.tar.gz' source_url 'https://github.com/clvv/fasd/archive/1.0.1.tar.gz'
source_sha1 'aeb3f9c6f8f9e4355016e3255429bcad5c7a5689' source_sha256 '88efdfbbed8df408699a14fa6c567450bf86480f5ff3dde42d0b3e1dee731f65'
def self.install def self.install
system "sed -i 's,share/man,man,' Makefile" system "sed -i 's,share/man,man,' Makefile"
......
...@@ -5,7 +5,7 @@ class Ffcall < Package ...@@ -5,7 +5,7 @@ class Ffcall < Package
homepage 'http://www.haible.de/bruno/packages-ffcall-README.html' homepage 'http://www.haible.de/bruno/packages-ffcall-README.html'
version '1.10-1' version '1.10-1'
source_url 'http://www.haible.de/bruno/gnu/ffcall-1.10.tar.gz' source_url 'http://www.haible.de/bruno/gnu/ffcall-1.10.tar.gz'
source_sha1 '6b4fdc7bd38b434bbf3d65508a3d117fc8b349f3' source_sha256 '6f1b5b8fc84b2c0051637fb1e4e4f8b975f5f98bff8fe053c1992347baa4983d'
def self.build def self.build
system "./configure --prefix=/usr/local CFLAGS=\" -fPIC\"" system "./configure --prefix=/usr/local CFLAGS=\" -fPIC\""
......
...@@ -5,7 +5,7 @@ class Ffmpeg < Package ...@@ -5,7 +5,7 @@ class Ffmpeg < Package
homepage 'https://ffmpeg.org/' homepage 'https://ffmpeg.org/'
version '3.3.1' version '3.3.1'
source_url 'https://ffmpeg.org/releases/ffmpeg-3.3.1.tar.xz' source_url 'https://ffmpeg.org/releases/ffmpeg-3.3.1.tar.xz'
source_sha1 'ace4539bbb1ef9abb59842137b2a206ca5659f36' source_sha256 'b702a7fc656ac23e276b8c823a2f646e4e6f6309bb2788435a708e69bea98f2f'
depends_on 'gnutls' depends_on 'gnutls'
depends_on 'libass' depends_on 'libass'
......
...@@ -5,7 +5,7 @@ class Figlet < Package ...@@ -5,7 +5,7 @@ class Figlet < Package
homepage 'http://www.figlet.org/' homepage 'http://www.figlet.org/'
version '2.2.5' version '2.2.5'
source_url 'ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-2.2.5.tar.gz' source_url 'ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-2.2.5.tar.gz'
source_sha1 'dda696958c161bd71d6590152c94c4f705415727' source_sha256 'bf88c40fd0f077dab2712f54f8d39ac952e4e9f2e1882f1195be9e5e4257417d'
def self.build def self.build
system "make", "PREFIX=/usr/local" system "make", "PREFIX=/usr/local"
......
...@@ -5,10 +5,10 @@ class Filecmd < Package ...@@ -5,10 +5,10 @@ class Filecmd < Package
homepage 'ftp://ftp.astron.com/pub/file' homepage 'ftp://ftp.astron.com/pub/file'
version '5.31' version '5.31'
source_url 'ftp://ftp.astron.com/pub/file/file-5.31.tar.gz' source_url 'ftp://ftp.astron.com/pub/file/file-5.31.tar.gz'
source_sha1 'd66f71fb29ec0e9cecbefe9d7433d7a315f3302c' source_sha256 '09c588dac9cff4baa054f51a36141793bcf64926edc909594111ceae60fce4ee'
def self.build def self.build
system "./configure" system "./configure --libdir=#{CREW_LIB_PREFIX}"
system "make" system "make"
end end
......
...@@ -5,7 +5,7 @@ class Finch < Package ...@@ -5,7 +5,7 @@ class Finch < Package
homepage 'http://pidgin.im/' homepage 'http://pidgin.im/'
version '2.12.0' version '2.12.0'
source_url 'https://downloads.sourceforge.net/project/pidgin/Pidgin/2.12.0/pidgin-2.12.0.tar.bz2' source_url 'https://downloads.sourceforge.net/project/pidgin/Pidgin/2.12.0/pidgin-2.12.0.tar.bz2'
source_sha1 '38f48c48978425b86fc9f4e8ba08216ff379451b' source_sha256 '8c3d3536d6d3c971bd433ff9946678af70a0f6aa4e6969cc2a83bb357015b7f8'
depends_on 'glib' depends_on 'glib'
depends_on 'ncursesw' depends_on 'ncursesw'
......
...@@ -5,7 +5,7 @@ class Fish < Package ...@@ -5,7 +5,7 @@ class Fish < Package
homepage 'http://fishshell.com/' homepage 'http://fishshell.com/'
version '2.5.0' version '2.5.0'
source_url 'https://github.com/fish-shell/fish-shell/releases/download/2.5.0/fish-2.5.0.tar.gz' source_url 'https://github.com/fish-shell/fish-shell/releases/download/2.5.0/fish-2.5.0.tar.gz'
source_sha1 'ec52debe0a829b9df29f658697523af7c18ee778' source_sha256 'f8c0edadca2de379ccf305aeace660a9255fa2180c72e85e97705a24c256b2a5'
depends_on 'ncurses' depends_on 'ncurses'
......
...@@ -5,13 +5,13 @@ class Flex < Package ...@@ -5,13 +5,13 @@ class Flex < Package
homepage 'https://www.gnu.org/software/flex/' homepage 'https://www.gnu.org/software/flex/'
version '2.6.4' version '2.6.4'
source_url 'https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz' source_url 'https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz'
source_sha1 'fafece095a0d9890ebd618adb1f242d8908076e1' source_sha256 'e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995'
depends_on 'm4' depends_on 'm4'
depends_on 'bison' => :build depends_on 'bison' => :build
def self.build def self.build
system "./configure", "--with-pic", "--disable-static", "--enable-shared" system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--with-pic", "--disable-static", "--enable-shared"
system "make" system "make"
end end
......
...@@ -5,7 +5,7 @@ class Fontconfig < Package ...@@ -5,7 +5,7 @@ class Fontconfig < Package
homepage 'https://www.freedesktop.org/software/fontconfig/front.html' homepage 'https://www.freedesktop.org/software/fontconfig/front.html'
version '2.11.94-1' version '2.11.94-1'
source_url 'http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.11.94.tar.gz' source_url 'http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.11.94.tar.gz'
source_sha1 '3748d8a2b9cf8052dbd003f524d829157f1ead83' source_sha256 '73f6d323c7bcfbde25d78397675191d55b8f4139132c6a9444410f3a2d8a9a95'
depends_on 'pkgconfig' depends_on 'pkgconfig'
depends_on 'freetype' depends_on 'freetype'
......
...@@ -5,7 +5,7 @@ class Foremost < Package ...@@ -5,7 +5,7 @@ class Foremost < Package
homepage 'http://foremost.sourceforge.net/' homepage 'http://foremost.sourceforge.net/'
version '1.5.7' version '1.5.7'
source_url 'http://foremost.sourceforge.net/pkg/foremost-1.5.7.tar.gz' source_url 'http://foremost.sourceforge.net/pkg/foremost-1.5.7.tar.gz'
source_sha1 'c26d68990d7bd5245d5f7dc83c9217642a7a2056' source_sha256 '502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34'
def self.build def self.build
system "make" system "make"
......
...@@ -5,7 +5,7 @@ class Freetype < Package ...@@ -5,7 +5,7 @@ class Freetype < Package
homepage 'https://www.freetype.org/' homepage 'https://www.freetype.org/'
version '2.7.1' version '2.7.1'
source_url 'http://download.savannah.gnu.org/releases/freetype/freetype-2.7.1.tar.gz' source_url 'http://download.savannah.gnu.org/releases/freetype/freetype-2.7.1.tar.gz'
source_sha1 '60fb8097901a887b8e8f6e7f777ef0516ae68022' source_sha256 '162ef25aa64480b1189cdb261228e6c5c44f212aac4b4621e28cf2157efb59f5'
def self.build def self.build
system "./configure CFLAGS=\" -fPIC\"" system "./configure CFLAGS=\" -fPIC\""
......
...@@ -5,7 +5,7 @@ class Fribidi < Package ...@@ -5,7 +5,7 @@ class Fribidi < Package
homepage 'https://www.fribidi.org/' homepage 'https://www.fribidi.org/'
version '0.19.7' version '0.19.7'
source_url 'https://www.fribidi.org/download/fribidi-0.19.7.tar.bz2' source_url 'https://www.fribidi.org/download/fribidi-0.19.7.tar.bz2'
source_sha1 'e470e078eafe6c065708def3e037c129c0d7367d' source_sha256 '08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Fuse < Package ...@@ -5,7 +5,7 @@ class Fuse < Package
homepage 'https://github.com/libfuse/libfuse' homepage 'https://github.com/libfuse/libfuse'
version '2.9.7' version '2.9.7'
source_url 'https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz' source_url 'https://github.com/libfuse/libfuse/releases/download/fuse-2.9.7/fuse-2.9.7.tar.gz'
source_sha1 'cd174e3d37995a42fad32fac92f76cd18e24174f' source_sha256 '832432d1ad4f833c20e13b57cf40ce5277a9d33e483205fc63c78111b3358874'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Gawk < Package ...@@ -5,7 +5,7 @@ class Gawk < Package
homepage 'https://www.gnu.org/software/gawk/' homepage 'https://www.gnu.org/software/gawk/'
version '4.1.4-1' version '4.1.4-1'
source_url 'http://ftp.gnu.org/gnu/gawk/gawk-4.1.4.tar.xz' source_url 'http://ftp.gnu.org/gnu/gawk/gawk-4.1.4.tar.xz'
source_sha1 'd67e00e2f6178e9cbd2c0ba923ae157bc0b3b570' source_sha256 '53e184e2d0f90def9207860531802456322be091c7b48f23fdc79cda65adc266'
depends_on 'libsigsegv' depends_on 'libsigsegv'
depends_on 'readline' => :build depends_on 'readline' => :build
...@@ -14,7 +14,7 @@ class Gawk < Package ...@@ -14,7 +14,7 @@ class Gawk < Package
depends_on 'gmp' depends_on 'gmp'
def self.build def self.build
system './configure', '--prefix=/usr/local' system './configure', "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}"
system 'make' system 'make'
end end
......
...@@ -5,7 +5,7 @@ class Gc < Package ...@@ -5,7 +5,7 @@ class Gc < Package
homepage 'http://www.hboehm.info/gc/' homepage 'http://www.hboehm.info/gc/'
version '7.2g' version '7.2g'
source_url 'http://www.hboehm.info/gc/gc_source/gc-7.2g.tar.gz' source_url 'http://www.hboehm.info/gc/gc_source/gc-7.2g.tar.gz'
source_sha1 'd470f6c0dcb55f8a4f26199731edf006eba5b85c' source_sha256 '584e29e2f1be4a389ca30f78dcd2c991031e7d1e1eb3d7ce2a0f975218337c2f'
def self.build def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
......
...@@ -11,11 +11,11 @@ class Gcc < Package ...@@ -11,11 +11,11 @@ class Gcc < Package
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/gcc-4.9.4-chromeos-i686.tar.xz', i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/gcc-4.9.4-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/gcc-4.9.4-chromeos-x86_64.tar.xz', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/gcc-4.9.4-chromeos-x86_64.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: 'b34938c0ec56dc7bf7c03d4d5596232dede65c53', aarch64: 'e0bf0855f30aa2084e86b0d382c99b6d15bbc1937f4ea6a993ab06ca1a80bd70',
armv7l: 'b34938c0ec56dc7bf7c03d4d5596232dede65c53', armv7l: 'e0bf0855f30aa2084e86b0d382c99b6d15bbc1937f4ea6a993ab06ca1a80bd70',
i686: '2f18ba781298d4275dd54a339ea415764a4d6fee', i686: '66a6f4f1b08c1f0f09bc58ccb65b35e48912bf529d1de8452e3e8faeff75bc0c',
x86_64: '4e8e609fafab6ebb527cad7ecabce481c1b419e4', x86_64: '78cd2fd1a95aee25a9804371118adad78265237718068ed86d90d82e41ca02ce',
}) })
depends_on 'binutils' depends_on 'binutils'
......
...@@ -5,7 +5,7 @@ class Gdal < Package ...@@ -5,7 +5,7 @@ class Gdal < Package
homepage 'http://www.gdal.org/' homepage 'http://www.gdal.org/'
version '1.11.2-1' version '1.11.2-1'
source_url 'http://download.osgeo.org/gdal/1.11.2/gdal-1.11.2.tar.gz' source_url 'http://download.osgeo.org/gdal/1.11.2/gdal-1.11.2.tar.gz'
source_sha1 '6f3ccbe5643805784812072a33c25be0bbff00db' source_sha256 '66bc8192d24e314a66ed69285186d46e6999beb44fc97eeb9c76d82a117c0845'
depends_on 'python27' depends_on 'python27'
depends_on 'curl' depends_on 'curl'
......
...@@ -5,7 +5,7 @@ class Gdb < Package ...@@ -5,7 +5,7 @@ class Gdb < Package
homepage 'https://www.gnu.org/software/gdb/' homepage 'https://www.gnu.org/software/gdb/'
version '8.0' version '8.0'
source_url 'http://ftp.gnu.org/gnu/gdb/gdb-8.0.tar.xz' source_url 'http://ftp.gnu.org/gnu/gdb/gdb-8.0.tar.xz'
source_sha1 '148c8e783ebf9b281241d0566db59961191ec64d' source_sha256 'f6a24ffe4917e67014ef9273eb8b547cb96a13e5ca74895b06d683b391f3f4ee'
depends_on "buildessential" depends_on "buildessential"
depends_on "ncurses" depends_on "ncurses"
......
...@@ -5,12 +5,12 @@ class Gdbm < Package ...@@ -5,12 +5,12 @@ class Gdbm < Package
homepage 'https://www.gnu.org/software/gdbm/' homepage 'https://www.gnu.org/software/gdbm/'
version '1.13' version '1.13'
source_url 'ftp://ftp.gnu.org/gnu/gdbm/gdbm-1.13.tar.gz' source_url 'ftp://ftp.gnu.org/gnu/gdbm/gdbm-1.13.tar.gz'
source_sha1 '7f2a8301497bbcac91808b011ca533380914fd21' source_sha256 '9d252cbd7d793f7b12bcceaddda98d257c14f4d1890d851c386c37207000a253'
depends_on 'readline' depends_on 'readline'
def self.build def self.build
system './configure', '--disable-static', '--enable-shared', '--with-pic' system './configure', "--libdir=#{CREW_LIB_PREFIX}", '--disable-static', '--enable-shared', '--with-pic'
system 'make' system 'make'
end end
......
...@@ -6,29 +6,27 @@ class Gdrive < Package ...@@ -6,29 +6,27 @@ class Gdrive < Package
version '2.1.0' version '2.1.0'
source_url 'https://github.com/prasmussen/gdrive/archive/2.1.0.tar.gz' source_url 'https://github.com/prasmussen/gdrive/archive/2.1.0.tar.gz'
source_sha1 '2abfb27e9c0bfa1904bcfb6bd01b32ed6884db75' source_sha256 'a1ea624e913e258596ea6340c8818a90c21962b0a75cf005e49a0f72f2077b2e'
def self.install def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin" system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
case ARCH case ARCH
when 'x86_64' when 'aarch64'
system "wget -L -O #{CREW_DEST_DIR}/usr/local/bin/gdrive https://docs.google.com/uc?id=0B3X9GlR6EmbnQ0FtZmJJUXEyRTA&export=download" system "wget -L -O #{CREW_DEST_DIR}/usr/local/bin/gdrive https://docs.google.com/uc?id=0B3X9GlR6EmbnRjBaMVVLalN4cTA&export=download"
system "sleep 10" system "sleep 10"
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA1.hexdigest( File.read("#{CREW_DEST_DIR}/usr/local/bin/gdrive") ) == '4fd8391b300cac45963e53da44dcfe68da08d843' abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read("#{CREW_DEST_DIR}/usr/local/bin/gdrive") ) == '25eb74f892785bfd7c93ec22e63dfce04fd68298d8449ea1473bdbf90e3aaf35'
when 'armv7l' when 'armv7l'
system "wget -L -O #{CREW_DEST_DIR}/usr/local/bin/gdrive https://docs.google.com/uc?id=0B3X9GlR6EmbnamliN0Rld01oRVk&export=download" system "wget -L -O #{CREW_DEST_DIR}/usr/local/bin/gdrive https://docs.google.com/uc?id=0B3X9GlR6EmbnRjBaMVVLalN4cTA&export=download"
system "sleep 10" system "sleep 10"
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA1.hexdigest( File.read("#{CREW_DEST_DIR}/usr/local/bin/gdrive") ) == '3d670905e13edf96d43c9f97293bdba62c740926' abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read("#{CREW_DEST_DIR}/usr/local/bin/gdrive") ) == '25eb74f892785bfd7c93ec22e63dfce04fd68298d8449ea1473bdbf90e3aaf35'
when 'mips64' when 'i686'
system "wget -L -O #{CREW_DEST_DIR}/usr/local/bin/gdrive https://docs.google.com/uc?id=0B3X9GlR6Embna2lzdEJ6blFzSzQ&export=download" system "wget -L -O #{CREW_DEST_DIR}/usr/local/bin/gdrive https://docs.google.com/uc?id=0B3X9GlR6EmbnLV92dHBpTkFhTEU&export=download"
system "sleep 10" system "sleep 10"
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA1.hexdigest( File.read("#{CREW_DEST_DIR}/usr/local/bin/gdrive") ) == '334bbd74b87fd1d05550e366724fe8e3c9e61ca4' abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read("#{CREW_DEST_DIR}/usr/local/bin/gdrive") ) == '768103053ebe56d5b6e17396ac208db85a3b1968d19e9cac9172fe56b6b8cad2'
when 'ppc64' when 'x86_64'
system "wget -L -O #{CREW_DEST_DIR}/usr/local/bin/gdrive https://docs.google.com/uc?id=0B3X9GlR6EmbnS09XMzhfRXBnUzA&export=download" system "wget -L -O #{CREW_DEST_DIR}/usr/local/bin/gdrive https://docs.google.com/uc?id=0B3X9GlR6EmbnQ0FtZmJJUXEyRTA&export=download"
system "sleep 10" system "sleep 10"
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA1.hexdigest( File.read("#{CREW_DEST_DIR}/usr/local/bin/gdrive") ) == '70a1ac5be9ba819da5cf7a8dbd513805a26509ac' abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read("#{CREW_DEST_DIR}/usr/local/bin/gdrive") ) == 'f31b441c5cdb835ee69849a62856e35c17954fd5b600f6de8a6f5d7bd7bf0420'
else
abort 'Unable to install gdrive. Architecture not supported.'.lightred
end end
system "chmod +x #{CREW_DEST_DIR}/usr/local/bin/gdrive" system "chmod +x #{CREW_DEST_DIR}/usr/local/bin/gdrive"
end end
......
...@@ -5,7 +5,7 @@ class Geoip < Package ...@@ -5,7 +5,7 @@ class Geoip < Package
homepage 'https://github.com/maxmind/geoip-api-c/' homepage 'https://github.com/maxmind/geoip-api-c/'
version '1.6.9' version '1.6.9'
source_url 'https://github.com/maxmind/geoip-api-c/releases/download/v1.6.9/GeoIP-1.6.9.tar.gz' source_url 'https://github.com/maxmind/geoip-api-c/releases/download/v1.6.9/GeoIP-1.6.9.tar.gz'
source_sha1 'ac0deb2309c14d5763e82fa4139de1f3193ab6b1' source_sha256 '4b446491843de67c1af9b887da17a3e5939e0aeed4826923a5f4bf09d845096f'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Geos < Package ...@@ -5,7 +5,7 @@ class Geos < Package
homepage 'https://trac.osgeo.org/geos/' homepage 'https://trac.osgeo.org/geos/'
version '3.4.2-1' version '3.4.2-1'
source_url 'http://download.osgeo.org/geos/geos-3.4.2.tar.bz2' source_url 'http://download.osgeo.org/geos/geos-3.4.2.tar.bz2'
source_sha1 'b8aceab04dd09f4113864f2d12015231bb318e9a' source_sha256 '15e8bfdf7e29087a957b56ac543ea9a80321481cef4d4f63a7b268953ad26c53'
def self.build def self.build
system "./configure CFLAGS=\" -fPIC\"" system "./configure CFLAGS=\" -fPIC\""
......
...@@ -5,14 +5,14 @@ class Gettext < Package ...@@ -5,14 +5,14 @@ class Gettext < Package
homepage 'https://www.gnu.org/software/gettext/' homepage 'https://www.gnu.org/software/gettext/'
version '0.19.8.1' version '0.19.8.1'
source_url 'ftp://ftp.gnu.org/gnu/gettext/gettext-0.19.8.1.tar.xz' source_url 'ftp://ftp.gnu.org/gnu/gettext/gettext-0.19.8.1.tar.xz'
source_sha1 'e0fe90ede22f7f16bbde7bdea791a835f2773fc9' source_sha256 '105556dbc5c3fbbc2aa0edb46d22d055748b6f5c7cd7a8d99f8e7eb84e938be4'
depends_on 'diffutils' => :build depends_on 'diffutils' => :build
depends_on 'ncurses' depends_on 'ncurses'
depends_on 'libxml2' depends_on 'libxml2'
def self.build def self.build
system "./configure", "--enable-shared", "--disable-static", "--with-pic" system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic"
system "make" system "make"
end end
......
require 'package'
class Ghostscript < Package
description 'Ghostscript is the name of a set of software that provides an interpreter for the PostScript language and the PDF file format.'
homepage 'https://www.gnu.org/software/ghostscript/'
version '9.14.1'
source_url 'ftp://ftp.gnu.org/gnu/ghostscript/gnu-ghostscript-9.14.1.tar.xz'
source_sha256 '424a4ff333a594fdd397cd8adc4249bad7d74a6ae653f840dee72b27f1bf1da0'
depends_on 'lcms'
depends_on 'libjpeg'
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
...@@ -5,7 +5,7 @@ class Git < Package ...@@ -5,7 +5,7 @@ class Git < Package
homepage 'https://git-scm.com/' homepage 'https://git-scm.com/'
version '2.13.0' version '2.13.0'
source_url 'https://github.com/git/git/archive/v2.13.0.tar.gz' source_url 'https://github.com/git/git/archive/v2.13.0.tar.gz'
source_sha1 'd0078048574b824bc0d202deb3830717a955eb3e' source_sha256 '0c0ff3ce35c44e5e19de6589b824075c9cdf8ff84c5c1099a56545398a8729e4'
# use system zlibpkg, openssl, curl, expat # use system zlibpkg, openssl, curl, expat
depends_on 'zlibpkg' => :build depends_on 'zlibpkg' => :build
......
...@@ -5,7 +5,7 @@ class Glib < Package ...@@ -5,7 +5,7 @@ class Glib < Package
homepage 'https://developer.gnome.org/glib/' homepage 'https://developer.gnome.org/glib/'
version '2.40.2' version '2.40.2'
source_url 'https://ftp.gnome.org/pub/gnome/sources/glib/2.40/glib-2.40.2.tar.xz' source_url 'https://ftp.gnome.org/pub/gnome/sources/glib/2.40/glib-2.40.2.tar.xz'
source_sha1 'dcb8ad22b1c0e6969a844029ffb91a6def7ad240' source_sha256 'e8ff8af2950897e805408480c454c415d1eade4e670ec5fb507f5e5853726c7a'
depends_on 'libffi' depends_on 'libffi'
depends_on 'gettext' depends_on 'gettext'
......
...@@ -10,10 +10,10 @@ class Glibc219 < Package ...@@ -10,10 +10,10 @@ class Glibc219 < Package
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/glibc-2.19-chromeos-i686.tar.xz', i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/glibc-2.19-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/glibc-2.19-chromeos-x86_64.tar.xz', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/glibc-2.19-chromeos-x86_64.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: '4e318b8250d90a52d0f19963be60de41a8eccba4', aarch64: '7524d818571059970caece1b4616d947c4937a591383ed5644636c45d9c16bdd',
armv7l: '4e318b8250d90a52d0f19963be60de41a8eccba4', armv7l: '7524d818571059970caece1b4616d947c4937a591383ed5644636c45d9c16bdd',
i686: '156c2b7bcb0ed9f8604d0a91908871648c55e260', i686: 'b9eb79ec3bfe59c85b7520673cbd5eb24414a176e040fca9a5fb57e82e4dd28e',
x86_64: 'e094f717ec2f5add484994a8537903fa0d07d7f8', x86_64: '173200b006598bc46c964531a87ffde6cae1656759d5f96c54bc73b322e0af46',
}) })
end end
...@@ -10,10 +10,10 @@ class Glibc223 < Package ...@@ -10,10 +10,10 @@ class Glibc223 < Package
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/glibc-2.23-chromeos-i686.tar.xz', i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/glibc-2.23-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/glibc-2.23-chromeos-x86_64.tar.xz', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/glibc-2.23-chromeos-x86_64.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: '0fecd72cda0d24833750553015e88fb6624e62a3', aarch64: '54cfc66b712bb3a0f5619a90e82db98c34c949e93902cfeb6140da38ed73a19d',
armv7l: '0fecd72cda0d24833750553015e88fb6624e62a3', armv7l: '54cfc66b712bb3a0f5619a90e82db98c34c949e93902cfeb6140da38ed73a19d',
i686: '5260ed2243ca382c5fd780f3833a0d39b519f1fc', i686: '9a51fe1485eb84b13d4c0fe03839fd9534a48e81c6cb22e845db17a6e711106d',
x86_64: '57e08745e97f79a49283847c92ac5164072db14c', x86_64: '28fd0a4aa514081e1ae098421e47d0172e818e4435b1a2ffd447d4f7cb6799e4',
}) })
end end
...@@ -10,10 +10,10 @@ class Gmp < Package ...@@ -10,10 +10,10 @@ class Gmp < Package
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/gmp-6.1.2-chromeos-i686.tar.xz', i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/gmp-6.1.2-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/gmp-6.1.2-chromeos-x86_64.tar.xz', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/gmp-6.1.2-chromeos-x86_64.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: '63b9465ad81d2ad68f6b328f1dada69337c4f71e', aarch64: '74c06e1c7fa3b6be68613ba72167416141674a70044452706b9612f6dd4d4267',
armv7l: '63b9465ad81d2ad68f6b328f1dada69337c4f71e', armv7l: '74c06e1c7fa3b6be68613ba72167416141674a70044452706b9612f6dd4d4267',
i686: '51d647a9a3bd14d0d5f8acbd6f4baf4401e155b4', i686: 'd9c8f4c0102d30d17e75c753491c527138ead8238681368e265a58edc8b3ae40',
x86_64: 'a69e303b879264de36ca3e075dd3601f77538163', x86_64: '09e6e4a1575da39471e0ae713e54d62dfcb347d913afc3f7f2d49e8489c8d54a',
}) })
end end
...@@ -5,7 +5,7 @@ class Gnupg < Package ...@@ -5,7 +5,7 @@ class Gnupg < Package
homepage 'https://gnupg.org/' homepage 'https://gnupg.org/'
version '2.1.21' version '2.1.21'
source_url 'https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.1.21.tar.bz2' source_url 'https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.1.21.tar.bz2'
source_sha1 '1852c066bc21893bc52026ead78edf50fdf15e13' source_sha256 '7aead8a8ba75b69866f583b6c747d91414d523bfdfbe9a8e0fe026b16ba427dd'
depends_on 'bz2' depends_on 'bz2'
depends_on 'automake' depends_on 'automake'
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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