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'
......
...@@ -5,7 +5,7 @@ class Gnutls < Package ...@@ -5,7 +5,7 @@ class Gnutls < Package
homepage 'http://gnutls.org/' homepage 'http://gnutls.org/'
version '3.5.12' version '3.5.12'
source_url 'https://www.gnupg.org/ftp/gcrypt/gnutls/v3.5/gnutls-3.5.12.tar.xz' source_url 'https://www.gnupg.org/ftp/gcrypt/gnutls/v3.5/gnutls-3.5.12.tar.xz'
source_sha1 '9f453686bc6b1e6ebc04197158a2bc123c0272df' source_sha256 '63cb39a5eaa029381df2e49a74cfb7be89fc4a592445191818ffe1e66bde57cb'
depends_on 'buildessential' => :build depends_on 'buildessential' => :build
depends_on 'zlibpkg' => :build depends_on 'zlibpkg' => :build
......
...@@ -5,7 +5,7 @@ class Go < Package ...@@ -5,7 +5,7 @@ class Go < Package
homepage 'https://golang.org/' homepage 'https://golang.org/'
version '1.8.3' version '1.8.3'
source_url 'https://storage.googleapis.com/golang/go1.8.3.src.tar.gz' source_url 'https://storage.googleapis.com/golang/go1.8.3.src.tar.gz'
source_sha1 '7c3b942c58a44396ff1d205d0e6e72770792d626' source_sha256 '5f5dea2447e7dcfdc50fa6b94c512e58bfba5673c039259fd843f68829d99fa6'
# Tests requires perl # Tests requires perl
depends_on 'perl' depends_on 'perl'
......
...@@ -5,7 +5,7 @@ class Go_bootstrap < Package ...@@ -5,7 +5,7 @@ class Go_bootstrap < Package
homepage 'https://golang.org/' homepage 'https://golang.org/'
version '1.4' version '1.4'
source_url 'https://storage.googleapis.com/golang/go1.4-bootstrap-20161024.tar.gz' source_url 'https://storage.googleapis.com/golang/go1.4-bootstrap-20161024.tar.gz'
source_sha1 '47e02e41aa99dea899b65ebf7b50ec706141be8c' source_sha256 '398c70d9d10541ba9352974cc585c43220b6d8dbcd804ba2c9bd2fbf35fab286'
def self.build def self.build
FileUtils.cd('src') do FileUtils.cd('src') do
......
...@@ -5,7 +5,7 @@ class Goaccess < Package ...@@ -5,7 +5,7 @@ class Goaccess < Package
homepage 'https://goaccess.io/' homepage 'https://goaccess.io/'
version '1.2' version '1.2'
source_url 'http://tar.goaccess.io/goaccess-1.2.tar.gz' source_url 'http://tar.goaccess.io/goaccess-1.2.tar.gz'
source_sha1 '4c12796ff5afd14f359b1f638fc51c4007db1e3c' source_sha256 '6ba9f66540ea58fc2c17f175265f9ed76d74a8432eeac1182b74ebf4f2cd3414'
depends_on 'openssl' depends_on 'openssl'
depends_on 'geoip' depends_on 'geoip'
......
require "package" require 'package'
class Gperf < Package class Gperf < Package
description 'GNU gperf is a perfect hash function generator.' description 'GNU gperf is a perfect hash function generator.'
homepage 'https://www.gnu.org/software/gperf/' homepage 'https://www.gnu.org/software/gperf/'
version "3.1" version '3.1'
source_url "http://ftp.gnu.org/pub/gnu/gperf/gperf-3.1.tar.gz" source_url 'http://ftp.gnu.org/pub/gnu/gperf/gperf-3.1.tar.gz'
source_sha1 "e3c0618c2d2e5586eda9498c867d5e4858a3b0e2" source_sha256 '588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2'
def self.build def self.build
system "./configure" system './configure'
system "make" system 'make'
end end
def self.install def self.install
......
...@@ -5,7 +5,7 @@ class Gpgme < Package ...@@ -5,7 +5,7 @@ class Gpgme < Package
homepage 'https://www.gnupg.org/related_software/gpgme/index.html' homepage 'https://www.gnupg.org/related_software/gpgme/index.html'
version '1.8.0' version '1.8.0'
source_url 'https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.8.0.tar.bz2' source_url 'https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-1.8.0.tar.bz2'
source_sha1 'efa043064dbf675fd713228c6fcfcc4116feb221' source_sha256 '596097257c2ce22e747741f8ff3d7e24f6e26231fa198a41b2a072e62d1e5d33'
depends_on "libgpgerror" depends_on "libgpgerror"
depends_on "libassuan" depends_on "libassuan"
......
...@@ -5,7 +5,7 @@ class Graphicsmagick < Package ...@@ -5,7 +5,7 @@ class Graphicsmagick < Package
homepage 'http://www.graphicsmagick.org/' homepage 'http://www.graphicsmagick.org/'
version '1.3.23' version '1.3.23'
source_url 'http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.23/GraphicsMagick-1.3.23.tar.gz' source_url 'http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.23/GraphicsMagick-1.3.23.tar.gz'
source_sha1 'ad43788153e11e5123ac94b60a2c9acc74036d70' source_sha256 'cb320e009173c66927041a675755fad454b8aadf1da2c6fd1d65eac298c556db'
depends_on 'buildessential' depends_on 'buildessential'
......
...@@ -5,7 +5,9 @@ class Groff < Package ...@@ -5,7 +5,9 @@ class Groff < Package
homepage 'https://www.gnu.org/software/groff/' homepage 'https://www.gnu.org/software/groff/'
version '1.22.3-1' version '1.22.3-1'
source_url 'http://ftp.gnu.org/gnu/groff/groff-1.22.3.tar.gz' source_url 'http://ftp.gnu.org/gnu/groff/groff-1.22.3.tar.gz'
source_sha1 '61a6808ea1ef715df9fa8e9b424e1f6b9fa8c091' source_sha256 '3a48a9d6c97750bfbd535feeb5be0111db6406ddb7bb79fc680809cda6d828a5'
depends_on 'perl'
def self.build def self.build
system 'INSTALL_PROGRAM=\'${INSTALL} -s\' ./configure' system 'INSTALL_PROGRAM=\'${INSTALL} -s\' ./configure'
......
...@@ -5,7 +5,7 @@ class Gzsize < Package ...@@ -5,7 +5,7 @@ class Gzsize < Package
homepage 'https://bfontaine.github.io/gzsize/' homepage 'https://bfontaine.github.io/gzsize/'
version '0.1.1' version '0.1.1'
source_url 'https://github.com/bfontaine/gzsize/archive/0.1.1.tar.gz' source_url 'https://github.com/bfontaine/gzsize/archive/0.1.1.tar.gz'
source_sha1 '778820b0bf3fc2197955b60c6dc49f6fac00878b' source_sha256 'ffb9cc1e5ed10443b1bcf2f711787bc7f69eee27ed83b48f2ccf9d80e39554dd'
def self.build def self.build
system "make" system "make"
......
...@@ -5,7 +5,7 @@ class Haproxy < Package ...@@ -5,7 +5,7 @@ class Haproxy < Package
homepage 'http://www.haproxy.org/' homepage 'http://www.haproxy.org/'
version '1.7.2' version '1.7.2'
source_url 'http://www.haproxy.org/download/1.7/src/haproxy-1.7.2.tar.gz' source_url 'http://www.haproxy.org/download/1.7/src/haproxy-1.7.2.tar.gz'
source_sha1 'b022485e28b96b673e3116a69d8922cb7367a81f' source_sha256 'f95b40f52a4d61feaae363c9b15bf411c16fe8f61fddb297c7afcca0072e4b2f'
depends_on "openssl" depends_on "openssl"
depends_on "pcre" depends_on "pcre"
......
...@@ -5,7 +5,7 @@ class Harfbuzz < Package ...@@ -5,7 +5,7 @@ class Harfbuzz < Package
homepage 'https://www.freedesktop.org/wiki/Software/HarfBuzz/' homepage 'https://www.freedesktop.org/wiki/Software/HarfBuzz/'
version '1.1.5' version '1.1.5'
source_url 'https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1.4.5.tar.bz2' source_url 'https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1.4.5.tar.bz2'
source_sha1 'e979eb20b789c1fc47107ef93a584924e34dd195' source_sha256 'd0e05438165884f21658154c709075feaf98c93ee5c694b951533ac425a9a711'
def self.build def self.build
system "./configure" system "./configure"
......
require 'package'
class Hdparm < Package
description 'hdparm is a GNU/Linux shell utility for viewing and manipulating various IDE drive and driver parameters.'
homepage 'https://directory.fsf.org/wiki/Hdparm'
version '9.32'
source_url 'http://www.ibiblio.org/pub/Linux/system/hardware/hdparm-9.32.tar.gz'
source_sha256 '90d80632695759ec12c8a9da94471f04bc88d5b73d34fc6a370775b534d09319'
def self.build
system "sed -i 's,binprefix = ,binprefix = /usr/local,' Makefile"
system "sed -i 's,manprefix = /usr,manprefix = /usr/local,' Makefile"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "-e", "install"
end
end
require 'package'
class Healthcheck < Package
description 'Linux system health check.'
homepage 'https://github.com/SimplyLinuxFAQ/health-check-script'
version '1cace5'
source_url 'https://github.com/SimplyLinuxFAQ/health-check-script/archive/1cace54e871c69cd4bbbaeeb3b9e314d7f575b06.tar.gz'
source_sha256 '4f40995614da68da7422e2ba8e01815c569e3c1a268122a5e13a007899092630'
depends_on 'lsb_release'
depends_on 'sysstat'
def self.install
system "chmod +x health-check.sh"
system "sed -i 's,usr/bin,usr/local/bin,' health-check.sh"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "cp health-check.sh #{CREW_DEST_DIR}/usr/local/bin/healthcheck"
end
end
require 'package'
class Help2info < Package
description 'help2info is a bash script that generates a simple info page from the output of the --help argument of the specified program.'
homepage 'http://savannah.nongnu.org/projects/help2info'
version '0.1.1'
source_url 'http://download.savannah.nongnu.org/releases/help2info/help2info-0.1.1.tar.bz2'
source_sha256 '9964fa462fb3e0f0646c97d986b69b3365461e94365cd80c5ec57f03ca08a839'
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Help2man < Package
description "help2man produces simple manual pages from the '--help' and '--version' output of other commands."
homepage 'https://www.gnu.org/software/help2man/'
version '1.47.4'
source_url 'https://ftpmirror.gnu.org/help2man/help2man-1.47.4.tar.xz'
source_sha256 'd4ecf697d13f14dd1a78c5995f06459bff706fd1ce593d1c02d81667c0207753'
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
...@@ -9,9 +9,9 @@ class Heroku < Package ...@@ -9,9 +9,9 @@ class Heroku < Package
i686: "https://drive.google.com/uc?export=download&id=0ByCixsDmZPzxd3NULTRkMWlHQTA", i686: "https://drive.google.com/uc?export=download&id=0ByCixsDmZPzxd3NULTRkMWlHQTA",
x86_64: "https://drive.google.com/uc?export=download&id=0ByCixsDmZPzxLURkMktpREpDZk0" x86_64: "https://drive.google.com/uc?export=download&id=0ByCixsDmZPzxLURkMktpREpDZk0"
}) })
binary_sha1 ({ binary_sha256 ({
armv7l: "b48f2f52d11cee4ca6a1878fdf2608a4b10ea53d", armv7l: "b7fab53d3c8cfd42d41c1b07db069c9fd5f7261fcea48fd99114981cf1a293d7",
i686: "1b0a736797c9293431b7db0055861fc73657a3fe", i686: "1e73fbff3a10c0c95dd1aa1cf68952a95a330634fa410765962df0396315a42c",
x86_64: "9524fbc86c0a19f84f8bbb77c56ce2439d929a92" x86_64: "9259cd8b5d7aaeb9172142b5956ad767a3d4f1bcf126e51a7f4a8c055e53c068"
}) })
end end
...@@ -5,7 +5,7 @@ class Htop < Package ...@@ -5,7 +5,7 @@ class Htop < Package
homepage 'https://hisham.hm/htop/' homepage 'https://hisham.hm/htop/'
version '2.0.2' version '2.0.2'
source_url 'http://hisham.hm/htop/releases/2.0.2/htop-2.0.2.tar.gz' source_url 'http://hisham.hm/htop/releases/2.0.2/htop-2.0.2.tar.gz'
source_sha1 '201f793f13dce2448e36047079875b9bd5bba75a' source_sha256 '179be9dccb80cee0c5e1a1f58c8f72ce7b2328ede30fb71dcdf336539be2f487'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'ncurses' depends_on 'ncurses'
......
...@@ -5,7 +5,7 @@ class Httpd < Package ...@@ -5,7 +5,7 @@ class Httpd < Package
homepage 'http://httpd.apache.org/' homepage 'http://httpd.apache.org/'
version '2.2.32' version '2.2.32'
source_url 'https://github.com/apache/httpd/archive/2.2.32.tar.gz' source_url 'https://github.com/apache/httpd/archive/2.2.32.tar.gz'
source_sha1 '647e459f645c4138561e3f4314570f2f525d754d' source_sha256 '0d74b1e4d69cedc56323cedc819c083ca975b679b6a082abf60c21836756bb1d'
depends_on 'subversion' depends_on 'subversion'
......
require 'package'
class Httrack < Package
description 'HTTrack is a free (GPL, libre/free software) and easy-to-use offline browser utility. It allows you to download a World Wide Web site from the Internet to a local directory, building recursively all directories, getting HTML, images, and other files from the server to your computer.'
homepage 'http://www.httrack.com/'
version '3.49.2'
source_url 'http://mirror.httrack.com/httrack-3.49.2.tar.gz'
source_sha256 '3477a0e5568e241c63c9899accbfcdb6aadef2812fcce0173688567b4c7d4025'
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 Hub < Package ...@@ -5,7 +5,7 @@ class Hub < Package
homepage 'https://hub.github.com/' homepage 'https://hub.github.com/'
version '2.3.0-pre9' version '2.3.0-pre9'
source_url 'https://github.com/github/hub/archive/v2.3.0-pre9.tar.gz' source_url 'https://github.com/github/hub/archive/v2.3.0-pre9.tar.gz'
source_sha1 'd18f0a28d13b7e773186ece35df032f561d2172d' source_sha256 '3246a5e3a071a7ccb06c30230a720b6457837bd6b97b32ab248dfb2b2222dbfb'
depends_on 'git' depends_on 'git'
depends_on 'go' depends_on 'go'
......
...@@ -5,7 +5,7 @@ class Icu4c < Package ...@@ -5,7 +5,7 @@ class Icu4c < Package
homepage 'http://site.icu-project.org/' homepage 'http://site.icu-project.org/'
version '58.2' version '58.2'
source_url 'http://download.icu-project.org/files/icu4c/58.2/icu4c-58_2-src.tgz' source_url 'http://download.icu-project.org/files/icu4c/58.2/icu4c-58_2-src.tgz'
source_sha1 'b67913c90a484c59fda011797c6f3959d84bdc7c' source_sha256 '2b0a4410153a9b20de0e20c7d8b66049a72aef244b53683d0d7521371683da0c'
def self.build def self.build
FileUtils.cd('source') do FileUtils.cd('source') do
......
...@@ -5,10 +5,10 @@ class Iftop < Package ...@@ -5,10 +5,10 @@ class Iftop < Package
homepage 'http://www.ex-parrot.com/pdw/iftop/' homepage 'http://www.ex-parrot.com/pdw/iftop/'
version '0.17' version '0.17'
source_url 'http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz' source_url 'http://www.ex-parrot.com/pdw/iftop/download/iftop-0.17.tar.gz'
source_sha1 '75ce6afc8c0bf851278b0a15e66f523af90cfda9' source_sha256 'd032547c708307159ff5fd0df23ebd3cfa7799c31536fa0aea1820318a8e0eac'
depends_on "libpcap" depends_on 'libpcap'
depends_on "ncurses" depends_on 'ncurses'
def self.build def self.build
system './configure --prefix=/usr/local CPPFLAGS="-I/usr/local/include/ncurses"' system './configure --prefix=/usr/local CPPFLAGS="-I/usr/local/include/ncurses"'
......
...@@ -3,9 +3,9 @@ require 'package' ...@@ -3,9 +3,9 @@ require 'package'
class Imagemagick < Package class Imagemagick < Package
description 'Use ImageMagick to create, edit, compose, or convert bitmap images.' description 'Use ImageMagick to create, edit, compose, or convert bitmap images.'
homepage 'http://www.imagemagick.org/script/index.php' homepage 'http://www.imagemagick.org/script/index.php'
version '7.0.5-4' version '7.0.6-0'
source_url 'https://www.imagemagick.org/download/ImageMagick-7.0.5-4.tar.xz' source_url 'https://www.imagemagick.org/download/ImageMagick-7.0.6-0.tar.xz'
source_sha1 '118b2d1753cf5eb0761ea8dac068e24217b8e32b' source_sha256 '31587e2aa4d46301461329fd88d4ed6fccb0bd4ae786d629a153df72dbac89ee'
depends_on 'pkgconfig' depends_on 'pkgconfig'
......
require 'package'
class Imagemagick6 < Package
description 'Use ImageMagick to create, edit, compose, or convert bitmap images.'
homepage 'http://www.imagemagick.org/script/index.php'
version '6.9.8.10'
source_url 'https://www.imagemagick.org/download/ImageMagick-6.9.8-10.tar.xz'
source_sha256 '8fc268f6e1bc514b41620e0f3f6c5dd33bfc5169db679e9a5c0455c6edd11810'
depends_on 'pkgconfig'
depends_on "libjpeg"
depends_on "libpng"
depends_on "libtiff"
depends_on "freetype"
def self.build
system "./configure CFLAGS=\" -fPIC\" --without-python"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package' require 'package'
class Inetutils < Package class Inetutils < Package
description 'The Inetutils package contains programs for basic networking. Such as dnsdomainname, ftp, hostname, ifconfig, ping, description 'The Inetutils package contains programs for basic networking. Such as dnsdomainname, ftp, hostname, ifconfig, ping, ping6, talk, telnet, tftp, traceroute'
ping6, talk, telnet, tftp, traceroute'
homepage 'https://www.gnu.org/software/inetutils/' homepage 'https://www.gnu.org/software/inetutils/'
version '1.9.4' version '1.9.4'
source_url 'https://ftp.gnu.org/gnu/inetutils/inetutils-1.9.4.tar.xz' source_url 'https://ftp.gnu.org/gnu/inetutils/inetutils-1.9.4.tar.xz'
source_sha1 '5e515cc9da142cb73bb1beda137b4c2dcf2b528c' source_sha256 '849d96f136effdef69548a940e3e0ec0624fc0c81265296987986a0dd36ded37'
depends_on 'buildessential' depends_on 'buildessential'
......
require 'package'
class Iptables < Package
description 'iptables is the userspace command line program used to configure the Linux 2.4.x and later packet filtering ruleset.'
homepage 'https://www.netfilter.org/projects/iptables/'
version '1.6.1'
source_url 'https://www.netfilter.org/projects/iptables/files/iptables-1.6.1.tar.bz2'
source_sha256 '0fc2d7bd5d7be11311726466789d4c65fb4c8e096c9182b56ce97440864f0cf5'
def self.build
system './configure \
--disable-nftables'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
...@@ -10,10 +10,10 @@ class Isl < Package ...@@ -10,10 +10,10 @@ class Isl < Package
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/isl-0.18-chromeos-i686.tar.xz', i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/isl-0.18-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/isl-0.18-chromeos-x86_64.tar.xz', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/isl-0.18-chromeos-x86_64.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: 'c954cc42a2129cd179ec1554c8c0bb66ea1ff242', aarch64: 'f792f6c917c12e8319f00b7a536f974b7040276ded9a00045b91a7cbe0ac61f1',
armv7l: 'c954cc42a2129cd179ec1554c8c0bb66ea1ff242', armv7l: 'f792f6c917c12e8319f00b7a536f974b7040276ded9a00045b91a7cbe0ac61f1',
i686: 'ffd99eb6b19cd83856a58c10bbc55a634c37e520', i686: 'eaeb4f965f2e171fd729a111b5525ef31e2a58f67d5cdc68fc5252f1965127ea',
x86_64: '56e335db9d66b91d0943fe1597b20eb23d05bc94', x86_64: 'a2732f63f643e64c5e75de026c8ef2e339717f249875a762765b750f4691d760',
}) })
end end
...@@ -7,18 +7,16 @@ class Jdk8 < Package ...@@ -7,18 +7,16 @@ class Jdk8 < Package
case ARCH case ARCH
when 'i686' when 'i686'
source_url 'http://javadl.oracle.com/webapps/download/AutoDL?BundleId=220303_d54c1d3a095b4ff2b6607d096fa80163' source_url 'http://javadl.oracle.com/webapps/download/AutoDL?BundleId=220303_d54c1d3a095b4ff2b6607d096fa80163'
source_sha1 '20d1a77783a01a592d9bcf3597256caee2ccfce0' source_sha256 'a773f2fe17061ef637ed2094b06313a99c0b45ba3d3cb7f8f1ebf18448495aeb'
when 'x86_64' when 'x86_64'
source_url 'http://javadl.oracle.com/webapps/download/AutoDL?BundleId=220305_d54c1d3a095b4ff2b6607d096fa80163' source_url 'http://javadl.oracle.com/webapps/download/AutoDL?BundleId=220305_d54c1d3a095b4ff2b6607d096fa80163'
source_sha1 '9303d3a8e8fc2d2eda014887fd92a6f5883f0170' source_sha256 '355e5cdb066d4cada1f9f16f358b6fa6280ff5caf7470cf0d5cdd43083408d35'
when 'armv7l' when 'armv7l'
source_url 'https://www.dropbox.com/s/vcejuitboafaxib/jdk8u22-armv7l.tar.gz' source_url 'https://www.dropbox.com/s/vcejuitboafaxib/jdk8u22-armv7l.tar.gz'
source_sha1 '913adb900bf0d9d42452a4591c1a9093076ed4b6' source_sha256 'be13670ce0588a888190a55a63a4a95940b8cd77f6dea3dfeaefe3a9ed800c0b'
when 'aarch64' when 'aarch64'
source_url 'https://www.dropbox.com/s/vcejuitboafaxib/jdk8u22-armv7l.tar.gz' source_url 'https://www.dropbox.com/s/vcejuitboafaxib/jdk8u22-armv7l.tar.gz'
source_sha1 '913adb900bf0d9d42452a4591c1a9093076ed4b6' source_sha256 'be13670ce0588a888190a55a63a4a95940b8cd77f6dea3dfeaefe3a9ed800c0b'
else
abort 'Unable to install jdk8. Architecture not supported.'.lightred
end end
def self.install def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local" system "mkdir -p #{CREW_DEST_DIR}/usr/local"
......
...@@ -5,7 +5,7 @@ class Jq < Package ...@@ -5,7 +5,7 @@ class Jq < Package
homepage 'https://stedolan.github.io/jq/' homepage 'https://stedolan.github.io/jq/'
version '1.5' version '1.5'
source_url 'https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz' source_url 'https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz'
source_sha1 '6eef3705ac0a322e8aa0521c57ce339671838277' source_sha256 'c4d2bfec6436341113419debf479d833692cc5cdab7eb0326b5a4d4fbe9f493c'
def self.build def self.build
system "./configure", system "./configure",
......
...@@ -5,7 +5,7 @@ class Jsonc < Package ...@@ -5,7 +5,7 @@ class Jsonc < Package
homepage 'https://github.com/json-c/json-c/wiki' homepage 'https://github.com/json-c/json-c/wiki'
version '0.12.1-nodoc' version '0.12.1-nodoc'
source_url 'https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12.1-nodoc.tar.gz' source_url 'https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12.1-nodoc.tar.gz'
source_sha1 'ffb24acc03110703a88657a64507cc055373f252' source_sha256 '5a617da9aade997938197ef0f8aabd7f97b670c216dc173977e1d56eef9e1291'
def self.build def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
......
require 'package'
class Kubectl < Package
description 'Kubernetes command line tool'
homepage 'https://kubernetes.io'
version '1.7.0'
source_url 'https://github.com/kubernetes/kubernetes/archive/v1.7.0.tar.gz'
source_sha256 '0fe34180a4bb61384894616b1d348cc6350d1ebcbc071c67748864ffd2deb026'
depends_on "go" => :build
depends_on "rsync" => :build
def self.build
ENV['TMPDIR'] = "#{CREW_PREFIX}/tmp"
# Override the -j$NPROC set by crew with -j1 to workaround a race issue
system "make", "-j1", "generated_files"
system "make", "kubectl"
end
def self.install
system "install", "-D", "-m", "755", "_output/bin/kubectl", "#{CREW_DEST_DIR}/usr/local/bin/kubectl"
end
end
require 'package'
class Lcms < Package
description 'Little CMS intends to be an OPEN SOURCE small-footprint color management engine, with special focus on accuracy and performance.'
homepage 'http://www.littlecms.com/'
version '2.8'
source_url 'https://downloads.sourceforge.net/project/lcms/lcms/2.8/lcms2-2.8.tar.gz'
source_sha256 '66d02b229d2ea9474e62c2b6cd6720fde946155cd1d0d2bffdab829790a0fb22'
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 Less < Package ...@@ -5,7 +5,7 @@ class Less < Package
homepage 'https://www.gnu.org/software/less/' homepage 'https://www.gnu.org/software/less/'
version '487' version '487'
source_url 'http://www.greenwoodsoftware.com/less/less-487.tar.gz' source_url 'http://www.greenwoodsoftware.com/less/less-487.tar.gz'
source_sha1 '8a5c4be2a51f11543793defec7ccb77c525f007e' source_sha256 'f3dc8455cb0b2b66e0c6b816c00197a71bf6d1787078adeee0bcf2aea4b12706'
depends_on 'buildessential' => :build depends_on 'buildessential' => :build
depends_on 'ncurses' depends_on 'ncurses'
......
...@@ -5,7 +5,7 @@ class Leveldb < Package ...@@ -5,7 +5,7 @@ class Leveldb < Package
homepage 'https://leveldb.googlecode.com/' homepage 'https://leveldb.googlecode.com/'
version '1.19.0' version '1.19.0'
source_url 'https://github.com/google/leveldb/archive/v1.19.tar.gz' source_url 'https://github.com/google/leveldb/archive/v1.19.tar.gz'
source_sha1 '864b45b4a8d1ad400b9115ff6d3c9fb1f79be82b' source_sha256 '7d7a14ae825e66aabeb156c1c3fae9f9a76d640ef6b40ede74cc73da937e5202'
def self.build def self.build
system "make" system "make"
...@@ -19,5 +19,5 @@ class Leveldb < Package ...@@ -19,5 +19,5 @@ class Leveldb < Package
system "cp", "out-shared/libleveldb.so.1.19", "#{CREW_DEST_DIR}/usr/local/lib" system "cp", "out-shared/libleveldb.so.1.19", "#{CREW_DEST_DIR}/usr/local/lib"
system "cp", "-P", "out-shared/libleveldb.so.1", "#{CREW_DEST_DIR}/usr/local/lib" system "cp", "-P", "out-shared/libleveldb.so.1", "#{CREW_DEST_DIR}/usr/local/lib"
system "cp", "-P", "out-shared/libleveldb.so", "#{CREW_DEST_DIR}/usr/local/lib" system "cp", "-P", "out-shared/libleveldb.so", "#{CREW_DEST_DIR}/usr/local/lib"
end # during installation end
end end
...@@ -5,7 +5,7 @@ class Lha < Package ...@@ -5,7 +5,7 @@ class Lha < Package
homepage 'http://freecode.com/projects/lhaforunix' homepage 'http://freecode.com/projects/lhaforunix'
version '1.14i-ac20040929' version '1.14i-ac20040929'
source_url 'http://prdownloads.sourceforge.jp/lha/11617/lha-1.14i-ac20040929.tar.gz' source_url 'http://prdownloads.sourceforge.jp/lha/11617/lha-1.14i-ac20040929.tar.gz'
source_sha1 '2e2eb1ee84fe3fa804fd80e6777d4a30050e017f' source_sha256 '6da392c63768c931c038cab7cd9939a2b05d390bff6922cc45faeed7b7530b8b'
def self.build def self.build
system './configure' system './configure'
......
...@@ -5,11 +5,11 @@ class Libarchive < Package ...@@ -5,11 +5,11 @@ class Libarchive < Package
homepage 'http://www.libarchive.org/' homepage 'http://www.libarchive.org/'
version '3.2.2' version '3.2.2'
source_url 'http://www.libarchive.org/downloads/libarchive-3.2.2.tar.gz' source_url 'http://www.libarchive.org/downloads/libarchive-3.2.2.tar.gz'
source_sha1 'ccf14e3b4ec7c6b242cf07062dd40e82a17485a5' source_sha256 '691c194ee132d1f0f7a42541f091db811bc2e56f7107e9121be2bc8c04f1060f'
depends_on "acl" depends_on 'acl'
depends_on "attr" depends_on 'attr'
depends_on "lz4" depends_on 'lz4'
def self.build def self.build
system "./configure --prefix=/usr/local --disable-static" system "./configure --prefix=/usr/local --disable-static"
......
...@@ -5,7 +5,7 @@ class Libass < Package ...@@ -5,7 +5,7 @@ class Libass < Package
homepage 'https://github.com/libass/libass' homepage 'https://github.com/libass/libass'
version '0.13.6' version '0.13.6'
source_url 'https://github.com/libass/libass/archive/0.13.6.tar.gz' source_url 'https://github.com/libass/libass/archive/0.13.6.tar.gz'
source_sha1 '10fc35f8aba2a4a37aaed482a4184d144defb3d8' source_sha256 'de68288397d284a955061b3ecba67152cea74d8ace6222d987dd30091b1534b7'
depends_on 'automake' depends_on 'automake'
depends_on 'autoconf' depends_on 'autoconf'
......
...@@ -5,7 +5,7 @@ class Libassuan < Package ...@@ -5,7 +5,7 @@ class Libassuan < Package
homepage 'https://www.gnupg.org/related_software/libassuan/index.html' homepage 'https://www.gnupg.org/related_software/libassuan/index.html'
version '2.4.3' version '2.4.3'
source_url 'https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-2.4.3.tar.bz2' source_url 'https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-2.4.3.tar.bz2'
source_sha1 '27391cf4a820b5350ea789c30661830c9a271518' source_sha256 '22843a3bdb256f59be49842abf24da76700354293a066d82ade8134bb5aa2b71'
def self.build def self.build
system './configure --prefix=/usr/local' system './configure --prefix=/usr/local'
......
...@@ -5,7 +5,7 @@ class Libcap < Package ...@@ -5,7 +5,7 @@ class Libcap < Package
homepage 'https://directory.fsf.org/wiki/Libcap' homepage 'https://directory.fsf.org/wiki/Libcap'
version '2.25' version '2.25'
source_url 'https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.25.tar.xz' source_url 'https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.25.tar.xz'
source_sha1 'f0b102e4a68e1bbdcb6b143b63c34a250e473088' source_sha256 '693c8ac51e983ee678205571ef272439d83afe62dd8e424ea14ad9790bc35162'
def self.build def self.build
# change the path to ld # change the path to ld
......
...@@ -5,7 +5,7 @@ class Libedit < Package ...@@ -5,7 +5,7 @@ class Libedit < Package
homepage 'http://thrysoee.dk/editline/' homepage 'http://thrysoee.dk/editline/'
version '3.1' version '3.1'
source_url 'http://thrysoee.dk/editline/libedit-20160903-3.1.tar.gz' source_url 'http://thrysoee.dk/editline/libedit-20160903-3.1.tar.gz'
source_sha1 '55e327ee4661b13d20ebb411d790f2bb258271cf' source_sha256 '0ccbd2e7d46097f136fcb1aaa0d5bc24e23bb73f57d25bee5a852a683eaa7567'
def self.build def self.build
system './configure --prefix=/usr/local CPPFLAGS="-I/usr/local/include/ncurses"' system './configure --prefix=/usr/local CPPFLAGS="-I/usr/local/include/ncurses"'
......
...@@ -5,7 +5,7 @@ class Libevent < Package ...@@ -5,7 +5,7 @@ class Libevent < Package
homepage 'http://libevent.org/' homepage 'http://libevent.org/'
version '2.1.8' version '2.1.8'
source_url 'https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz' source_url 'https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz'
source_sha1 '2a1b8bb7a262d3fd0ed6a080a20991a6eed675ec' source_sha256 '965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2'
depends_on 'openssl' depends_on 'openssl'
def self.build def self.build
......
...@@ -5,7 +5,7 @@ class Libfdkaac < Package ...@@ -5,7 +5,7 @@ class Libfdkaac < Package
homepage 'https://github.com/mstorsjo/fdk-aac/' homepage 'https://github.com/mstorsjo/fdk-aac/'
version '0.1.5' version '0.1.5'
source_url 'https://github.com/mstorsjo/fdk-aac/archive/v0.1.5.tar.gz' source_url 'https://github.com/mstorsjo/fdk-aac/archive/v0.1.5.tar.gz'
source_sha1 '2894bd6d21066bfdf65a2f8cb6d2ca2dde597194' source_sha256 'ff53d1d01cacc29c071e23192dfefa93bdbeaf775fc5d296259b4859d0306b79'
depends_on 'automake' depends_on 'automake'
......
...@@ -5,10 +5,10 @@ class Libffi < Package ...@@ -5,10 +5,10 @@ class Libffi < Package
homepage 'https://sourceware.org/libffi/' homepage 'https://sourceware.org/libffi/'
version '3.2.1-2' version '3.2.1-2'
source_url 'ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz' source_url 'ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz'
source_sha1 '280c265b789e041c02e5c97815793dfc283fb1e6' source_sha256 'd06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37'
def self.build def self.build
system "./configure", "--enable-shared", "--disable-static", "--with-pic", "--disable-debug", "--disable-dependency-tracking" system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic", "--disable-debug", "--disable-dependency-tracking"
system "make" system "make"
end end
......
...@@ -5,7 +5,7 @@ class Libfrei0r < Package ...@@ -5,7 +5,7 @@ class Libfrei0r < Package
homepage 'https://frei0r.dyne.org/' homepage 'https://frei0r.dyne.org/'
version '1.6.0' version '1.6.0'
source_url 'https://github.com/dyne/frei0r/archive/v1.6.0.tar.gz' source_url 'https://github.com/dyne/frei0r/archive/v1.6.0.tar.gz'
source_sha1 'a8214add5828e20ff49239ed3a462acaa8c1ebb2' source_sha256 '63cae9d20d23b9d9e1ffb3fa053295914417c3e005194c077a0753d04636831c'
depends_on 'cmake' depends_on 'cmake'
......
...@@ -5,9 +5,9 @@ class Libgcrypt < Package ...@@ -5,9 +5,9 @@ class Libgcrypt < Package
homepage 'https://www.gnupg.org/related_software/libgcrypt/index.html' homepage 'https://www.gnupg.org/related_software/libgcrypt/index.html'
version '1.7.6' version '1.7.6'
source_url 'https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.7.6.tar.bz2' source_url 'https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.7.6.tar.bz2'
source_sha1 'd2b9e0f413064cfc67188f80d3cbda887c755a62' source_sha256 '626aafee84af9d2ce253d2c143dc1c0902dda045780cc241f39970fc60be05bc'
depends_on "libgpgerror" depends_on 'libgpgerror'
def self.build def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
......
...@@ -5,7 +5,7 @@ class Libgd < Package ...@@ -5,7 +5,7 @@ class Libgd < Package
homepage 'https://libgd.github.io/' homepage 'https://libgd.github.io/'
version '2.2.4' version '2.2.4'
source_url 'https://github.com/libgd/libgd/archive/gd-2.2.4.tar.gz' source_url 'https://github.com/libgd/libgd/archive/gd-2.2.4.tar.gz'
source_sha1 '630daec16fe06e4e916fd0fa8499c8fa5c0dcbca' source_sha256 'afdd50db677648cb9335b2dda10dd3a6700d97feb21fe802e6ee0f7065acd8c4'
depends_on 'cmake' depends_on 'cmake'
depends_on 'libpng' depends_on 'libpng'
......
...@@ -5,7 +5,7 @@ class Libgpgerror < Package ...@@ -5,7 +5,7 @@ class Libgpgerror < Package
homepage 'https://www.gnupg.org/related_software/libgpg-error/index.html' homepage 'https://www.gnupg.org/related_software/libgpg-error/index.html'
version '1.26' version '1.26'
source_url 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.26.tar.bz2' source_url 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.26.tar.bz2'
source_sha1 '9a926e7ee6309e539313443555535d49a2a5c9f1' source_sha256 '4c4bcbc90116932e3acd37b37812d8653b1b189c1904985898e860af818aee69'
def self.build def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
......
...@@ -5,7 +5,7 @@ class Libjpeg < Package ...@@ -5,7 +5,7 @@ class Libjpeg < Package
homepage 'http://www.ijg.org/' homepage 'http://www.ijg.org/'
version '9.1-1' version '9.1-1'
source_url 'http://www.ijg.org/files/jpegsrc.v9a.tar.gz' source_url 'http://www.ijg.org/files/jpegsrc.v9a.tar.gz'
source_sha1 'd65ed6f88d318f7380a3a5f75d578744e732daca' source_sha256 '3a753ea48d917945dd54a2d97de388aa06ca2eb1066cbfdc6652036349fe05a7'
def self.build def self.build
system "./configure --includedir=/usr/local/include CFLAGS=\" -fPIC\"" system "./configure --includedir=/usr/local/include CFLAGS=\" -fPIC\""
......
...@@ -5,7 +5,7 @@ class Libksba < Package ...@@ -5,7 +5,7 @@ class Libksba < Package
homepage 'https://www.gnupg.org/related_software/libksba/index.html' homepage 'https://www.gnupg.org/related_software/libksba/index.html'
version '1.3.5' version '1.3.5'
source_url 'https://www.gnupg.org/ftp/gcrypt/libksba/libksba-1.3.5.tar.bz2' source_url 'https://www.gnupg.org/ftp/gcrypt/libksba/libksba-1.3.5.tar.bz2'
source_sha1 'a98385734a0c3f5b713198e8d6e6e4aeb0b76fde' source_sha256 '41444fd7a6ff73a79ad9728f985e71c9ba8cd3e5e53358e70d5f066d35c1a340'
depends_on 'npth' depends_on 'npth'
......
...@@ -5,7 +5,7 @@ class Libmp3lame < Package ...@@ -5,7 +5,7 @@ class Libmp3lame < Package
homepage 'http://lame.sourceforge.net/' homepage 'http://lame.sourceforge.net/'
version '3.99.5' version '3.99.5'
source_url 'https://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz' source_url 'https://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz'
source_sha1 '03a0bfa85713adcc6b3383c12e2cc68a9cfbf4c4' source_sha256 '24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Libnl3 < Package ...@@ -5,7 +5,7 @@ class Libnl3 < Package
homepage 'http://www.infradead.org/~tgr/libnl/' homepage 'http://www.infradead.org/~tgr/libnl/'
version '3.2.25' version '3.2.25'
source_url 'http://www.infradead.org/~tgr/libnl/files/libnl-3.2.25.tar.gz' source_url 'http://www.infradead.org/~tgr/libnl/files/libnl-3.2.25.tar.gz'
source_sha1 'b7a4981f7edf7398256d35fd3c0b87bc84ae27d1' source_sha256 '8beb7590674957b931de6b7f81c530b85dc7c1ad8fbda015398bc1e8d1ce8ec5'
depends_on "buildessential" => :build depends_on "buildessential" => :build
depends_on "glibc" depends_on "glibc"
......
...@@ -5,7 +5,7 @@ class Libogg < Package ...@@ -5,7 +5,7 @@ class Libogg < Package
homepage 'https://xiph.org/ogg/' homepage 'https://xiph.org/ogg/'
version '1.3.1' version '1.3.1'
source_url 'http://downloads.xiph.org/releases/ogg/libogg-1.3.1.tar.xz' source_url 'http://downloads.xiph.org/releases/ogg/libogg-1.3.1.tar.xz'
source_sha1 'a4242415a7a9fd71f3092af9ff0b9fa630e4d7bd' source_sha256 '3a5bad78d81afb78908326d11761c0fb1a0662ee7150b6ad587cc586838cdcfa'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Libopencoreamr < Package ...@@ -5,7 +5,7 @@ class Libopencoreamr < Package
homepage 'https://sourceforge.net/projects/opencore-amr/' homepage 'https://sourceforge.net/projects/opencore-amr/'
version '0.1.5' version '0.1.5'
source_url 'https://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.5.tar.gz' source_url 'https://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.5.tar.gz'
source_sha1 'bef4d1e3a8a155b47569b6691a223843b33e279e' source_sha256 '2c006cb9d5f651bfb5e60156dbff6af3c9d35c7bbcc9015308c0aff1e14cd341'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Libopus < Package ...@@ -5,7 +5,7 @@ class Libopus < Package
homepage 'http://opus-codec.org/' homepage 'http://opus-codec.org/'
version '1.1.5' version '1.1.5'
source_url 'https://archive.mozilla.org/pub/opus/opus-1.1.5.tar.gz' source_url 'https://archive.mozilla.org/pub/opus/opus-1.1.5.tar.gz'
source_sha1 'fb6d55cf73059bd916790960c2eeffe83edabafe' source_sha256 'eb84981ca0f40a3e5d5e58d2e8582cb2fee05a022825a6dfe14d14b04eb563e4'
def self.build def self.build
system "./configure --prefix=/usr/local \ system "./configure --prefix=/usr/local \
......
...@@ -5,7 +5,7 @@ class Libpcap < Package ...@@ -5,7 +5,7 @@ class Libpcap < Package
homepage 'http://www.tcpdump.org/' homepage 'http://www.tcpdump.org/'
version '1.8.1' version '1.8.1'
source_url 'http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz' source_url 'http://www.tcpdump.org/release/libpcap-1.8.1.tar.gz'
source_sha1 '32d7526dde8f8a2f75baf40c01670602aeef7e39' source_sha256 '673dbc69fdc3f5a86fb5759ab19899039a8e5e6c631749e48dcd9c6f0c83541e'
depends_on "buildessential" depends_on "buildessential"
depends_on "bison" depends_on "bison"
......
...@@ -5,10 +5,10 @@ class Libpipeline < Package ...@@ -5,10 +5,10 @@ class Libpipeline < Package
homepage 'http://libpipeline.nongnu.org/' homepage 'http://libpipeline.nongnu.org/'
version '1.4.1-2' version '1.4.1-2'
source_url 'https://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.4.1.tar.gz' source_url 'https://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.4.1.tar.gz'
source_sha1 'b31cc955f22b1aa4545dc8d00ddbde831936594f' source_sha256 'da46d7b20163aadb9db2faae483f734e9096a7550c84b94029abeab62dd1b9ee'
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
......
...@@ -5,7 +5,7 @@ class Libpng < Package ...@@ -5,7 +5,7 @@ class Libpng < Package
homepage 'http://libpng.org/pub/png/libpng.html' homepage 'http://libpng.org/pub/png/libpng.html'
version '1.6.28' version '1.6.28'
source_url 'http://prdownloads.sourceforge.net/libpng/libpng-1.6.28.tar.gz' source_url 'http://prdownloads.sourceforge.net/libpng/libpng-1.6.28.tar.gz'
source_sha1 '004556d65f21baed83755f8e094112711e39ebae' source_sha256 'b6cec903e74e9fdd7b5bbcde0ab2415dd12f2f9e84d9e4d9ddd2ba26a41623b2'
def self.build def self.build
system "./configure CFLAGS=\" -fPIC\"" system "./configure CFLAGS=\" -fPIC\""
......
...@@ -5,7 +5,7 @@ class Libsdl < Package ...@@ -5,7 +5,7 @@ class Libsdl < Package
homepage 'http://www.libsdl.org/' homepage 'http://www.libsdl.org/'
version '1.2.15' version '1.2.15'
source_url 'http://www.libsdl.org/release/SDL-1.2.15.tar.gz' source_url 'http://www.libsdl.org/release/SDL-1.2.15.tar.gz'
source_sha1 '0c5f193ced810b0d7ce3ab06d808cbb5eef03a2c' source_sha256 'd6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Libsigsegv < Package ...@@ -5,7 +5,7 @@ class Libsigsegv < Package
homepage 'https://www.gnu.org/software/libsigsegv/' homepage 'https://www.gnu.org/software/libsigsegv/'
version '2.11' version '2.11'
source_url 'ftp://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.11.tar.gz' source_url 'ftp://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.11.tar.gz'
source_sha1 '186dea8ae788395476bd7cbaf38c17ebe82e1777' source_sha256 'dd7c2eb2ef6c47189406d562c1dc0f96f2fc808036834d596075d58377e37a18'
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 Libslz < Package ...@@ -5,7 +5,7 @@ class Libslz < Package
homepage 'https://github.com/haproxy/libslz' homepage 'https://github.com/haproxy/libslz'
version '1.1.0' version '1.1.0'
source_url 'http://git.1wt.eu/web?p=libslz.git;a=snapshot;h=afa04ae1f976957cf36287cc5370998d0559bc63;sf=tbz2' source_url 'http://git.1wt.eu/web?p=libslz.git;a=snapshot;h=afa04ae1f976957cf36287cc5370998d0559bc63;sf=tbz2'
source_sha1 '20d8a90c6a0949bfb15547ead0636e416366ac44' source_sha256 '45527de53bca42faad9ad4078893c5e9a633e15c86eb9b06218d5b97e12f2096'
def self.build def self.build
system "make PREFIX=/usr/local" system "make PREFIX=/usr/local"
......
...@@ -5,7 +5,7 @@ class Libsoxr < Package ...@@ -5,7 +5,7 @@ class Libsoxr < Package
homepage 'https://sourceforge.net/projects/soxr/' homepage 'https://sourceforge.net/projects/soxr/'
version '0.1.2' version '0.1.2'
source_url 'https://sourceforge.net/projects/soxr/files/soxr-0.1.2-Source.tar.xz' source_url 'https://sourceforge.net/projects/soxr/files/soxr-0.1.2-Source.tar.xz'
source_sha1 '3b990f91dc8dc08e70626cd5fb90deda0239c211' source_sha256 '54e6f434f1c491388cd92f0e3c47f1ade082cc24327bdc43762f7d1eefe0c275'
depends_on 'cmake' depends_on 'cmake'
......
...@@ -5,7 +5,7 @@ class Libsqlite3 < Package ...@@ -5,7 +5,7 @@ class Libsqlite3 < Package
homepage 'https://github.com/LuaDist/libsqlite3' homepage 'https://github.com/LuaDist/libsqlite3'
version '3.7.7.1' version '3.7.7.1'
source_url 'https://github.com/LuaDist/libsqlite3/archive/3.7.7.1.tar.gz' source_url 'https://github.com/LuaDist/libsqlite3/archive/3.7.7.1.tar.gz'
source_sha1 '43a8eaad04a2220e9ede5764da8edba4003ad33a' source_sha256 'b1eb700a46a7429a1a587fadd31e8ef5a3fd84bb6a75b898715baf71fedc412e'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,14 +5,15 @@ class Libssh2 < Package ...@@ -5,14 +5,15 @@ class Libssh2 < Package
homepage 'https://www.libssh2.org/' homepage 'https://www.libssh2.org/'
version '1.8.0' version '1.8.0'
source_url 'https://www.libssh2.org/download/libssh2-1.8.0.tar.gz' source_url 'https://www.libssh2.org/download/libssh2-1.8.0.tar.gz'
source_sha1 'baf2d1fb338eee531ba9b6b121c64235e089e0f5' source_sha256 '39f34e2f6835f4b992cafe8625073a88e5a28ba78f83e8099610a7b3af4676d4'
depends_on 'openssl' => :build depends_on 'openssl' => :build
depends_on 'zlibpkg' => :build depends_on 'zlibpkg' => :build
def self.build def self.build
system "./configure", "--with-zlib", "--with-openssl", "--with-pic", "--disable-static" system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--with-zlib", "--with-openssl", "--with-pic", "--disable-static"
system "make" system "make"
system "find . -name '*.so.*' -print | xargs strip -S"
end end
def self.install def self.install
......
...@@ -5,7 +5,7 @@ class Libtasn1 < Package ...@@ -5,7 +5,7 @@ class Libtasn1 < Package
homepage 'https://www.gnu.org/software/libtasn1/' homepage 'https://www.gnu.org/software/libtasn1/'
version '4.10-1' version '4.10-1'
source_url 'http://ftpmirror.gnu.org/libtasn1/libtasn1-4.10.tar.gz' source_url 'http://ftpmirror.gnu.org/libtasn1/libtasn1-4.10.tar.gz'
source_sha1 'c7b36fa50866bbc889f7503c7fd1e9f9d7c52a64' source_sha256 '681a4d9a0d259f2125713f2e5766c5809f151b3a1392fd91390f780b4b8f5a02'
# bison, diff, cmp are required at compile-time # bison, diff, cmp are required at compile-time
depends_on 'buildessential' => :build depends_on 'buildessential' => :build
......
...@@ -5,7 +5,7 @@ class Libtheora < Package ...@@ -5,7 +5,7 @@ class Libtheora < Package
homepage 'https://theora.org/' homepage 'https://theora.org/'
version '1.1.1' version '1.1.1'
source_url 'http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2' source_url 'http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2'
source_sha1 '8dcaa8e61cd86eb1244467c0b64b9ddac04ae262' source_sha256 'b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc'
depends_on 'libvorbis' depends_on 'libvorbis'
depends_on 'libsdl' depends_on 'libsdl'
......
...@@ -5,7 +5,7 @@ class Libtiff < Package ...@@ -5,7 +5,7 @@ class Libtiff < Package
homepage 'http://www.libtiff.org/' homepage 'http://www.libtiff.org/'
version '4.0.7-1' version '4.0.7-1'
source_url 'ftp://download.osgeo.org/libtiff/tiff-4.0.7.tar.gz' source_url 'ftp://download.osgeo.org/libtiff/tiff-4.0.7.tar.gz'
source_sha1 '2c1b64478e88f93522a42dd5271214a0e5eae648' source_sha256 '9f43a2cfb9589e5cecaa66e16bf87f814c945f22df7ba600d63aac4632c4f019'
def self.build def self.build
system "./configure CFLAGS=\" -fPIC\"" system "./configure CFLAGS=\" -fPIC\""
......
...@@ -5,7 +5,7 @@ class Libtool < Package ...@@ -5,7 +5,7 @@ class Libtool < Package
homepage 'https://www.gnu.org/software/libtool/' homepage 'https://www.gnu.org/software/libtool/'
version '2.4.6' version '2.4.6'
source_url 'https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz' source_url 'https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz'
source_sha1 '25b6931265230a06f0fc2146df64c04e5ae6ec33' source_sha256 'e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3'
depends_on 'buildessential' depends_on 'buildessential'
......
...@@ -5,7 +5,7 @@ class Libunbound < Package ...@@ -5,7 +5,7 @@ class Libunbound < Package
homepage 'https://www.unbound.net/' homepage 'https://www.unbound.net/'
version '1.6.2' version '1.6.2'
source_url 'https://www.unbound.net/downloads/unbound-1.6.2.tar.gz' source_url 'https://www.unbound.net/downloads/unbound-1.6.2.tar.gz'
source_sha1 'de370b1ac8e260db9c4c1504453752713dd8818f' source_sha256 '1a323d72c32180b7141c9e6ebf199fc68a0208dfebad4640cd2c4c27235e3b9c'
depends_on 'flex' => :build depends_on 'flex' => :build
depends_on 'bison' => :build depends_on 'bison' => :build
...@@ -13,7 +13,7 @@ class Libunbound < Package ...@@ -13,7 +13,7 @@ class Libunbound < Package
depends_on 'expat' depends_on 'expat'
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"
# flex 2.6.3 requires -P option to rename yylex and other funcions # flex 2.6.3 requires -P option to rename yylex and other funcions
system "sed", "-i", "Makefile", "-e", '/$(LEX) -t $(srcdir)\/util\/configlexer.lex/s:-t:-t -Pub_c_:' system "sed", "-i", "Makefile", "-e", '/$(LEX) -t $(srcdir)\/util\/configlexer.lex/s:-t:-t -Pub_c_:'
......
...@@ -5,9 +5,9 @@ class Libunistring < Package ...@@ -5,9 +5,9 @@ class Libunistring < Package
homepage 'https://www.gnu.org/software/libunistring/' homepage 'https://www.gnu.org/software/libunistring/'
version '0.9.7' version '0.9.7'
source_url 'http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.7.tar.xz' source_url 'http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.7.tar.xz'
source_sha1 '7d92687a50fea7702e8052486dfa25ffc361c9f3' source_sha256 '2e3764512aaf2ce598af5a38818c0ea23dedf1ff5460070d1b6cee5c3336e797'
depends_on "glibc" depends_on 'glibc'
def self.build def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
......
...@@ -5,7 +5,7 @@ class Libunwind < Package ...@@ -5,7 +5,7 @@ class Libunwind < Package
homepage 'http://www.nongnu.org/libunwind/' homepage 'http://www.nongnu.org/libunwind/'
version '1.2' version '1.2'
source_url 'http://download.savannah.gnu.org/releases/libunwind/libunwind-1.2.tar.gz' source_url 'http://download.savannah.gnu.org/releases/libunwind/libunwind-1.2.tar.gz'
source_sha1 'a33e52d7ecd18b9375508369b566eeb2cc6eec3b' source_sha256 '1de38ffbdc88bd694d10081865871cd2bfbb02ad8ef9e1606aee18d65532b992'
depends_on 'buildessential' => :build depends_on 'buildessential' => :build
depends_on 'openssl' => :build depends_on 'openssl' => :build
......
...@@ -5,7 +5,7 @@ class Libuv < Package ...@@ -5,7 +5,7 @@ class Libuv < Package
homepage 'http://libuv.org/' homepage 'http://libuv.org/'
version '1.9.1' version '1.9.1'
source_url 'http://dist.libuv.org/dist/v1.9.1/libuv-v1.9.1.tar.gz' source_url 'http://dist.libuv.org/dist/v1.9.1/libuv-v1.9.1.tar.gz'
source_sha1 '668d636372e3276aecc6082082a86f86ddb67877' source_sha256 'e83953782c916d7822ef0b94e8115ce5756fab5300cca173f0de5f5b0e0ae928'
depends_on 'glibc' depends_on 'glibc'
......
...@@ -5,7 +5,7 @@ class Libvoamrwbenc < Package ...@@ -5,7 +5,7 @@ class Libvoamrwbenc < Package
homepage 'https://sourceforge.net/projects/opencore-amr/' homepage 'https://sourceforge.net/projects/opencore-amr/'
version '0.1.3' version '0.1.3'
source_url 'https://downloads.sourceforge.net/project/opencore-amr/vo-amrwbenc/vo-amrwbenc-0.1.3.tar.gz' source_url 'https://downloads.sourceforge.net/project/opencore-amr/vo-amrwbenc/vo-amrwbenc-0.1.3.tar.gz'
source_sha1 '427a147a378d258614d5d470f1f222e249535be7' source_sha256 '5652b391e0f0e296417b841b02987d3fd33e6c0af342c69542cbb016a71d9d4e'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Libvorbis < Package ...@@ -5,7 +5,7 @@ class Libvorbis < Package
homepage 'https://xiph.org/vorbis/' homepage 'https://xiph.org/vorbis/'
version '1.3.3' version '1.3.3'
source_url 'http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.3.tar.xz' source_url 'http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.3.tar.xz'
source_sha1 '31d1a0ec4815bf1ee638b0f2850f03efcd48022a' source_sha256 '834c7d35a5ebf4e7b8ab60b0979f2b7f204ca66ff6829728e9d2a67f15347ebd'
depends_on 'libogg' depends_on 'libogg'
......
...@@ -5,7 +5,7 @@ class Libwebp < Package ...@@ -5,7 +5,7 @@ class Libwebp < Package
homepage 'https://developers.google.com/speed/webp/' homepage 'https://developers.google.com/speed/webp/'
version '0.6.0' version '0.6.0'
source_url 'https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-0.6.0.tar.gz' source_url 'https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-0.6.0.tar.gz'
source_sha1 '156d24fff454bfccd1f44434e226a10d9eb38186' source_sha256 'c928119229d4f8f35e20113ffb61f281eda267634a8dc2285af4b0ee27cf2b40'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Libx264 < Package ...@@ -5,7 +5,7 @@ class Libx264 < Package
homepage 'http://www.videolan.org/developers/x264.html' homepage 'http://www.videolan.org/developers/x264.html'
version '20170604-2245-stable' version '20170604-2245-stable'
source_url 'http://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20170604-2245-stable.tar.bz2' source_url 'http://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20170604-2245-stable.tar.bz2'
source_sha1 '8003044b45010b1b4b40ac3dd8be98d80c888ece' source_sha256 '42fa7cc6af0af36e4a8286ce724e6d20de0967d9017640883e955b4b6d3690ac'
depends_on 'yasm' depends_on 'yasm'
......
...@@ -5,7 +5,7 @@ class Libx265 < Package ...@@ -5,7 +5,7 @@ class Libx265 < Package
homepage 'http://x265.org/' homepage 'http://x265.org/'
version '2.4' version '2.4'
source_url 'https://bitbucket.org/multicoreware/x265/downloads/x265_2.4.tar.gz' source_url 'https://bitbucket.org/multicoreware/x265/downloads/x265_2.4.tar.gz'
source_sha1 'f8bfb348defa86fbfdce4dcc1d0c48c855e0e987' source_sha256 '9c2aa718d78f6fecdd783f08ab83b98d3169e5f670404da4c16439306907d729'
depends_on 'cmake' depends_on 'cmake'
depends_on 'yasm' depends_on 'yasm'
......
...@@ -5,10 +5,10 @@ class Libxml2 < Package ...@@ -5,10 +5,10 @@ class Libxml2 < Package
homepage 'http://xmlsoft.org/' homepage 'http://xmlsoft.org/'
version '2.9.4' version '2.9.4'
source_url 'ftp://xmlsoft.org/libxml2/libxml2-2.9.4.tar.gz' source_url 'ftp://xmlsoft.org/libxml2/libxml2-2.9.4.tar.gz'
source_sha1 '958ae70baf186263a4bd801a81dd5d682aedd1db' source_sha256 'ffb911191e509b966deb55de705387f14156e1a56b21824357cdf0053233633c'
def self.build def self.build
system "./configure", "--enable-shared", "--disable-static", "--with-pic", "--without-python" system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic", "--without-python"
system "make" system "make"
end end
......
...@@ -5,7 +5,7 @@ class Libxslt < Package ...@@ -5,7 +5,7 @@ class Libxslt < Package
homepage 'http://xmlsoft.org/libxslt/' homepage 'http://xmlsoft.org/libxslt/'
version '1.1.28-1' version '1.1.28-1'
source_url 'http://xmlsoft.org/sources/libxslt-1.1.28.tar.gz' source_url 'http://xmlsoft.org/sources/libxslt-1.1.28.tar.gz'
source_sha1 '4df177de629b2653db322bfb891afa3c0d1fa221' source_sha256 '5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c'
def self.build def self.build
system "./configure CFLAGS=\" -fPIC\" --without-python" system "./configure CFLAGS=\" -fPIC\" --without-python"
......
...@@ -5,7 +5,7 @@ class Libxvid < Package ...@@ -5,7 +5,7 @@ class Libxvid < Package
homepage 'https://www.xvid.com/' homepage 'https://www.xvid.com/'
version '1.3.4' version '1.3.4'
source_url 'http://downloads.xvid.org/downloads/xvidcore-1.3.4.tar.gz' source_url 'http://downloads.xvid.org/downloads/xvidcore-1.3.4.tar.gz'
source_sha1 'd8f58e35ec325ebd7de9a28440b725a40ea49dae' source_sha256 '4e9fd62728885855bc5007fe1be58df42e5e274497591fec37249e1052ae316f'
depends_on 'yasm' depends_on 'yasm'
......
...@@ -5,9 +5,9 @@ class Links < Package ...@@ -5,9 +5,9 @@ class Links < Package
homepage 'http://www.jikos.cz/~mikulas/links/' homepage 'http://www.jikos.cz/~mikulas/links/'
version '1.03' version '1.03'
source_url 'http://www.jikos.cz/~mikulas/links/download/links-1.03.tar.gz' source_url 'http://www.jikos.cz/~mikulas/links/download/links-1.03.tar.gz'
source_sha1 '659b2492c97a1416855d3e0f5a5f18aed5160b8a' source_sha256 '32443c6f011216a8a43ed0806d9d23c1defdd19bc4b021ee00cda197782e175a'
depends_on "openssl" depends_on 'openssl'
def self.build def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
......
...@@ -10,10 +10,10 @@ class Linuxheaders < Package ...@@ -10,10 +10,10 @@ class Linuxheaders < Package
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/linux-headers-3.18-chromeos-i686.tar.xz', i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/linux-headers-3.18-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/linux-headers-3.18-chromeos-x86_64.tar.xz', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/linux-headers-3.18-chromeos-x86_64.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: '783acca9a3afe6c77ecd93f10930c779c3d625a5', aarch64: 'd36e27d2edd0819e37b7b95b7d77d42e3f256e7b4bb845325f394b28d6487b4f',
armv7l: '783acca9a3afe6c77ecd93f10930c779c3d625a5', armv7l: 'd36e27d2edd0819e37b7b95b7d77d42e3f256e7b4bb845325f394b28d6487b4f',
i686: '965234573d99c99926feb759cdf6e4a70e97c6a0', i686: 'fd44ecb2f021cf8ced4e46b1579a0f1a27bc553f41a077745394056afaa3d808',
x86_64: '87a6f22e6f92614279eba518d6e00432c09d8671', x86_64: 'cf8f4db6a406ef2d59701902d5981dd864a834ced50e9832d6856174e4271f7d',
}) })
end end
...@@ -5,11 +5,11 @@ class Lldb < Package ...@@ -5,11 +5,11 @@ class Lldb < Package
homepage 'http://lldb.llvm.org/' homepage 'http://lldb.llvm.org/'
version '3.6' version '3.6'
binary_url ({ binary_url ({
i686: "https://www.dropbox.com/s/bls4hv4z8m2ifsc/lldb-3.6-i386.tar.gz?dl=0", i686: 'https://www.dropbox.com/s/bls4hv4z8m2ifsc/lldb-3.6-i386.tar.gz?dl=0',
x86_64: "https://www.dropbox.com/s/zi3rzdmz2awu8u8/lldb-3.6-64x.tar.gz?dl=0" x86_64: 'https://www.dropbox.com/s/zi3rzdmz2awu8u8/lldb-3.6-64x.tar.gz?dl=0'
}) })
binary_sha1 ({ binary_sha256 ({
i686: "de6ca73c1bcc0d72db81d14cd4e31b8f479e12e8", i686: '7bdb9d0078aa0a6bd1d56df24e076a007a80274dbd0870b7d81a4a9767da49b2',
x86_64: "6265cacf22b191e22a439019b4a2eb0ef7df3813" x86_64: 'ac81a42662a1fde6b6a0dfb9e81be93deefc4ef78f80e67114dfc6fcaf65f4fa'
}) })
end end
...@@ -5,7 +5,7 @@ class Llvm < Package ...@@ -5,7 +5,7 @@ class Llvm < Package
homepage 'http://llvm.org/' homepage 'http://llvm.org/'
version '3.8.1-1' version '3.8.1-1'
source_url 'http://llvm.org/releases/3.8.1/llvm-3.8.1.src.tar.xz' source_url 'http://llvm.org/releases/3.8.1/llvm-3.8.1.src.tar.xz'
source_sha1 'e0c48c4c182424b99999367d688cd8ce7876827b' source_sha256 '6e82ce4adb54ff3afc18053d6981b6aed1406751b8742582ed50f04b5ab475f9'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'cmake' depends_on 'cmake'
......
require 'package'
class Lsb_release < Package
description 'Linux Standard Base'
homepage 'https://wiki.linuxfoundation.org/lsb/start'
version '1.4'
source_url 'https://downloads.sourceforge.net/project/lsb/lsb_release/1.4/lsb-release-1.4.tar.gz'
source_sha256 '99321288f8d62e7a1d485b7c6bdccf06766fb8ca603c6195806e4457fdf17172'
depends_on 'help2man'
def self.build
system "cp /etc/lsb-release /tmp"
system 'STR=$(grep ^CHROMEOS_RELEASE_NAME= /tmp/lsb-release | cut -d= -f2) && sed -i "s,$STR,\'&\'," /tmp/lsb-release'
system 'STR=$(grep ^CHROMEOS_RELEASE_BUILD_TYPE= /tmp/lsb-release | cut -d= -f2) && sed -i "s,$STR$,\'&\'," /tmp/lsb-release'
system 'STR=$(grep ^CHROMEOS_RELEASE_DESCRIPTION= /tmp/lsb-release | cut -d= -f2) && sed -i "s,$STR,\'&\'," /tmp/lsb-release'
system "sed -i 's,INFO_ROOT=\"/etc\",INFO_ROOT=\"/usr/local/etc\",' lsb_release"
system "sed -i 's,LSB_VERSION=\$MSG_NA,LSB_VERSION=1.4,' lsb_release"
system "sed -i 's,DISTRIB_ID,CHROMEOS_RELEASE_NAME,g' lsb_release"
system "sed -i 's,DISTRIB_DESCRIPTION,CHROMEOS_RELEASE_DESCRIPTION,g' lsb_release"
system "sed -i 's,DISTRIB_RELEASE,CHROMEOS_RELEASE_VERSION,g' lsb_release"
system "sed -i 's,DISTRIB_CODENAME,CHROMEOS_RELEASE_BOARD,g' lsb_release"
system "sed -i 's,echo -e,echo,g' lsb_release"
system "sed -i 's,--include,-i,' Makefile"
system "sed -i 's,./help2man,help2man,' Makefile"
system "sed -i 's,--alt_version_key=program_version ,,' Makefile"
system 'make'
end
def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/etc"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/man/man1"
system "cp lsb_release #{CREW_DEST_DIR}/usr/local/bin"
system "cp /tmp/lsb-release #{CREW_DEST_DIR}/usr/local/etc"
system "cp lsb_release.1.gz #{CREW_DEST_DIR}/usr/local/man/man1"
end
end
...@@ -5,7 +5,7 @@ class Lshw < Package ...@@ -5,7 +5,7 @@ class Lshw < Package
homepage 'https://www.ezix.org/project/wiki/HardwareLiSter' homepage 'https://www.ezix.org/project/wiki/HardwareLiSter'
version 'B.02.18' version 'B.02.18'
source_url 'http://www.ezix.org/software/files/lshw-B.02.18.tar.gz' source_url 'http://www.ezix.org/software/files/lshw-B.02.18.tar.gz'
source_sha1 'c0240f5e53cf40769d52e316719e8010ea6bdea3' source_sha256 'ae22ef11c934364be4fd2a0a1a7aadf4495a0251ec6979da280d342a89ca3c2f'
def self.build def self.build
system "cd lshw-*/src; PREFIX=/usr/local make" system "cd lshw-*/src; PREFIX=/usr/local make"
......
...@@ -5,7 +5,7 @@ class Lua < Package ...@@ -5,7 +5,7 @@ class Lua < Package
homepage 'https://www.lua.org/' homepage 'https://www.lua.org/'
version '5.3.4' version '5.3.4'
source_url 'https://www.lua.org/ftp/lua-5.3.4.tar.gz' source_url 'https://www.lua.org/ftp/lua-5.3.4.tar.gz'
source_sha1 '79790cfd40e09ba796b01a571d4d63b52b1cd950' source_sha256 'f681aa518233bc407e23acf0f5887c884f17436f000d453b2491a9f11a52400c'
depends_on 'readline' depends_on 'readline'
depends_on 'ncurses' depends_on 'ncurses'
......
...@@ -5,7 +5,7 @@ class Lz4 < Package ...@@ -5,7 +5,7 @@ class Lz4 < Package
homepage 'http://lz4.github.io/lz4/' homepage 'http://lz4.github.io/lz4/'
version '1.7.5' version '1.7.5'
source_url 'https://github.com/lz4/lz4/archive/v1.7.5.tar.gz' source_url 'https://github.com/lz4/lz4/archive/v1.7.5.tar.gz'
source_sha1 'a710a7d45beb0951806d2b98f0c1739107e97c14' source_sha256 '0190cacd63022ccb86f44fa5041dc6c3804407ad61550ca21c382827319e7e7e'
def self.build def self.build
if `uname -m`.strip == "x86_64" if `uname -m`.strip == "x86_64"
......
...@@ -5,7 +5,7 @@ class Lzip < Package ...@@ -5,7 +5,7 @@ class Lzip < Package
homepage 'http://www.nongnu.org/lzip/lzip.html' homepage 'http://www.nongnu.org/lzip/lzip.html'
version '1.19-1' version '1.19-1'
source_url 'http://download.savannah.gnu.org/releases/lzip/lzip-1.19.tar.gz' source_url 'http://download.savannah.gnu.org/releases/lzip/lzip-1.19.tar.gz'
source_sha1 'c6042a786b69e3209112fa991806e2e7e0ba5f07' source_sha256 'ffadc4f56be1bc0d3ae155ec4527bd003133bdc703a753b2cc683f610e646ba9'
def self.build def self.build
# default -O2 cause run-time segmentation fault on armv7l # default -O2 cause run-time segmentation fault on armv7l
......
...@@ -5,7 +5,7 @@ class M4 < Package ...@@ -5,7 +5,7 @@ class M4 < Package
homepage 'https://www.gnu.org/software/m4/' homepage 'https://www.gnu.org/software/m4/'
version '1.4.18' version '1.4.18'
source_url 'https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.xz' source_url 'https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.xz'
source_sha1 '228604686ca23f42e48b98930babeb5d217f1899' source_sha256 'f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07'
depends_on 'libsigsegv' depends_on 'libsigsegv'
......
...@@ -5,7 +5,7 @@ class Make < Package ...@@ -5,7 +5,7 @@ class Make < Package
homepage 'https://www.gnu.org/software/make/' homepage 'https://www.gnu.org/software/make/'
version '4.2' version '4.2'
source_url 'ftp://ftp.gnu.org/gnu/make/make-4.2.tar.bz2' source_url 'ftp://ftp.gnu.org/gnu/make/make-4.2.tar.bz2'
source_sha1 'd78b84a219b4c16593544f541dff7eb765ce3d74' source_sha256 '4e5ce3b62fe5d75ff8db92b7f6df91e476d10c3aceebf1639796dc5bfece655f'
depends_on 'gcc' => :build depends_on 'gcc' => :build
depends_on 'linuxheaders' => :build depends_on 'linuxheaders' => :build
......
...@@ -3,9 +3,9 @@ require 'package' ...@@ -3,9 +3,9 @@ require 'package'
class Mandb < Package class Mandb < Package
description 'mandb is used to initialise or manually update index database caches that are usually maintained by man.' description 'mandb is used to initialise or manually update index database caches that are usually maintained by man.'
homepage 'http://savannah.nongnu.org/projects/man-db' homepage 'http://savannah.nongnu.org/projects/man-db'
version '2.7.6.1' version '2.7.6.1-1'
source_url 'http://download.savannah.gnu.org/releases/man-db/man-db-2.7.6.1.tar.xz' source_url 'http://download.savannah.gnu.org/releases/man-db/man-db-2.7.6.1.tar.xz'
source_sha1 '919dcb34d604faac9b18a38ead07f457d0dab501' source_sha256 '08edbc52f24aca3eebac429b5444efd48b9b90b9b84ca0ed5507e5c13ed10f3f'
depends_on 'less' depends_on 'less'
depends_on 'libpipeline' depends_on 'libpipeline'
...@@ -13,6 +13,7 @@ class Mandb < Package ...@@ -13,6 +13,7 @@ class Mandb < Package
depends_on 'groff' depends_on 'groff'
depends_on 'pkgconfig' depends_on 'pkgconfig'
depends_on 'readline' depends_on 'readline'
depends_on 'zlibpkg'
def self.build def self.build
system './configure', system './configure',
...@@ -23,12 +24,30 @@ class Mandb < Package ...@@ -23,12 +24,30 @@ class Mandb < Package
end end
def self.install def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local/cache/man"
system "sed -i 's,/var/cache/man,/usr/local/cache/man,g' include/manconfig.h.in"
system "sed -i 's,/var/cache/man,/usr/local/cache/man,g' src/manp.c"
system "sed -i 's,/var/cache/man,/usr/local/cache/man,g' src/tests/mandb-7"
system "sed -i 's,/var/cache/man,/usr/local/cache/man,g' src/man_db.conf.in"
system "sed -i 's,/var/cache/man,/usr/local/cache/man,g' init/systemd/man-db.conf"
system "sed -i 's,/var/cache/man,/usr/local/cache/man,g' manual/db.me"
system "sed -i 's,/var/cache/man,/usr/local/cache/man,g' manual/files.me"
system "sed -i 's,/var/cache/man,/usr/local/cache/man,g' man/man1/whatis.man1"
system "sed -i 's,/var/cache/man,/usr/local/cache/man,g' man/man1/apropos.man1"
system "sed -i 's,/var/cache/man,/usr/local/cache/man,g' man/man1/man.man1"
system "sed -i 's,/var/cache/man,/usr/local/cache/man,g' man/man8/accessdb.man8"
system "sed -i 's,/var/cache/man,/usr/local/cache/man,g' man/man8/mandb.man8"
system "sed -i 's,/usr/share/man,/usr/local/share/man,g' tools/chconfig"
system "sed -i 's,/var/cache/man,/usr/local/cache/man,g' tools/chconfig"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
puts "" puts ""
puts "You will have to change the default PAGER environment variable to be able to use mandb:" puts "You will have to change the default PAGER environment variable to be able to use mandb:".lightblue
puts "echo \"export PAGER=/usr/local/bin/less\" >> ~/.bashrc && . ~/.bashrc" puts "echo \"export PAGER=/usr/local/bin/less\" >> ~/.bashrc && . ~/.bashrc".lightblue
puts ""
puts "You will also have to set the MANPATH environment variable:".lightblue
puts "echo \"export MANPATH=/usr/local/man:$MANPATH\" >> ~/.bashrc && . ~/.bashrc".lightblue
puts ""
puts "To create the man databases and get apropos working, type 'mandb -c'.".lightblue
puts "" puts ""
puts "You will also have to set the MANPATH environment variable:"
puts "echo \"export MANPATH=/usr/local/man:$MANPATH\" >> ~/.bashrc && . ~/.bashrc"
end end
end end
...@@ -5,7 +5,7 @@ class Mapserver < Package ...@@ -5,7 +5,7 @@ class Mapserver < Package
homepage 'http://mapserver.org/' homepage 'http://mapserver.org/'
version '7.0.4' version '7.0.4'
source_url 'http://download.osgeo.org/mapserver/mapserver-7.0.4.tar.gz' source_url 'http://download.osgeo.org/mapserver/mapserver-7.0.4.tar.gz'
source_sha1 '8fb13c27da5902e6d9ad50f3eba550bd90750607' source_sha256 'c91d40da5cc242b20ca7e29c41bd9eb23097b98a77908b1d708e9708f6f6cf69'
depends_on 'cmake' depends_on 'cmake'
depends_on 'freetype' depends_on 'freetype'
......
...@@ -5,7 +5,7 @@ class Memcached < Package ...@@ -5,7 +5,7 @@ class Memcached < Package
homepage 'https://memcached.org/' homepage 'https://memcached.org/'
version '1.4.34' version '1.4.34'
source_url 'https://memcached.org/files/memcached-1.4.34.tar.gz' source_url 'https://memcached.org/files/memcached-1.4.34.tar.gz'
source_sha1 '7c7214f5183c6e20c22b243e21ed1ffddb91497e' source_sha256 '5064c87f91a37d822dfeab8768490c55fe686a742f07f67c7121101e48d87c79'
depends_on 'libevent' depends_on 'libevent'
......
...@@ -5,7 +5,7 @@ class Mercurial < Package ...@@ -5,7 +5,7 @@ class Mercurial < Package
homepage 'https://www.mercurial-scm.org/' homepage 'https://www.mercurial-scm.org/'
version '4.1' version '4.1'
source_url 'https://www.mercurial-scm.org/release/mercurial-4.1.tar.gz' source_url 'https://www.mercurial-scm.org/release/mercurial-4.1.tar.gz'
source_sha1 'd5f88e05cbbd8f13dd5fc4004433f54435fc27c8' source_sha256 '7b33c32cdd1d518bc2e2ae223e6ef63c486cf52e9d01a45b99cf8eab7bea5274'
# what's the best route for adding a minimum version symbol as a constraint? # what's the best route for adding a minimum version symbol as a constraint?
depends_on "python27" depends_on "python27"
...@@ -16,7 +16,7 @@ class Mercurial < Package ...@@ -16,7 +16,7 @@ class Mercurial < Package
abort '[!] python 2.7.13 or higher is required for tig, please run `crew upgrade python27` first.' unless py_ver > '2.7.12' abort '[!] python 2.7.13 or higher is required for tig, please run `crew upgrade python27` first.' unless py_ver > '2.7.12'
if !%x[pip list | grep docutils].include? "docutils" if !%x[pip list | grep docutils].include? "docutils"
puts "Installing docutils dependency..." puts "Installing docutils dependency..."
system "sudo", "pip", "install", "docutils" system "pip", "install", "docutils"
end end
system "make", "PREFIX=/usr/local", "all" system "make", "PREFIX=/usr/local", "all"
end end
...@@ -26,7 +26,7 @@ class Mercurial < Package ...@@ -26,7 +26,7 @@ class Mercurial < Package
puts "------------------" puts "------------------"
puts "Installation success!" puts "Installation success!"
puts "Cleaning up dependencies only required for build..." puts "Cleaning up dependencies only required for build..."
system "sudo", "pip", "uninstall", "docutils" system "pip", "uninstall", "docutils"
puts puts
puts "To begin using mercurial you'll need to configure it." puts "To begin using mercurial you'll need to configure it."
puts puts
......
require 'package'
class Misctools < Package
description 'The misctools package is a collection of small but useful utilities.'
homepage 'http://www.hyperrealm.com/main.php?s=misctools'
version '2.5.5'
source_url 'http://www.hyperrealm.com/misctools/misctools-2.5.5.tar.bz2'
source_sha256 '4eb5913566da3e243ebd9cab499f927a2d46a2191baa51b810214f83eebb3ae9'
depends_on 'cbase'
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
...@@ -5,12 +5,12 @@ class Mlocate < Package ...@@ -5,12 +5,12 @@ class Mlocate < Package
homepage 'https://pagure.io/mlocate' homepage 'https://pagure.io/mlocate'
version '0.26-1' version '0.26-1'
source_url 'https://releases.pagure.org/mlocate/mlocate-0.26.tar.xz' source_url 'https://releases.pagure.org/mlocate/mlocate-0.26.tar.xz'
source_sha1 'c6e6d81b25359c51c545f4b8ba0f3b469227fcbc' source_sha256 '3063df79fe198fb9618e180c54baf3105b33d88fe602ff2d8570aaf944f1263e'
def self.build def self.build
system "mkdir -p /usr/local/db/mlocate" system "mkdir -p /usr/local/db/mlocate"
system "sed -i 's,\$(localstatedir)/,/usr/local/db/,g' Makefile.*" system "sed -i 's,\$(localstatedir)/,/usr/local/db/,g' Makefile.*"
system "sed -i \"s/groupname = mlocate/groupname = $(whoami)/g\" Makefile.*" system "sed -i \"s/groupname = mlocate/groupname = #{USER}/g\" Makefile.*"
system "./configure" system "./configure"
system "make" system "make"
end end
......
...@@ -5,11 +5,11 @@ class Mongodb < Package ...@@ -5,11 +5,11 @@ class Mongodb < Package
homepage 'https://www.mongodb.com/' homepage 'https://www.mongodb.com/'
version '3.0.8' version '3.0.8'
binary_url ({ binary_url ({
i686: "https://www.dropbox.com/s/n32v3h34jswxhg7/mongodb-linux-i686-3.0.8.tar.gz?dl=0", i686: 'https://www.dropbox.com/s/n32v3h34jswxhg7/mongodb-linux-i686-3.0.8.tar.gz?dl=0',
x86_64: "https://www.dropbox.com/s/two0chqyim5eo4a/mongodb-linux-x86_64-3.0.8.tar.gz?dl=0" x86_64: 'https://www.dropbox.com/s/two0chqyim5eo4a/mongodb-linux-x86_64-3.0.8.tar.gz?dl=0'
}) })
binary_sha1 ({ binary_sha256 ({
i686: "71fd4324ce91352416eea83149432b953928306e", i686: 'e4b837c7213d08b528c675710dbd3fb3d5cf761929d0d89d27232fe7609549a3',
x86_64: "fdbf8ad9207dc5fd31af0113e9c00e02521e9101" x86_64: '0cacc59ab09d7031ebafc3ff008ff2e9305d9fafc590f1a0e52848342033197a'
}) })
end end
...@@ -5,7 +5,7 @@ class Mono < Package ...@@ -5,7 +5,7 @@ class Mono < Package
homepage 'http://www.mono-project.com/' homepage 'http://www.mono-project.com/'
version '4.4.0.148-1' version '4.4.0.148-1'
source_url 'http://download.mono-project.com/sources/mono/mono-4.4.0.148.tar.bz2' source_url 'http://download.mono-project.com/sources/mono/mono-4.4.0.148.tar.bz2'
source_sha1 '8da7726b7c09df97856b55eda062356666928d35' source_sha256 '38ad527608c26b2637472602d91d6af203dc4202be915e583fdc9e3a9252a5f3'
def self.build def self.build
system "./configure","--disable-dependency-tracking","--disable-silent-rules","--enable-nls=no","--prefix=/usr/local" system "./configure","--disable-dependency-tracking","--disable-silent-rules","--enable-nls=no","--prefix=/usr/local"
......
...@@ -5,7 +5,7 @@ class Moonbuggy < Package ...@@ -5,7 +5,7 @@ class Moonbuggy < Package
homepage 'http://www.seehuhn.de/pages/moon-buggy' homepage 'http://www.seehuhn.de/pages/moon-buggy'
version '1.0.51' version '1.0.51'
source_url 'http://m.seehuhn.de/programs/moon-buggy-1.0.51.tar.gz' source_url 'http://m.seehuhn.de/programs/moon-buggy-1.0.51.tar.gz'
source_sha1 '7f1c5df99944acfe98eeb5f8d5ab6f28ef61ee7e' source_sha256 '352dc16ccae4c66f1e87ab071e6a4ebeb94ff4e4f744ce1b12a769d02fe5d23f'
depends_on 'ncurses' depends_on 'ncurses'
......
...@@ -5,7 +5,7 @@ class Moreutils < Package ...@@ -5,7 +5,7 @@ class Moreutils < Package
homepage 'https://joeyh.name/code/moreutils/' homepage 'https://joeyh.name/code/moreutils/'
version '0.60' version '0.60'
source_url 'http://http.debian.net/debian/pool/main/m/moreutils/moreutils_0.60.orig.tar.xz' source_url 'http://http.debian.net/debian/pool/main/m/moreutils/moreutils_0.60.orig.tar.xz'
source_sha1 '3af60490f763ece48b2fcba968903673c3e63495' source_sha256 'e42d18bacbd2d003779a55fb3542befa5d1d217ee37c1874e8c497581ebc17c5'
depends_on 'docbook' depends_on 'docbook'
depends_on 'libxslt' depends_on 'libxslt'
......
...@@ -5,7 +5,7 @@ class Mosh < Package ...@@ -5,7 +5,7 @@ class Mosh < Package
homepage 'https://mosh.org/' homepage 'https://mosh.org/'
version '1.3.0' version '1.3.0'
source_url 'https://mosh.org/mosh-1.3.0.tar.gz' source_url 'https://mosh.org/mosh-1.3.0.tar.gz'
source_sha1 '846698806d940c84028c04f68e289e31d9540d5f' source_sha256 '320e12f461e55d71566597976bd9440ba6c5265fa68fbf614c6f1c8401f93376'
depends_on 'protobuf' depends_on 'protobuf'
......
...@@ -10,10 +10,10 @@ class Mpc < Package ...@@ -10,10 +10,10 @@ class Mpc < Package
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpc-1.0.3-chromeos-i686.tar.xz', i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpc-1.0.3-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpc-1.0.3-chromeos-x86_64.tar.xz', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpc-1.0.3-chromeos-x86_64.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: '275fdba883722c3a0c8dbc92e3fc7d7a5a88bc57', aarch64: '58518e1b1a26d4c48e101bea2d42c640b9dccdd0300fbda9cce9635dbdbfa4ba',
armv7l: '275fdba883722c3a0c8dbc92e3fc7d7a5a88bc57', armv7l: '58518e1b1a26d4c48e101bea2d42c640b9dccdd0300fbda9cce9635dbdbfa4ba',
i686: '19ac6cf905c86c71a4be7773882f742e9786ead9', i686: 'ac2789b514e0b581c619a197d8e7cecae1bfc3c5251a9a9bb857d4a78d03ca1e',
x86_64: '25586540bc6be6bfa9814ac65b3ee633c452c1b0', x86_64: '6c39fe899b348b693736a662bd19168ffea70718533942b35491d7df0a4a2d35',
}) })
end end
...@@ -10,10 +10,10 @@ class Mpfr < Package ...@@ -10,10 +10,10 @@ class Mpfr < Package
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpfr-3.1.5-chromeos-i686.tar.xz', i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpfr-3.1.5-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpfr-3.1.5-chromeos-x86_64.tar.xz', x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.7/mpfr-3.1.5-chromeos-x86_64.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: 'e388055aa9652e2c0c580f0e0cc26509d8c17f39', aarch64: '8a2f8a0059ae27778c51bb949f07b7920bc1e3a5942889c9809558a021296329',
armv7l: 'e388055aa9652e2c0c580f0e0cc26509d8c17f39', armv7l: '8a2f8a0059ae27778c51bb949f07b7920bc1e3a5942889c9809558a021296329',
i686: '87630dd77fbdad79f0382e64a9ddb82453d21a46', i686: 'c30a5f8c45262529953de89309ac6d65546ef3fa57e79a03aaa98f037d18db75',
x86_64: '6e137ee58ceca44fbc9bd0f35a2039993f7a0cc1', x86_64: '60ce5bb3d89a917aae7fe1e753e221687eb7f7eb28ea2bf05c5cd4a766a510c8',
}) })
end end
require 'package'
class Mtools < Package
description 'Mtools is a collection of utilities to access MS-DOS disks from GNU and Unix without mounting them.'
homepage 'https://www.gnu.org/software/mtools/'
version '4.0.18'
source_url 'https://ftp.gnu.org/gnu/mtools/mtools-4.0.18.tar.bz2'
source_sha256 '59e9cf80885399c4f229e5d87e49c0c2bfeec044e1386d59fcd0b0aead6b2f85'
def self.build
system './configure --without-x'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
...@@ -5,7 +5,7 @@ class Mutt < Package ...@@ -5,7 +5,7 @@ class Mutt < Package
homepage 'http://mutt.org/' homepage 'http://mutt.org/'
version '1.8.2' version '1.8.2'
source_url 'ftp://ftp.mutt.org/pub/mutt/mutt-1.8.2.tar.gz' source_url 'ftp://ftp.mutt.org/pub/mutt/mutt-1.8.2.tar.gz'
source_sha1 'bdac1201de464d63f61a663f3dcf1ee4484dbbb3' source_sha256 '1d057bf1b565f2c38ee50c9a661654cbbe4165f98e25bfa361ebbd707d96f235'
def self.build def self.build
system 'mkdir /usr/local/mail' system 'mkdir /usr/local/mail'
......
...@@ -5,7 +5,7 @@ class Mywanip < Package ...@@ -5,7 +5,7 @@ class Mywanip < Package
homepage 'https://gist.github.com/DennisLfromGA/ab40940d37be84ae3a88' homepage 'https://gist.github.com/DennisLfromGA/ab40940d37be84ae3a88'
version 'ab4094' version 'ab4094'
source_url 'https://gist.github.com/DennisLfromGA/ab40940d37be84ae3a88/archive/b583835e8b2cb7edefc7ccbb911cb8eaf172d341.zip' source_url 'https://gist.github.com/DennisLfromGA/ab40940d37be84ae3a88/archive/b583835e8b2cb7edefc7ccbb911cb8eaf172d341.zip'
source_sha1 '1c26e5ed07283dbecb5a7cbaae0d9e408bedff89' source_sha256 '789d22cfa60a40cf60d59e561500cd27e39ac03ecff2e948111a2a07f830fd67'
def self.install def self.install
system "chmod +x mywanip" system "chmod +x mywanip"
......
...@@ -5,7 +5,7 @@ class Nano < Package ...@@ -5,7 +5,7 @@ class Nano < Package
homepage 'https://www.nano-editor.org/' homepage 'https://www.nano-editor.org/'
version '2.8.4' version '2.8.4'
source_url 'https://nano-editor.org/dist/v2.8/nano-2.8.4.tar.xz' source_url 'https://nano-editor.org/dist/v2.8/nano-2.8.4.tar.xz'
source_sha1 '83ac3285e50690205011a822eadb42709c0fb2f3' source_sha256 'c7cf264f0f3e4af43ecdbc4ec72c3b1e831c69a1a5f6512d5b0c109e6bac7b11'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'ncurses' depends_on 'ncurses'
......
...@@ -5,7 +5,7 @@ class Nanomsg < Package ...@@ -5,7 +5,7 @@ class Nanomsg < Package
homepage 'http://nanomsg.org/' homepage 'http://nanomsg.org/'
version '1.0,0' version '1.0,0'
source_url 'https://github.com/nanomsg/nanomsg/archive/1.0.0.tar.gz' source_url 'https://github.com/nanomsg/nanomsg/archive/1.0.0.tar.gz'
source_sha1 '57f90778a9bb7b95a7fd73910fd41894f3ee9cab' source_sha256 '24afdeb71b2e362e8a003a7ecc906e1b84fd9f56ce15ec567481d1bb33132cc7'
depends_on 'cmake' depends_on 'cmake'
......
...@@ -5,9 +5,9 @@ class Ncdu < Package ...@@ -5,9 +5,9 @@ class Ncdu < Package
homepage 'https://dev.yorhel.nl/ncdu' homepage 'https://dev.yorhel.nl/ncdu'
version '1.12' version '1.12'
source_url 'https://dev.yorhel.nl/download/ncdu-1.12.tar.gz' source_url 'https://dev.yorhel.nl/download/ncdu-1.12.tar.gz'
source_sha1 'b79b1c44784f334dca74d89a49f49274f14cfeef' source_sha256 '820e4e4747a2a2ec7a2e9f06d2f5a353516362c22496a10a9834f871b877499a'
depends_on "ncurses" depends_on 'ncurses'
def self.build def self.build
system "./configure --prefix=/usr/local CPPFLAGS=-I/usr/local/include/ncurses" system "./configure --prefix=/usr/local CPPFLAGS=-I/usr/local/include/ncurses"
......
...@@ -5,7 +5,7 @@ class Ncftp < Package ...@@ -5,7 +5,7 @@ class Ncftp < Package
homepage 'http://ncftp.com/ncftp/' homepage 'http://ncftp.com/ncftp/'
version '3.2.6' version '3.2.6'
source_url 'ftp://ftp.ncftp.com/ncftp/ncftp-3.2.6-src.tar.gz' source_url 'ftp://ftp.ncftp.com/ncftp/ncftp-3.2.6-src.tar.gz'
source_sha1 'e2351802b40db18d6cbab2537a9644cd858b934d' source_sha256 '129e5954850290da98af012559e6743de193de0012e972ff939df9b604f81c23'
depends_on 'buildessential' depends_on 'buildessential'
......
...@@ -5,10 +5,10 @@ class Ncurses < Package ...@@ -5,10 +5,10 @@ class Ncurses < Package
homepage 'https://www.gnu.org/software/ncurses/' homepage 'https://www.gnu.org/software/ncurses/'
version '6.0-2' version '6.0-2'
source_url 'ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz' source_url 'ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz'
source_sha1 'acd606135a5124905da770803c05f1f20dd3b21c' source_sha256 'f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260'
depends_on "diffutils" => :build depends_on 'diffutils' => :build
depends_on "ncursesw" depends_on 'ncursesw'
def self.build def self.build
system './configure', system './configure',
...@@ -18,7 +18,7 @@ class Ncurses < Package ...@@ -18,7 +18,7 @@ class Ncurses < Package
'--with-shared', '--with-shared',
'--with-cxx-shared', '--with-cxx-shared',
'--without-debug' '--without-debug'
system "make" system 'make'
end end
def self.install def self.install
......
...@@ -5,16 +5,16 @@ class Ncursesw < Package ...@@ -5,16 +5,16 @@ class Ncursesw < Package
homepage 'http://www.gnu.org/software/ncurses/' homepage 'http://www.gnu.org/software/ncurses/'
version '6.0-2' version '6.0-2'
source_url 'ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz' source_url 'ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz'
source_sha1 'acd606135a5124905da770803c05f1f20dd3b21c' source_sha256 'f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260'
depends_on "diffutils" => :build depends_on 'diffutils' => :build
def self.build def self.build
# Check ncurses doesn't conflict with ncrusesw # Check ncurses doesn't conflict with ncrusesw
if File.exist? CREW_CONFIG_PATH + "meta/ncurses.filelist" if File.exist? CREW_CONFIG_PATH + "meta/ncurses.filelist"
if `grep include/ncursesw #{CREW_CONFIG_PATH}meta/ncurses.filelist` != '' if `grep include/ncursesw #{CREW_CONFIG_PATH}meta/ncurses.filelist` != ''
puts puts
puts "PLEASE PERFORMS `crew upgrade ncurses` OR `sudo crew remove ncurses` FIRST" puts "PLEASE PERFORM `crew upgrade ncurses` OR `crew remove ncurses` FIRST"
puts puts
exit 1 exit 1
end end
...@@ -28,7 +28,7 @@ class Ncursesw < Package ...@@ -28,7 +28,7 @@ class Ncursesw < Package
'--with-cxx-shared', '--with-cxx-shared',
'--without-debug', '--without-debug',
'--enable-widec' '--enable-widec'
system "make" system 'make'
end end
def self.install def self.install
......
...@@ -5,7 +5,7 @@ class Neovim < Package ...@@ -5,7 +5,7 @@ class Neovim < Package
homepage 'https://neovim.io/' homepage 'https://neovim.io/'
version '0.1.7' version '0.1.7'
source_url 'https://github.com/neovim/neovim/archive/v0.1.7.tar.gz' source_url 'https://github.com/neovim/neovim/archive/v0.1.7.tar.gz'
source_sha1 '00e67f981105f1acbe06df1dbea21b6f7fa6d9b8' source_sha256 'd8f885d019b1ad608f36ae23b8f1b15b7e33585e16f7514666ab6c9809bb4b7e'
depends_on 'libtool' depends_on 'libtool'
depends_on 'autoconf' depends_on 'autoconf'
......
...@@ -5,7 +5,7 @@ class Netcat < Package ...@@ -5,7 +5,7 @@ class Netcat < Package
homepage 'http://netcat.sourceforge.net/' homepage 'http://netcat.sourceforge.net/'
version '0.7.1' version '0.7.1'
source_url 'http://downloads.sourceforge.net/project/netcat/netcat/0.7.1/netcat-0.7.1.tar.gz' source_url 'http://downloads.sourceforge.net/project/netcat/netcat/0.7.1/netcat-0.7.1.tar.gz'
source_sha1 'b5cbc52a7ceed2fd5c4f5081f5747130b2d0fe01' source_sha256 '30719c9a4ffbcf15676b8f528233ccc54ee6cba96cb4590975f5fd60c68a066f'
def self.build def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
......
...@@ -6,7 +6,7 @@ class Nethack4 < Package ...@@ -6,7 +6,7 @@ class Nethack4 < Package
# "nethack4" fork of nethack with a few patches and a modern build system # "nethack4" fork of nethack with a few patches and a modern build system
version '4.3.0-beta2' version '4.3.0-beta2'
source_url 'http://nethack4.org/media/releases/nethack4-4.3-beta2.tar.gz' source_url 'http://nethack4.org/media/releases/nethack4-4.3-beta2.tar.gz'
source_sha1 'e261c0ac618589a47e63525ed56eb17e72b14754' source_sha256 'b143a86b5e1baf55c663ae09c2663b169d265e95ac43154982296a1887d05f15'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'ncurses' depends_on 'ncurses'
...@@ -14,7 +14,6 @@ class Nethack4 < Package ...@@ -14,7 +14,6 @@ class Nethack4 < Package
depends_on 'flex' depends_on 'flex'
depends_on 'perl' depends_on 'perl'
def self.build def self.build
target="build" target="build"
system "mkdir -p " + target system "mkdir -p " + target
......
...@@ -5,7 +5,7 @@ class Nettle < Package ...@@ -5,7 +5,7 @@ class Nettle < Package
homepage 'http://www.lysator.liu.se/~nisse/nettle/' homepage 'http://www.lysator.liu.se/~nisse/nettle/'
version '3.3' version '3.3'
source_url 'https://ftp.gnu.org/gnu/nettle/nettle-3.3.tar.gz' source_url 'https://ftp.gnu.org/gnu/nettle/nettle-3.3.tar.gz'
source_sha1 'bf2b4d3a41192ff6177936d7bc3bee4cebeb86c4' source_sha256 '46942627d5d0ca11720fec18d81fc38f7ef837ea4197c1f630e71ce0d470b11e'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'm4' depends_on 'm4'
......
...@@ -5,7 +5,7 @@ class Newlisp < Package ...@@ -5,7 +5,7 @@ class Newlisp < Package
homepage 'http://www.newlisp.org/' homepage 'http://www.newlisp.org/'
version '10.7.1' version '10.7.1'
source_url 'https://github.com/kosh04/newlisp/archive/10.7.1.tar.gz' source_url 'https://github.com/kosh04/newlisp/archive/10.7.1.tar.gz'
source_sha1 '258d88a6c52ecea73da1a7774fa4f53a265da073' source_sha256 '87e3ea4bd2d42118af44f2f881302af32a990164fb47088bcad0be6dc88c5c48'
#depends_on 'readline' #depends_on 'readline'
#depends_on 'libffi' #depends_on 'libffi'
......
...@@ -5,7 +5,7 @@ class Nginx < Package ...@@ -5,7 +5,7 @@ class Nginx < Package
homepage 'http://nginx.org/' homepage 'http://nginx.org/'
version '1.11.6-1' version '1.11.6-1'
source_url 'http://nginx.org/download/nginx-1.11.6.tar.gz' source_url 'http://nginx.org/download/nginx-1.11.6.tar.gz'
source_sha1 '51903b721a5ee721568fc59f0a243df5356a98de' source_sha256 '3153abbb518e2d9c032e1b127da3dc0028ad36cd4679e5f3be0b8afa33bc85bd'
depends_on 'pcre' depends_on 'pcre'
......
...@@ -5,7 +5,7 @@ class Nmap < Package ...@@ -5,7 +5,7 @@ class Nmap < Package
homepage 'https://nmap.org/' homepage 'https://nmap.org/'
version '7.50' version '7.50'
source_url 'https://nmap.org/dist/nmap-7.50.tgz' source_url 'https://nmap.org/dist/nmap-7.50.tgz'
source_sha1 '9e77da9079489e86db9634e87efbd88500de9c65' source_sha256 '40febe4a4e4b583aabcdd8cfceb6ae0f366dbb2fede96e4a529340bdb6d24776'
depends_on 'buildessential' depends_on 'buildessential'
......
...@@ -5,7 +5,7 @@ class Node < Package ...@@ -5,7 +5,7 @@ class Node < Package
homepage 'https://nodejs.org/en/' homepage 'https://nodejs.org/en/'
version '6.11.0' version '6.11.0'
source_url 'https://nodejs.org/dist/v6.11.0/node-v6.11.0.tar.xz' source_url 'https://nodejs.org/dist/v6.11.0/node-v6.11.0.tar.xz'
source_sha1 '1e408d9981606c5a01f46b4b6c93c0b30fa49d8c' source_sha256 '02ba35391edea2b294c736489af01954ce6e6c39d318f4423ae6617c69ef0a51'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'python27' depends_on 'python27'
......
...@@ -5,7 +5,7 @@ class Node_current < Package ...@@ -5,7 +5,7 @@ class Node_current < Package
homepage 'https://nodejs.org/en/' homepage 'https://nodejs.org/en/'
version '8.1.2' version '8.1.2'
source_url 'https://nodejs.org/dist/v8.1.2/node-v8.1.2.tar.gz' source_url 'https://nodejs.org/dist/v8.1.2/node-v8.1.2.tar.gz'
source_sha1 'e80d3e6ae766349a925911f0a8e5533827c58673' source_sha256 'd717b364868956e0b775145e57a84e63962a9cf83146e778547fc71bb27a2251'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'python27' depends_on 'python27'
......
...@@ -5,7 +5,7 @@ class Npth < Package ...@@ -5,7 +5,7 @@ class Npth < Package
homepage 'https://www.gnupg.org/related_software/npth/index.html' homepage 'https://www.gnupg.org/related_software/npth/index.html'
version '1.3' version '1.3'
source_url 'https://www.gnupg.org/ftp/gcrypt/npth/npth-1.3.tar.bz2' source_url 'https://www.gnupg.org/ftp/gcrypt/npth/npth-1.3.tar.bz2'
source_sha1 '1b21507cfa3f58bdd19ef2f6800ab4cb67729972' source_sha256 'bca81940436aed0734eb8d0ff8b179e04cc8c087f5625204419f5f45d736a82a'
def self.build def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
......
...@@ -31,7 +31,7 @@ class Openconnect < Package ...@@ -31,7 +31,7 @@ class Openconnect < Package
description 'OpenConnect is an SSL VPN client initially created to support Cisco\'s AnyConnect SSL VPN.' description 'OpenConnect is an SSL VPN client initially created to support Cisco\'s AnyConnect SSL VPN.'
homepage 'http://www.infradead.org/openconnect/' homepage 'http://www.infradead.org/openconnect/'
source_url 'ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz' source_url 'ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz'
source_sha1 '2351408693aab0c6bc97d37e68b4a869fbb217ed' source_sha256 'facf695368dc4537a6a30e2147be90b1d77ee3cb2d269eaef070b6d9ddab70f2'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'libxml2' depends_on 'libxml2'
......
...@@ -5,7 +5,7 @@ class Openjpeg < Package ...@@ -5,7 +5,7 @@ class Openjpeg < Package
homepage 'https://github.com/uclouvain/openjpeg/' homepage 'https://github.com/uclouvain/openjpeg/'
version '2.1.2' version '2.1.2'
source_url 'https://github.com/uclouvain/openjpeg/archive/v2.1.2.tar.gz' source_url 'https://github.com/uclouvain/openjpeg/archive/v2.1.2.tar.gz'
source_sha1 'c8671e7f577fdc58abde1e1f32b10d372e6f9b07' source_sha256 '4ce77b6ef538ef090d9bde1d5eeff8b3069ab56c4906f083475517c2c023dfa7'
depends_on 'cmake' depends_on 'cmake'
......
...@@ -5,7 +5,7 @@ class Openldap < Package ...@@ -5,7 +5,7 @@ class Openldap < Package
homepage 'http://www.openldap.org/' homepage 'http://www.openldap.org/'
version '2.4.44' version '2.4.44'
source_url 'ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.44.tgz' source_url 'ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.44.tgz'
source_sha1 '016a738d050a68d388602a74b5e991035cdba149' source_sha256 'd7de6bf3c67009c95525dde3a0212cc110d0a70b92af2af8e3ee800e81b88400'
def self.build def self.build
system "./configure --disable-slapd --prefix=/usr/local" system "./configure --disable-slapd --prefix=/usr/local"
......
...@@ -5,7 +5,7 @@ class Openssh < Package ...@@ -5,7 +5,7 @@ class Openssh < Package
homepage 'https://www.openssh.com/' homepage 'https://www.openssh.com/'
version '7.5' version '7.5'
source_url 'https://github.com/openssh/openssh-portable/archive/V_7_5_P1.tar.gz' source_url 'https://github.com/openssh/openssh-portable/archive/V_7_5_P1.tar.gz'
source_sha1 '3c5d829be2d30ed80feef708231ec223cd37b264' source_sha256 '00bfc71a4b8f58554892bae561ea0d7f4a462c6940c16c6c943822baa6ba4f84'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'autoconf' depends_on 'autoconf'
......
...@@ -6,14 +6,14 @@ class Openssl < Package ...@@ -6,14 +6,14 @@ class Openssl < Package
version '1.0.2l' version '1.0.2l'
source_url 'https://github.com/openssl/openssl/archive/OpenSSL_1_0_2l.tar.gz' source_url 'https://github.com/openssl/openssl/archive/OpenSSL_1_0_2l.tar.gz'
source_sha1 '5bea0957b371627e8ebbee5bef221519e94d547c' source_sha256 'a3d3a7c03c90ba370405b2d12791598addfcafb1a77ef483c02a317a56c08485'
binary_url ({ binary_url ({
aarch64: 'https://github.com/jam7/chromebrew/releases/download/binaries/openssl-1.0.2l-chromeos-armv7l.tar.xz', aarch64: 'https://github.com/jam7/chromebrew/releases/download/binaries/openssl-1.0.2l-chromeos-armv7l.tar.xz',
armv7l: 'https://github.com/jam7/chromebrew/releases/download/binaries/openssl-1.0.2l-chromeos-armv7l.tar.xz', armv7l: 'https://github.com/jam7/chromebrew/releases/download/binaries/openssl-1.0.2l-chromeos-armv7l.tar.xz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: '4c9eb37df898e9495a8f53e3aa7f6058063fa8ce', aarch64: '4af16174aa6a9f565a5895fedea89daf0c8fb66b8f26b0c8416f5456aa440ea5',
armv7l: '4c9eb37df898e9495a8f53e3aa7f6058063fa8ce', armv7l: '4af16174aa6a9f565a5895fedea89daf0c8fb66b8f26b0c8416f5456aa440ea5',
}) })
depends_on 'perl' => :build depends_on 'perl' => :build
......
...@@ -5,7 +5,7 @@ class Optipng < Package ...@@ -5,7 +5,7 @@ class Optipng < Package
homepage 'http://optipng.sourceforge.net/' homepage 'http://optipng.sourceforge.net/'
version '0.7.6-1' version '0.7.6-1'
source_url 'http://prdownloads.sourceforge.net/optipng/optipng-0.7.6.tar.gz' source_url 'http://prdownloads.sourceforge.net/optipng/optipng-0.7.6.tar.gz'
source_sha1 '3b3e31430e735589470c4af204354d38823f4989' source_sha256 '4870631fcbd3825605f00a168b8debf44ea1cda8ef98a73e5411eee97199be80'
depends_on 'libpng' depends_on 'libpng'
depends_on 'zlibpkg' depends_on 'zlibpkg'
......
...@@ -5,7 +5,7 @@ class P11kit < Package ...@@ -5,7 +5,7 @@ class P11kit < Package
homepage 'https://p11-glue.freedesktop.org/p11-kit.html' homepage 'https://p11-glue.freedesktop.org/p11-kit.html'
version '0.23.2-1' version '0.23.2-1'
source_url 'https://p11-glue.freedesktop.org/releases/p11-kit-0.23.2.tar.gz' source_url 'https://p11-glue.freedesktop.org/releases/p11-kit-0.23.2.tar.gz'
source_sha1 '4da0d7b47935b6cb0f321dd00358b063ae42df71' source_sha256 'ba726ea8303c97467a33fca50ee79b7b35212964be808ecf9b145e9042fdfaf0'
depends_on 'diffutils' => :build depends_on 'diffutils' => :build
depends_on 'libffi' depends_on 'libffi'
......
...@@ -5,7 +5,7 @@ class P7zip < Package ...@@ -5,7 +5,7 @@ class P7zip < Package
homepage 'http://p7zip.sourceforge.net/' homepage 'http://p7zip.sourceforge.net/'
version '16.02' version '16.02'
source_url 'http://downloads.sourceforge.net/p7zip/p7zip_16.02_src_all.tar.bz2' source_url 'http://downloads.sourceforge.net/p7zip/p7zip_16.02_src_all.tar.bz2'
source_sha1 'e8819907132811aa1afe5ef296181d3a15cc8f22' source_sha256 '5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f'
def self.build def self.build
system "cp", "makefile.linux_any_cpu", "makefile.machine" system "cp", "makefile.linux_any_cpu", "makefile.machine"
......
...@@ -5,7 +5,7 @@ class Pacparser < Package ...@@ -5,7 +5,7 @@ class Pacparser < Package
homepage 'http://pacparser.manugarg.com/' homepage 'http://pacparser.manugarg.com/'
version '1.3.7' version '1.3.7'
source_url 'https://github.com/pacparser/pacparser/archive/1.3.7.tar.gz' source_url 'https://github.com/pacparser/pacparser/archive/1.3.7.tar.gz'
source_sha1 'bb06b1a0eaeb882877c5afa45cb00b540ee57f5f' source_sha256 '575c5d8096b4c842b2af852bbb8bcfde96170b28b49f33249dbe2057a8beea13'
def self.build def self.build
system "make -C src" system "make -C src"
......
...@@ -5,9 +5,9 @@ class Pagemon < Package ...@@ -5,9 +5,9 @@ class Pagemon < Package
homepage 'http://kernel.ubuntu.com/~cking/pagemon/' homepage 'http://kernel.ubuntu.com/~cking/pagemon/'
version '0.01.10' version '0.01.10'
source_url 'http://kernel.ubuntu.com/~cking/tarballs/pagemon/pagemon-0.01.10.tar.gz' source_url 'http://kernel.ubuntu.com/~cking/tarballs/pagemon/pagemon-0.01.10.tar.gz'
source_sha1 'bc0b4c6db0e1551711e90ffa99162cbbe6217056' source_sha256 '82c240b44b7000fc57355b366bfe28a47a4da857ddaea0ee0ade9d3eae037f54'
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 Pango < Package ...@@ -5,7 +5,7 @@ class Pango < Package
homepage 'http://www.pango.org/' homepage 'http://www.pango.org/'
version '1.40.0' version '1.40.0'
source_url 'https://ftp.gnome.org/pub/gnome/sources/pango/1.40/pango-1.40.0.tar.xz' source_url 'https://ftp.gnome.org/pub/gnome/sources/pango/1.40/pango-1.40.0.tar.xz'
source_sha1 '5e1394f2c063747593cb8157ebd953103b8000d2' source_sha256 'da17985df314cb07d066ab5424f59c21ce973ece05b7de4df04d798ec8511c8b'
depends_on 'freetype' depends_on 'freetype'
depends_on 'fontconfig' depends_on 'fontconfig'
......
require 'package'
class Parallel < Package
description 'Run multiple programs simultaneously.'
homepage 'https://joeyh.name/code/moreutils/'
version '0.60'
is_fake
depends_on 'moreutils'
end
...@@ -5,7 +5,7 @@ class Patch < Package ...@@ -5,7 +5,7 @@ class Patch < Package
homepage 'http://savannah.gnu.org/projects/patch/' homepage 'http://savannah.gnu.org/projects/patch/'
version '2.7.5' version '2.7.5'
source_url 'https://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz' source_url 'https://ftp.gnu.org/gnu/patch/patch-2.7.5.tar.xz'
source_sha1 '8fd8f8f8ba640d871bce1bd33c7fd5e2ebe03a1e' source_sha256 'fd95153655d6b95567e623843a0e77b81612d502ecf78a489a4aed7867caa299'
def self.build def self.build
system './configure --prefix=/usr/local' system './configure --prefix=/usr/local'
......
...@@ -5,7 +5,7 @@ class Patchelf < Package ...@@ -5,7 +5,7 @@ class Patchelf < Package
homepage 'http://nixos.org/patchelf.html' homepage 'http://nixos.org/patchelf.html'
version '0.8-2' version '0.8-2'
source_url 'http://nixos.org/releases/patchelf/patchelf-0.8/patchelf-0.8.tar.bz2' source_url 'http://nixos.org/releases/patchelf/patchelf-0.8/patchelf-0.8.tar.bz2'
source_sha1 'd0645e9cee6f8e583ae927311c7ce88d29f416fc' source_sha256 'c99f84d124347340c36707089ec8f70530abd56e7827c54d506eb4cc097a17e7'
def self.build def self.build
system "./configure", "prefix=/usr/local" system "./configure", "prefix=/usr/local"
......
...@@ -5,7 +5,7 @@ class Patchutils < Package ...@@ -5,7 +5,7 @@ class Patchutils < Package
homepage 'http://cyberelk.net/tim/patchutils/' homepage 'http://cyberelk.net/tim/patchutils/'
version '0.3.4' version '0.3.4'
source_url 'http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.4.tar.xz' source_url 'http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.4.tar.xz'
source_sha1 'b1d91eb1e2213450eae666a4701b3f917625dea3' source_sha256 'cf55d4db83ead41188f5b6be16f60f6b76a87d5db1c42f5459d596e81dabe876'
def self.build def self.build
system './configure --prefix=/usr/local' system './configure --prefix=/usr/local'
......
...@@ -5,7 +5,7 @@ class Pciutils < Package ...@@ -5,7 +5,7 @@ class Pciutils < Package
homepage 'http://mj.ucw.cz/sw/pciutils/' homepage 'http://mj.ucw.cz/sw/pciutils/'
version '3.5.2' version '3.5.2'
source_url 'https://www.kernel.org/pub/software/utils/pciutils/pciutils-3.5.2.tar.xz' source_url 'https://www.kernel.org/pub/software/utils/pciutils/pciutils-3.5.2.tar.xz'
source_sha1 '29d9a75ce2a2d92721b6e92c7c89236b4c91041f' source_sha256 '3a99141a9f40528d0a0035665a06dc37ddb1ae341658e51b50a76ecf86235efc'
def self.build def self.build
system "make", "PREFIX=/usr/local", "SHARED=yes" system "make", "PREFIX=/usr/local", "SHARED=yes"
......
...@@ -3,9 +3,9 @@ require 'package' ...@@ -3,9 +3,9 @@ require 'package'
class Pcre < Package class Pcre < Package
description 'The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5.' description 'The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5.'
homepage 'http://pcre.org/' homepage 'http://pcre.org/'
version '8.40' version '8.41'
source_url 'https://ftp.pcre.org/pub/pcre/pcre-8.40.tar.bz2' source_url 'https://ftp.pcre.org/pub/pcre/pcre-8.41.tar.bz2'
source_sha1 '12f338719b8b028a2eecbf9192fcc00a13fc04f6' source_sha256 'e62c7eac5ae7c0e7286db61ff82912e1c0b7a0c13706616e94a7dd729321b530'
def self.build def self.build
system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic", "--enable-utf" system "./configure", "--libdir=#{CREW_LIB_PREFIX}", "--enable-shared", "--disable-static", "--with-pic", "--enable-utf"
......
...@@ -5,14 +5,15 @@ class Perl < Package ...@@ -5,14 +5,15 @@ class Perl < Package
homepage 'https://www.perl.org/' homepage 'https://www.perl.org/'
version '5.24.1-1' version '5.24.1-1'
source_url 'http://www.cpan.org/src/5.0/perl-5.24.1.tar.gz' source_url 'http://www.cpan.org/src/5.0/perl-5.24.1.tar.gz'
source_sha1 '19b218bbc3a63a8408ed56b93928fd9a4c1b5c83' source_sha256 'e6c185c9b09bdb3f1b13f678999050c639859a7ef39c8cad418448075f5918af'
depends_on 'patch' => :build depends_on 'patch' => :build
def self.build def self.build
# Use system zlib and bzip2 # Use system zlib and bzip2
# Create shared library # Create shared library
system "BUILD_ZLIB=False BUILD_BZIP2=0 ./Configure -de -Duseshrplib" # Install manual files into /usr/local/share/man/man* even if groff is not installed.
system "BUILD_ZLIB=False BUILD_BZIP2=0 ./Configure -de -Duseshrplib -Dman1dir=#{CREW_PREFIX}/share/man/man1 -Dman3dir=#{CREW_PREFIX}/share/man/man3"
system "make" system "make"
end end
......
require 'package'
class Pexec < Package
description 'The main purpose of the program pexec is to execute the given command or shell script (e.g. parsed by /bin/sh) in parallel on the local host or on remote hosts, while some of the execution parameters, namely the redirected standard input, output or error and environmental variables can be varied.'
homepage 'https://www.gnu.org/software/pexec/'
version '1.0rc8'
source_url 'https://ftp.gnu.org/gnu/pexec/pexec-1.0rc8.tar.gz'
source_sha256 'a968e4774eef80b8b1de3c10e6c0ad2ebeeb732b10e438596f110aa6aaf94a64'
depends_on 'groff'
depends_on 'help2man'
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 Php5 < Package ...@@ -5,7 +5,7 @@ class Php5 < Package
homepage 'http://www.php.net/' homepage 'http://www.php.net/'
version '5.6.30' version '5.6.30'
source_url 'http://php.net/distributions/php-5.6.30.tar.xz' source_url 'http://php.net/distributions/php-5.6.30.tar.xz'
source_sha1 '1bca4a340e6aaf82a3e940b0f2de3f36518238e4' source_sha256 'a363185c786432f75e3c7ff956b49c3369c3f6906a6b10459f8d1ddc22f70805'
depends_on 'pkgconfig' depends_on 'pkgconfig'
depends_on 'zlibpkg' depends_on 'zlibpkg'
......
...@@ -5,7 +5,7 @@ class Php7 < Package ...@@ -5,7 +5,7 @@ class Php7 < Package
homepage 'http://www.php.net/' homepage 'http://www.php.net/'
version '7.1.6' version '7.1.6'
source_url 'http://php.net/distributions/php-7.1.6.tar.xz' source_url 'http://php.net/distributions/php-7.1.6.tar.xz'
source_sha1 '0e4a6825d2d75d3deec99d247d04a7bbaf69bf0e' source_sha256 '01584dc521ab7ec84b502b61952f573652fe6aa00c18d6d844fb9209f14b245b'
depends_on 'pkgconfig' depends_on 'pkgconfig'
depends_on 'zlibpkg' depends_on 'zlibpkg'
......
...@@ -5,7 +5,7 @@ class Pixman < Package ...@@ -5,7 +5,7 @@ class Pixman < Package
homepage 'http://www.pixman.org/' homepage 'http://www.pixman.org/'
version '0.34.0' version '0.34.0'
source_url 'https://www.cairographics.org/releases/pixman-0.34.0.tar.gz' source_url 'https://www.cairographics.org/releases/pixman-0.34.0.tar.gz'
source_sha1 'a1b1683c1a55acce9d928fea1ab6ceb79142ddc7' source_sha256 '21b6b249b51c6800dc9553b65106e1e37d0e25df942c90531d4c3997aa20a88e'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Pkgconfig < Package ...@@ -5,7 +5,7 @@ class Pkgconfig < Package
homepage 'https://www.freedesktop.org/wiki/Software/pkg-config/' homepage 'https://www.freedesktop.org/wiki/Software/pkg-config/'
version '0.29.2' version '0.29.2'
source_url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz' source_url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz'
source_sha1 '76e501663b29cb7580245720edfb6106164fad2b' source_sha256 '6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591'
# It is not possible to write buildessential here since it causes dependency loop. # It is not possible to write buildessential here since it causes dependency loop.
# depends_on 'buildessential' # depends_on 'buildessential'
......
...@@ -5,9 +5,11 @@ class Postgres < Package ...@@ -5,9 +5,11 @@ class Postgres < Package
homepage 'https://www.postgresql.org/' homepage 'https://www.postgresql.org/'
version '9.5.0' version '9.5.0'
source_url 'https://ftp.postgresql.org/pub/source/v9.5.0/postgresql-9.5.0.tar.bz2' source_url 'https://ftp.postgresql.org/pub/source/v9.5.0/postgresql-9.5.0.tar.bz2'
source_sha1 '930afeb713b81778f29d32e7bf18fd08ce2aa8f9' source_sha256 'f1c0d3a1a8aa8c92738cab0153fbfffcc4d4158b3fee84f7aa6bfea8283978bc'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'readline'
depends_on 'zlibpkg'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Powerline_fonts < Package ...@@ -5,7 +5,7 @@ class Powerline_fonts < Package
homepage 'https://github.com/powerline/fonts' homepage 'https://github.com/powerline/fonts'
version '1.1' version '1.1'
source_url 'https://codeload.github.com/powerline/fonts/tar.gz/2015-12-04?dummy=/' source_url 'https://codeload.github.com/powerline/fonts/tar.gz/2015-12-04?dummy=/'
source_sha1 '4ffe9a28b842ba4ef052b3ffa8cc58db1dbecc64' source_sha256 '3a0b73abca6334b5e6bddefab67f6eb1b2fac1231817d95fc79126c8998c4844'
def self.install def self.install
fonts = "#{CREW_DEST_DIR}/usr/local/share/fonts" fonts = "#{CREW_DEST_DIR}/usr/local/share/fonts"
......
...@@ -5,7 +5,7 @@ class Powerstat < Package ...@@ -5,7 +5,7 @@ class Powerstat < Package
homepage 'http://kernel.ubuntu.com/~cking/powerstat/' homepage 'http://kernel.ubuntu.com/~cking/powerstat/'
version '0.02.11' version '0.02.11'
source_url 'http://kernel.ubuntu.com/~cking/tarballs/powerstat/powerstat-0.02.11.tar.gz' source_url 'http://kernel.ubuntu.com/~cking/tarballs/powerstat/powerstat-0.02.11.tar.gz'
source_sha1 '729c5f8f4509ab13134278c8afe04cf2244d928c' source_sha256 'a274a7762c44695129434bab2ff10a23575ecb0c1199eb6e424e1324c61a2d46'
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 Proj4 < Package ...@@ -5,7 +5,7 @@ class Proj4 < Package
homepage 'http://proj4.org/' homepage 'http://proj4.org/'
version '4.9.1-1' version '4.9.1-1'
source_url 'http://download.osgeo.org/proj/proj-4.9.1.tar.gz' source_url 'http://download.osgeo.org/proj/proj-4.9.1.tar.gz'
source_sha1 '0bc63a41f1bdcff600d076c056f796007abf3f2f' source_sha256 'fca0388f3f8bc5a1a803d2f6ff30017532367992b30cf144f2d39be88f36c319'
def self.build def self.build
system "./configure CFLAGS=\" -fPIC\"" system "./configure CFLAGS=\" -fPIC\""
......
...@@ -5,7 +5,7 @@ class Protobuf < Package ...@@ -5,7 +5,7 @@ class Protobuf < Package
homepage 'https://developers.google.com/protocol-buffers/' homepage 'https://developers.google.com/protocol-buffers/'
version '3.3.0' version '3.3.0'
source_url 'https://github.com/google/protobuf/archive/v3.3.0.tar.gz' source_url 'https://github.com/google/protobuf/archive/v3.3.0.tar.gz'
source_sha1 '34bcb26fe1eff098224c93b9176fb2400f1f2a84' source_sha256 '94c414775f275d876e5e0e4a276527d155ab2d0da45eed6b7734301c330be36e'
depends_on 'automake' depends_on 'automake'
depends_on 'libtool' depends_on 'libtool'
......
...@@ -5,7 +5,7 @@ class Pv < Package ...@@ -5,7 +5,7 @@ class Pv < Package
homepage 'http://www.ivarch.com/programs/pv.shtml' homepage 'http://www.ivarch.com/programs/pv.shtml'
version '1.6.0' version '1.6.0'
source_url 'http://www.ivarch.com/programs/sources/pv-1.6.0.tar.gz' source_url 'http://www.ivarch.com/programs/sources/pv-1.6.0.tar.gz'
source_sha1 '395ce62f4f3e035b86c77038f04b96c5aa233595' source_sha256 '9dd45391806b0ed215abee4c5ac1597d018c386fe9c1f5afd2f6bc3b07fd82c3'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,7 +5,7 @@ class Pwgen < Package ...@@ -5,7 +5,7 @@ class Pwgen < Package
homepage 'https://sourceforge.net/projects/pwgen/' homepage 'https://sourceforge.net/projects/pwgen/'
version '2.07' version '2.07'
source_url 'https://pilotfiber.dl.sourceforge.net/project/pwgen/pwgen/2.07/pwgen-2.07.tar.gz' source_url 'https://pilotfiber.dl.sourceforge.net/project/pwgen/pwgen/2.07/pwgen-2.07.tar.gz'
source_sha1 '51180f9cd5530d79eea18b2443780dec4ec5ea43' source_sha256 'eb74593f58296c21c71cd07933e070492e9222b79cedf81d1a02ce09c0e11556'
def self.build def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
......
...@@ -7,13 +7,13 @@ class Python < Package ...@@ -7,13 +7,13 @@ class Python < Package
binary_url ({ binary_url ({
aarch64: 'https://dl.dropboxusercontent.com/s/xsu18iggr51ewqh/python-3.3.2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.dropboxusercontent.com/s/xsu18iggr51ewqh/python-3.3.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.dropboxusercontent.com/s/xsu18iggr51ewqh/python-3.3.2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.dropboxusercontent.com/s/xsu18iggr51ewqh/python-3.3.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.dropboxusercontent.com/s/mxgfmq992hhiawk/python-3.3.2-chromeos-i686.tar.gz?token_hash=AAFA2YzFp293uyV3zYfP70iwCk8oH9HCLKMTrK0dtMU8GQ&dl=1', i686: 'https://dl.dropboxusercontent.com/s/mxgfmq992hhiawk/python-3.3.2-chromeos-i686.tar.gz',
x86_64: 'https://dl.dropboxusercontent.com/s/r1zvmza51hrr87q/python-3.3.2-chromeos-x86_64.tar.gz?token_hash=AAHIdz6pWcOrfty7C8ACuRcLDq0d0ERYs0jCgOPLn5USUQ&dl=1', x86_64: 'https://dl.dropboxusercontent.com/s/r1zvmza51hrr87q/python-3.3.2-chromeos-x86_64.tar.gz',
}) })
binary_sha1 ({ binary_sha256 ({
aarch64: 'b32ee2db9c14d7e2d1df6d43836312521a3ece91', aarch64: '0a89003a282daeea2a9232d98135582dbe3a620b600036cdc2ce71409f18fbe3',
armv7l: 'b32ee2db9c14d7e2d1df6d43836312521a3ece91', armv7l: '0a89003a282daeea2a9232d98135582dbe3a620b600036cdc2ce71409f18fbe3',
i686: 'a985a4bba243b4fa701db302dc2fa554aef76f1c', i686: 'dff30c6671aa3f378424f75eb704c6ef0fb806155a6e205246a06c9d347932df',
x86_64: 'fbfe0946c2f9191bd6110705994d459e373a8b09', x86_64: '2a6f2786a82e1600abf795387ff80eb7407be9c2db94a10e58f59060b832388d',
}) })
end end
...@@ -5,16 +5,20 @@ class Python27 < Package ...@@ -5,16 +5,20 @@ class Python27 < Package
homepage 'https://www.python.org/' homepage 'https://www.python.org/'
version '2.7.13-2' version '2.7.13-2'
source_url 'https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz' source_url 'https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz'
source_sha1 '18a8f30a0356c751b8d0ea6f76e764cab13ee046' source_sha256 '35d543986882f78261f97787fd3e06274bfa6df29fac9b4a94f73930ff98f731'
depends_on 'bz2' => :build depends_on 'bz2' => :build
depends_on 'ncurses' depends_on 'ncurses'
depends_on 'openssl' => :build depends_on 'openssl' => :build
depends_on 'sqlite' => :build depends_on 'sqlite' => :build
depends_on 'gdbm' => :build depends_on 'gdbm' => :build
depends_on 'zlibpkg'
def self.build def self.build
system "./configure", "CPPFLAGS=-I/usr/local/include/ncurses -I/usr/local/include/ncursesw", "--with-ensurepip=install", "--enable-shared" # python requires to use /usr/local/lib, so leave as is but specify -rpath
system "./configure", "CPPFLAGS=-I/usr/local/include/ncurses -I/usr/local/include/ncursesw",
"LDFLAGS=-Wl,-rpath,#{CREW_PREFIX}/lib",
"--with-ensurepip=install", "--enable-shared"
system "make" system "make"
end end
...@@ -22,7 +26,13 @@ class Python27 < Package ...@@ -22,7 +26,13 @@ class Python27 < Package
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
# remove static library # remove static library
system "find #{CREW_DEST_DIR}/usr/local -name 'libpython*.a' -print | xargs rm" system "find #{CREW_DEST_DIR}/usr/local -name 'libpython*.a' -print | xargs -r rm"
# create symbolic links in lib64 for other applications which use libpython
unless Dir.exist? "#{CREW_DEST_DIR}#{CREW_LIB_PREFIX}"
system "mkdir -p #{CREW_DEST_DIR}#{CREW_LIB_PREFIX}"
system "cd #{CREW_DEST_DIR}#{CREW_LIB_PREFIX}; ln -s ../lib/libpython*.so* ."
end
end end
def self.check def self.check
......
...@@ -5,16 +5,19 @@ class Python3 < Package ...@@ -5,16 +5,19 @@ class Python3 < Package
homepage 'https://www.python.org/' homepage 'https://www.python.org/'
version '3.6.0' version '3.6.0'
source_url 'https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz' source_url 'https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tgz'
source_sha1 '120d536ee14a3153fc2435838c0f27c2e25cd29c' source_sha256 'aa472515800d25a3739833f76ca3735d9f4b2fe77c3cb21f69275e0cce30cb2b'
depends_on 'bz2' => :build depends_on 'bz2' => :build
depends_on 'xzutils' => :build depends_on 'xzutils' => :build
depends_on 'ncurses' depends_on 'ncurses'
depends_on 'openssl' => :build depends_on 'openssl' => :build
depends_on 'sqlite' => :build depends_on 'sqlite' => :build
depends_on 'zlibpkg'
def self.build def self.build
# python requires to use /usr/local/lib, so leave as is but specify -rpath
system "./configure", "CPPFLAGS=-I/usr/local/include/ncurses -I/usr/local/include/ncursesw", system "./configure", "CPPFLAGS=-I/usr/local/include/ncurses -I/usr/local/include/ncursesw",
"LDFLAGS=-Wl,-rpath,#{CREW_PREFIX}/lib",
"--with-ensurepip=install", "--enable-shared" "--with-ensurepip=install", "--enable-shared"
system "make" system "make"
end end
...@@ -23,7 +26,13 @@ class Python3 < Package ...@@ -23,7 +26,13 @@ class Python3 < Package
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
# remove static library # remove static library
system "find #{CREW_DEST_DIR}/usr/local -name 'libpython*.a' -print | xargs rm" system "find #{CREW_DEST_DIR}/usr/local -name 'libpython*.a' -print | xargs -r rm"
# create symbolic links in lib64 for other applications which use libpython
unless Dir.exist? "#{CREW_DEST_DIR}#{CREW_LIB_PREFIX}"
system "mkdir -p #{CREW_DEST_DIR}#{CREW_LIB_PREFIX}"
system "cd #{CREW_DEST_DIR}#{CREW_LIB_PREFIX}; ln -s ../lib/libpython*.so* ."
end
end end
def self.check def self.check
......
...@@ -5,7 +5,7 @@ class Qemacs < Package ...@@ -5,7 +5,7 @@ class Qemacs < Package
homepage 'http://bellard.org/qemacs/' homepage 'http://bellard.org/qemacs/'
version '0.3.3' version '0.3.3'
source_url 'http://bellard.org/qemacs/qemacs-0.3.3.tar.gz' source_url 'http://bellard.org/qemacs/qemacs-0.3.3.tar.gz'
source_sha1 '2a7314610eed09d7c2bef5f1579d774191803bc4' source_sha256 '2ffba66a44783849282199acfcc08707debc7169394a8fd0902626222f27df94'
def self.build def self.build
system "sed -i 's,css.h,libqhtml/css.h,' html2png.c" system "sed -i 's,css.h,libqhtml/css.h,' html2png.c"
......
...@@ -5,7 +5,7 @@ class Qemu < Package ...@@ -5,7 +5,7 @@ class Qemu < Package
homepage 'http://www.qemu.org/' homepage 'http://www.qemu.org/'
version '2.9.0' version '2.9.0'
source_url 'http://download.qemu-project.org/qemu-2.9.0.tar.xz' source_url 'http://download.qemu-project.org/qemu-2.9.0.tar.xz'
source_sha1 '5cc63c6cababaaa7d0685e8b32bacf5022873ebc' source_sha256 'f01cc33e3c5fd5fd2534ce14e369b6b111d7e54e4a4977f8c37eae668176b022'
depends_on 'glib' depends_on 'glib'
depends_on 'autoconf' depends_on 'autoconf'
......
...@@ -5,7 +5,7 @@ class R < Package ...@@ -5,7 +5,7 @@ class R < Package
homepage 'https://www.r-project.org/' homepage 'https://www.r-project.org/'
version '3.4.0' version '3.4.0'
source_url 'https://cran.r-project.org/src/base/R-3/R-3.4.0.tar.gz' source_url 'https://cran.r-project.org/src/base/R-3/R-3.4.0.tar.gz'
source_sha1 '054c1d099006354c89b195df6783b933846ced60' source_sha256 '288e9ed42457c47720780433b3d5c3c20983048b789291cc6a7baa11f9428b91'
# depends_on 'gfortran' # require gfortran enabled gcc # depends_on 'gfortran' # require gfortran enabled gcc
depends_on 'pcre' # need to use pcre not pcre2 depends_on 'pcre' # need to use pcre not pcre2
......
require 'package' require 'package'
class Ranger < Package # the name of the package class Ranger < Package # the name of the package
version '1.8.1' # the current version of the package
description 'A VIM-inspired filemanager for the console.' description 'A VIM-inspired filemanager for the console.'
homepage 'http://ranger.nongnu.org/' homepage 'http://ranger.nongnu.org/'
version '1.8.1' # the current version of the package
source_url 'https://github.com/ranger/ranger/archive/v1.8.1.tar.gz' # the source files for the package source_url 'https://github.com/ranger/ranger/archive/v1.8.1.tar.gz' # the source files for the package
source_sha1 '8948bc749cf91297da6dcf7b275a72d17a0302f3' source_sha256 'ab0e32159cde196df4ff14e9c516aaf8ac2db79e3fdee17e59f327d677a96949'
depends_on 'less' depends_on 'less'
depends_on 'ncurses' depends_on 'ncurses'
......
...@@ -5,7 +5,7 @@ class Readline < Package ...@@ -5,7 +5,7 @@ class Readline < Package
homepage 'http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html' homepage 'http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html'
version '6.3p8' version '6.3p8'
source_url 'http://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz' source_url 'http://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz'
source_sha1 '017b92dc7fd4e636a2b5c9265a77ccc05798c9e1' source_sha256 '56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43'
depends_on 'buildessential' => :build depends_on 'buildessential' => :build
depends_on 'patch' => :build depends_on 'patch' => :build
......
...@@ -5,7 +5,7 @@ class Readline7 < Package ...@@ -5,7 +5,7 @@ class Readline7 < Package
homepage 'http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html' homepage 'http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html'
version '7.0p3' version '7.0p3'
source_url 'ftp://ftp.gnu.org/gnu/readline/readline-7.0.tar.gz' source_url 'ftp://ftp.gnu.org/gnu/readline/readline-7.0.tar.gz'
source_sha1 'd9095fa14a812495052357e1d678b3f2ac635463' source_sha256 '750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334'
depends_on 'buildessential' => :build depends_on 'buildessential' => :build
depends_on 'patch' => :build depends_on 'patch' => :build
......
...@@ -5,7 +5,7 @@ class Redis < Package ...@@ -5,7 +5,7 @@ class Redis < Package
homepage 'https://redis.io/' homepage 'https://redis.io/'
version '3.0.6' version '3.0.6'
source_url 'http://download.redis.io/releases/redis-3.0.6.tar.gz' source_url 'http://download.redis.io/releases/redis-3.0.6.tar.gz'
source_sha1 '4b1c7b1201984bca8f7f9c6c58862f6928cf0a25' source_sha256 '6f1e1523194558480c3782d84d88c2decf08a8e4b930c56d4df038e565b75624'
depends_on 'buildessential' depends_on 'buildessential'
......
...@@ -5,7 +5,7 @@ class Rfkill < Package ...@@ -5,7 +5,7 @@ class Rfkill < Package
homepage 'http://linuxwireless.org/en/users/Documentation/rfkill' homepage 'http://linuxwireless.org/en/users/Documentation/rfkill'
version '0.5' version '0.5'
source_url 'https://www.kernel.org/pub/software/network/rfkill/rfkill-0.5.tar.xz' source_url 'https://www.kernel.org/pub/software/network/rfkill/rfkill-0.5.tar.xz'
source_sha1 '03025d4ae285c40d5c19ec99ef7b317afda9d900' source_sha256 'e0ae3004215e39a6c5c36e0726558740728d16f67ebdb8bea621250f6091d86a'
depends_on 'buildessential' => :build depends_on 'buildessential' => :build
......
require 'package'
class Rkhunter < Package
description 'Rootkit Hunter, security monitoring and analyzing tool for POSIX compliant systems.'
homepage 'http://rkhunter.sourceforge.net/'
version '1.4.4'
source_url 'https://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.4/rkhunter-1.4.4.tar.gz'
source_sha256 'a8807c83f9f325312df05aa215fa75ad697c7a16163175363c2066baa26dda77'
def self.install
system "sed -i 's,/var\",/usr/local/share\",g' installer.sh"
system "sed -i 's,/var/,/usr/local/share/,g' installer.sh"
system "bash installer.sh --layout /usr/local --install"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/etc"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/lib64"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/share/doc"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/share/lib"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/share/man/man8"
system "cp /usr/local/bin/rkhunter #{CREW_DEST_DIR}/usr/local/bin"
system "cp /usr/local/etc/rkhunter.conf #{CREW_DEST_DIR}/usr/local/etc"
system "cp -r /usr/local/lib64/rkhunter #{CREW_DEST_DIR}/usr/local/lib64"
system "cp -r /usr/local/share/doc/rkhunter-1.4.4 #{CREW_DEST_DIR}/usr/local/share/doc"
system "cp -r /usr/local/share/lib/rkhunter #{CREW_DEST_DIR}/usr/local/share/lib"
system "cp /usr/local/share/man/man8/rkhunter.8* #{CREW_DEST_DIR}/usr/local/share/man/man8"
end
end
...@@ -5,7 +5,7 @@ class Rsync < Package ...@@ -5,7 +5,7 @@ class Rsync < Package
homepage 'https://rsync.samba.org/' homepage 'https://rsync.samba.org/'
version '3.1.2' version '3.1.2'
source_url 'http://rsync.samba.org/ftp/rsync/src/rsync-3.1.2.tar.gz' source_url 'http://rsync.samba.org/ftp/rsync/src/rsync-3.1.2.tar.gz'
source_sha1 '0d4c7fb7fe3fc80eeff922a7c1d81df11dbb8a1a' source_sha256 'ecfa62a7fa3c4c18b9eccd8c16eaddee4bd308a76ea50b5c02a5840f09c0a1c2'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'perl' => :build depends_on 'perl' => :build
......
...@@ -5,7 +5,7 @@ class Rtmpdump < Package ...@@ -5,7 +5,7 @@ class Rtmpdump < Package
homepage 'https://rtmpdump.mplayerhq.hu/' homepage 'https://rtmpdump.mplayerhq.hu/'
version 'fa8646d' version 'fa8646d'
source_url 'https://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/fa8646daeb19dfd12c181f7d19de708d623704c0.tar.gz' source_url 'https://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/fa8646daeb19dfd12c181f7d19de708d623704c0.tar.gz'
source_sha1 '2faefe655b72f91540f39eebc3020f1c9dcc654e' source_sha256 'dba4d4d2e1c7de6884b01d98194b83cab6784669089fa3c919152087a3a38fd2'
def self.build def self.build
system "make" system "make"
......
...@@ -5,7 +5,7 @@ class Ruby < Package ...@@ -5,7 +5,7 @@ class Ruby < Package
homepage 'https://www.ruby-lang.org/en/' homepage 'https://www.ruby-lang.org/en/'
version '2.4.1' version '2.4.1'
source_url 'https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.xz' source_url 'https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.xz'
source_sha1 'eb3e25346431214379e3b92c6f6b6e02f7b2503f' source_sha256 '4fc8a9992de3e90191de369270ea4b6c1b171b7941743614cc50822ddc1fe654'
depends_on 'readline' depends_on 'readline'
depends_on 'ncurses' depends_on 'ncurses'
...@@ -14,7 +14,7 @@ class Ruby < Package ...@@ -14,7 +14,7 @@ class Ruby < Package
# at run-time, system's gmp, openssl, readline and zlibpkg are possible to use # at run-time, system's gmp, openssl, readline and zlibpkg are possible to use
def self.build def self.build
system "CC='gcc' ./configure" system "CC='gcc' ./configure --libdir=#{CREW_LIB_PREFIX} --enable-shared"
system "make" system "make"
end end
......
...@@ -5,7 +5,7 @@ class Ruby_latest < Package ...@@ -5,7 +5,7 @@ class Ruby_latest < Package
homepage 'https://www.ruby-lang.org/en/' homepage 'https://www.ruby-lang.org/en/'
version '2.4.0' version '2.4.0'
source_url 'http://cache.ruby-lang.org/pub/ruby/ruby-2.4.0.tar.xz' source_url 'http://cache.ruby-lang.org/pub/ruby/ruby-2.4.0.tar.xz'
source_sha1 '038804bbd0e77508dd2510b729a9f3b325489b2e' source_sha256 '3a87fef45cba48b9322236be60c455c13fd4220184ce7287600361319bb63690'
depends_on 'readline' depends_on 'readline'
depends_on 'zlibpkg' depends_on 'zlibpkg'
......
require 'package'
class S < Package
description 'Open a web search in your terminal.'
homepage 'https://github.com/zquestz/s'
version '0.5.10'
case ARCH
when 'aarch64'
source_url 'https://github.com/zquestz/s/releases/download/v0.5.10/s-linux_arm.zip'
source_sha256 '4d31cbb3f81a52946d9e40e1d3ebb650d7112c5c3d45c07ae29435bfea2c0dea'
when 'armv7l'
source_url 'https://github.com/zquestz/s/releases/download/v0.5.10/s-linux_arm.zip'
source_sha256 '4d31cbb3f81a52946d9e40e1d3ebb650d7112c5c3d45c07ae29435bfea2c0dea'
when 'i686'
source_url 'https://github.com/zquestz/s/releases/download/v0.5.10/s-linux_386.zip'
source_sha256 'ff94e41816bcaadbd0edd334fae634e71afd1bb4f2acb5dc52f6849714c64e68'
when 'x86_64'
source_url 'https://github.com/zquestz/s/releases/download/v0.5.10/s-linux_amd64.zip'
source_sha256 '1e9a379071171ffaa28ce4d697389a70b115955335e41cfbbd37197404129d49'
end
depends_on 'links'
depends_on 'unzip'
def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "mkdir -p #{CREW_DEST_DIR}/home/#{USER}/user"
system "cp autocomplete/s-completion.bash /home/#{USER}/user/.s-completion.bash"
system "cp autocomplete/s-completion.bash #{CREW_DEST_DIR}/home/#{USER}/user/.s-completion.bash"
system "cp autocomplete/s.fish /home/#{USER}/user/.s.fish"
system "cp autocomplete/s.fish #{CREW_DEST_DIR}/home/#{USER}/user/.s.fish"
system "cp s #{CREW_DEST_DIR}/usr/local/bin"
puts ""
puts "In order to enable autocomplete for bash, execute the following:".lightblue
puts "echo \"source ~/.s-completion.bash\" >> ~/.bashrc && source ~/.bashrc".lightblue
puts ""
puts "In order to enable a default search binary, execute the following:".lightblue
puts "echo \"alias s='s -b links'\" >> ~/.bashrc && source ~/.bashrc".lightblue
puts ""
puts "Example usage: s [-b links] best linux command line utilities".lightblue
puts ""
end
end
...@@ -5,7 +5,7 @@ class Sbt < Package ...@@ -5,7 +5,7 @@ class Sbt < Package
homepage 'http://www.scala-sbt.org/' homepage 'http://www.scala-sbt.org/'
version '0.13.15' version '0.13.15'
source_url 'https://github.com/sbt/sbt/releases/download/v0.13.15/sbt-0.13.15.tgz' source_url 'https://github.com/sbt/sbt/releases/download/v0.13.15/sbt-0.13.15.tgz'
source_sha1 '46f07dbfec874be8687072e07d2c3f22b4f7cc76' source_sha256 'b6e073d7c201741dcca92cfdd1dd3cd76c42a47dc9d8c8ead8df7117deed7aef'
depends_on 'jdk8' depends_on 'jdk8'
......
...@@ -5,7 +5,7 @@ class Scons < Package ...@@ -5,7 +5,7 @@ class Scons < Package
homepage 'http://scons.org/' homepage 'http://scons.org/'
version '2.5.1' version '2.5.1'
source_url 'http://prdownloads.sourceforge.net/scons/scons-2.5.1.tar.gz' source_url 'http://prdownloads.sourceforge.net/scons/scons-2.5.1.tar.gz'
source_sha1 'f742350251734df75355e51c70f291e119ef927a' source_sha256 '0b25218ae7b46a967db42f2a53721645b3d42874a65f9552ad16ce26d30f51f2'
depends_on 'python27' depends_on 'python27'
......
...@@ -5,7 +5,7 @@ class Screen < Package ...@@ -5,7 +5,7 @@ class Screen < Package
homepage 'https://www.gnu.org/software/screen/' homepage 'https://www.gnu.org/software/screen/'
version '4.3.1' version '4.3.1'
source_url 'ftp://ftp.gnu.org/gnu/screen/screen-4.3.1.tar.gz' source_url 'ftp://ftp.gnu.org/gnu/screen/screen-4.3.1.tar.gz'
source_sha1 'a524761504e28480517e338b20c852f2ab100c93' source_sha256 'fa4049f8aee283de62e283d427f2cfd35d6c369b40f7f45f947dbfd915699d63'
depends_on 'ncurses' depends_on 'ncurses'
......
...@@ -5,7 +5,7 @@ class Screenfetch < Package ...@@ -5,7 +5,7 @@ class Screenfetch < Package
homepage 'https://github.com/KittyKatt/screenFetch' homepage 'https://github.com/KittyKatt/screenFetch'
version '3.7.0' version '3.7.0'
source_url 'https://github.com/KittyKatt/screenFetch/archive/v3.7.0.tar.gz' source_url 'https://github.com/KittyKatt/screenFetch/archive/v3.7.0.tar.gz'
source_sha1 '5a3702504e154335e372df56e4cb621840dc5506' source_sha256 '6711fe924833919d53c1dfbbb43f3777d33e20357a1b1536c4472f6a1b3c6be0'
def self.build def self.build
end end
......
...@@ -5,7 +5,7 @@ class Scrollz < Package ...@@ -5,7 +5,7 @@ class Scrollz < Package
homepage 'http://www.scrollz.info/' homepage 'http://www.scrollz.info/'
version '2.3' version '2.3'
source_url 'http://www.scrollz.info/download/ScrollZ-2.3.tar.gz' source_url 'http://www.scrollz.info/download/ScrollZ-2.3.tar.gz'
source_sha1 '991e6acfdf95d84ca159a37336c2d45a624d432f' source_sha256 '22535bcc54ad752107ab181775d90d9cf1b37648f500d627f428388a9d3710e6'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'ncurses' depends_on 'ncurses'
......
...@@ -5,7 +5,7 @@ class Serf < Package ...@@ -5,7 +5,7 @@ class Serf < Package
homepage 'https://serf.apache.org/' homepage 'https://serf.apache.org/'
version '1.3.9' version '1.3.9'
source_url 'https://www.apache.org/dist/serf/serf-1.3.9.tar.bz2' source_url 'https://www.apache.org/dist/serf/serf-1.3.9.tar.bz2'
source_sha1 '26015c63e3bbb108c1689bf2090e4c26351db674' source_sha256 '549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc'
depends_on 'scons' depends_on 'scons'
depends_on 'aprutil' depends_on 'aprutil'
......
require "package" require 'package'
class Sfk < Package class Sfk < Package
description 'The Swiss File Knife - A Command Line Tools Collection for Windows / Linux / Mac.' description 'The Swiss File Knife - A Command Line Tools Collection for Windows / Linux / Mac.'
homepage 'http://swissfileknife.sourceforge.net/' homepage 'http://swissfileknife.sourceforge.net/'
version "1.8.6" version '1.8.6'
source_url "https://sourceforge.net/projects/swissfileknife/files/1-swissfileknife/1.8.6/sfk-1.8.6.tar.gz" source_url 'https://sourceforge.net/projects/swissfileknife/files/1-swissfileknife/1.8.6/sfk-1.8.6.tar.gz'
source_sha1 "d45d80d8a452d121ad85ec1d909fb3f85c17ee3f" source_sha256 'e65ec60b529785accdb90a77c99376888898764b2d79f6d4280077992994b1e2'
def self.build def self.build
system "./configure" system './configure'
system "make" system 'make'
end end
def self.install def self.install
......
...@@ -5,7 +5,7 @@ class Slang < Package ...@@ -5,7 +5,7 @@ class Slang < Package
homepage 'http://www.jedsoft.org/slang/' homepage 'http://www.jedsoft.org/slang/'
version '2.3.1a' version '2.3.1a'
source_url 'http://www.jedsoft.org/releases/slang/slang-2.3.1a.tar.bz2' source_url 'http://www.jedsoft.org/releases/slang/slang-2.3.1a.tar.bz2'
source_sha1 'a8ea7f1b5736160a94efb67b137a0f5b9916bdf2' source_sha256 '54f0c3007fde918039c058965dffdfd6c5aec0bad0f4227192cc486021f08c36'
def self.build def self.build
system "./configure", "--prefix=/usr/local", "--without-x" system "./configure", "--prefix=/usr/local", "--without-x"
......
...@@ -5,7 +5,7 @@ class Sluice < Package ...@@ -5,7 +5,7 @@ class Sluice < Package
homepage 'http://kernel.ubuntu.com/~cking/sluice/' homepage 'http://kernel.ubuntu.com/~cking/sluice/'
version '0.02.06' version '0.02.06'
source_url 'http://kernel.ubuntu.com/~cking/tarballs/sluice/sluice-0.02.06.tar.gz' source_url 'http://kernel.ubuntu.com/~cking/tarballs/sluice/sluice-0.02.06.tar.gz'
source_sha1 'c1afc98790147c2c48bc5675de8352812b4f1fea' source_sha256 'a1f06c2e7077e28fedb2b4f82066f6e6396bbd2fb4e8f22ef219ff573cdbe163'
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,9 +5,9 @@ class Smemstat < Package ...@@ -5,9 +5,9 @@ class Smemstat < Package
homepage 'http://kernel.ubuntu.com/~cking/smemstat/' homepage 'http://kernel.ubuntu.com/~cking/smemstat/'
version '0.01.16' version '0.01.16'
source_url 'http://kernel.ubuntu.com/~cking/tarballs/smemstat/smemstat-0.01.16.tar.gz' source_url 'http://kernel.ubuntu.com/~cking/tarballs/smemstat/smemstat-0.01.16.tar.gz'
source_sha1 '4efdd89afa15ea7e4cb302653418935dab3c626a' source_sha256 '232e220574a6d7a8d75dec3aae79ae26b2102cd62ade9d1b2a78a5baa2d1c392'
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 Socat < Package ...@@ -5,7 +5,7 @@ class Socat < Package
homepage 'http://www.dest-unreach.org/socat/' homepage 'http://www.dest-unreach.org/socat/'
version '1.7.3.1' version '1.7.3.1'
source_url 'http://www.dest-unreach.org/socat/download/socat-1.7.3.1.tar.gz' source_url 'http://www.dest-unreach.org/socat/download/socat-1.7.3.1.tar.gz'
source_sha1 'a6f1d8ab3e85f565dbe172f33a9be6708dd52ffb' source_sha256 'a8cb07b12bcd04c98f4ffc1c68b79547f5dd4e23ddccb132940f6d55565c7f79'
depends_on 'readline' depends_on 'readline'
depends_on 'openssl' depends_on 'openssl'
......
...@@ -5,7 +5,7 @@ class Speex < Package ...@@ -5,7 +5,7 @@ class Speex < Package
homepage 'https://speex.org/' homepage 'https://speex.org/'
version '1.2.0' version '1.2.0'
source_url 'http://downloads.us.xiph.org/releases/speex/speex-1.2.0.tar.gz' source_url 'http://downloads.us.xiph.org/releases/speex/speex-1.2.0.tar.gz'
source_sha1 '18ebc3fa3236b4369509e9439acc32d0e864fa7f' source_sha256 'eaae8af0ac742dc7d542c9439ac72f1f385ce838392dc849cae4536af9210094'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -5,10 +5,10 @@ class Sqlite < Package ...@@ -5,10 +5,10 @@ class Sqlite < Package
homepage 'http://www.sqlite.org/' homepage 'http://www.sqlite.org/'
version '3.18.0-1' version '3.18.0-1'
source_url 'https://www.sqlite.org/2017/sqlite-autoconf-3180000.tar.gz' source_url 'https://www.sqlite.org/2017/sqlite-autoconf-3180000.tar.gz'
source_sha1 '74559194e1dd9b9d577cac001c0e9d370856671b' source_sha256 '3757612463976e7d08c5e9f0af3021613fc24bbcfe1c51197d6776b9ece9ac5c'
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
......
...@@ -5,7 +5,7 @@ class Sshfs < Package ...@@ -5,7 +5,7 @@ class Sshfs < Package
homepage 'https://github.com/libfuse/sshfs' homepage 'https://github.com/libfuse/sshfs'
version '2.8' version '2.8'
source_url 'https://github.com/libfuse/sshfs/releases/download/sshfs_2.8/sshfs-2.8.tar.gz' source_url 'https://github.com/libfuse/sshfs/releases/download/sshfs_2.8/sshfs-2.8.tar.gz'
source_sha1 '2b792aa5b3a45e0c3fe65c44bd9da8f64a690830' source_sha256 '7f689174d02e6b7e2631306fda4fb8e6b4483102d1bce82b3cdafba33369ad22'
depends_on 'glib' depends_on 'glib'
depends_on 'fuse' depends_on 'fuse'
......
require 'package'
class Stack < Package
description 'The Haskell Tool Stack - Stack is a cross-platform program for developing Haskell projects. It is aimed at Haskellers both new and experienced.'
homepage 'https://docs.haskellstack.org/en/stable/README/'
version '1.4.0'
case ARCH
when 'i686'
source_url 'https://github.com/commercialhaskell/stack/releases/download/v1.4.0/stack-1.4.0-linux-i386.tar.gz'
source_sha256 'aabd307f7dcb585a7821d7b44a73527f0928a76c48711e6968262ee87c86bc14'
when 'x86_64'
source_url 'https://github.com/commercialhaskell/stack/releases/download/v1.4.0/stack-1.4.0-linux-x86_64.tar.gz'
source_sha256 '618a309d763432a2cca654bc29249a77c7de096c693a28b84dd3656470269f5a'
end
def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "cp stack #{CREW_DEST_DIR}/usr/local/bin"
end
end
...@@ -5,7 +5,7 @@ class Strace < Package ...@@ -5,7 +5,7 @@ class Strace < Package
homepage 'https://strace.io/' homepage 'https://strace.io/'
version '4.16' version '4.16'
source_url 'https://downloads.sourceforge.net/project/strace/strace/4.16/strace-4.16.tar.xz' source_url 'https://downloads.sourceforge.net/project/strace/strace/4.16/strace-4.16.tar.xz'
source_sha1 'b780a8cd2e60ea836cfd3468e0f81623a346d180' source_sha256 '98487cb5178ec1259986cc9f6e2a844f50e5d1208c112cc22431a1e4d9adf0ef'
depends_on 'buildessential' depends_on 'buildessential'
......
...@@ -5,7 +5,7 @@ class Stunnel < Package ...@@ -5,7 +5,7 @@ class Stunnel < Package
homepage 'https://www.stunnel.org/index.html' homepage 'https://www.stunnel.org/index.html'
version '5.41' version '5.41'
source_url 'https://www.stunnel.org/downloads/stunnel-5.41.tar.gz' source_url 'https://www.stunnel.org/downloads/stunnel-5.41.tar.gz'
source_sha1 '9aa8335e0f9571480b0d62b4b58d9d510447b732' source_sha256 'f05c6321ee1f6ddebacc234ccf20825971941e831b5beea6d0ce0b8e1668148f'
depends_on 'openssl' depends_on 'openssl'
......
...@@ -5,7 +5,7 @@ class Subversion < Package ...@@ -5,7 +5,7 @@ class Subversion < Package
homepage 'https://subversion.apache.org/' homepage 'https://subversion.apache.org/'
version '1.9.5' version '1.9.5'
source_url 'http://apache.mirrors.ionfish.org/subversion/subversion-1.9.5.tar.gz' source_url 'http://apache.mirrors.ionfish.org/subversion/subversion-1.9.5.tar.gz'
source_sha1 'ac9f8ee235f1b667dd6506864af8035aaedfc2d9' source_sha256 '280ba586c5d51d7b976b65d22d5e8e42f3908ed1c968d71120dcf534ce857a83'
depends_on 'aprutil' depends_on 'aprutil'
depends_on 'sqlite' depends_on 'sqlite'
......
...@@ -5,7 +5,7 @@ class Sysstat < Package ...@@ -5,7 +5,7 @@ class Sysstat < Package
homepage 'http://sebastien.godard.pagesperso-orange.fr/' homepage 'http://sebastien.godard.pagesperso-orange.fr/'
version '11.5.6' version '11.5.6'
source_url 'https://github.com/sysstat/sysstat/archive/v11.5.6.tar.gz' source_url 'https://github.com/sysstat/sysstat/archive/v11.5.6.tar.gz'
source_sha1 'a8913a7a8418590bc6ea77a7bbe737577ef96e33' source_sha256 '2ba2c6bfe0870e3b10061ec19b2623283d4922bc6d824b1ba6534a27001d9fa8'
def self.build def self.build
system "sed -i 's/GRP=root/GRP=$(whoami)/' configure" system "sed -i 's/GRP=root/GRP=$(whoami)/' configure"
......
...@@ -5,14 +5,14 @@ class Tcl < Package ...@@ -5,14 +5,14 @@ class Tcl < Package
homepage 'http://www.tcl.tk/' homepage 'http://www.tcl.tk/'
version '8.6.6' version '8.6.6'
source_url 'http://downloads.sourceforge.net/tcl/tcl8.6.6-src.tar.gz' source_url 'http://downloads.sourceforge.net/tcl/tcl8.6.6-src.tar.gz'
source_sha1 '169dd1589cad62c9fac4257c113db245da502cd0' source_sha256 'a265409781e4b3edcc4ef822533071b34c3dc6790b893963809b9fe221befe07'
def self.build def self.build
FileUtils.chdir("unix") do FileUtils.chdir("unix") do
if `uname -m`.strip == "x86_64" if `uname -m`.strip == "x86_64"
system "./configure --prefix=/usr/local --enable-64bit" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} --enable-64bit"
else else
system "./configure --prefix=/usr/local" system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
end end
system "make" system "make"
end end
......
...@@ -5,7 +5,7 @@ class Tcpdump < Package ...@@ -5,7 +5,7 @@ class Tcpdump < Package
homepage 'http://www.tcpdump.org/' homepage 'http://www.tcpdump.org/'
version '4.8.1' version '4.8.1'
source_url 'http://www.tcpdump.org/release/tcpdump-4.8.1.tar.gz' source_url 'http://www.tcpdump.org/release/tcpdump-4.8.1.tar.gz'
source_sha1 '364c8a60b637d1b122769fdeae79bcd300d5bd5c' source_sha256 '20e4341ec48fcf72abcae312ea913e6ba6b958617b2f3fb496d51f0ae88d831c'
depends_on 'libpcap' depends_on 'libpcap'
depends_on 'openssl' depends_on 'openssl'
......
...@@ -5,7 +5,7 @@ class Tcpstat < Package ...@@ -5,7 +5,7 @@ class Tcpstat < Package
homepage 'http://www.frenchfries.net/paul/tcpstat/' homepage 'http://www.frenchfries.net/paul/tcpstat/'
version '1.5' version '1.5'
source_url 'https://web.archive.org/web/20160504233625/http://www.frenchfries.net/paul/tcpstat/tcpstat-1.5.tar.gz' source_url 'https://web.archive.org/web/20160504233625/http://www.frenchfries.net/paul/tcpstat/tcpstat-1.5.tar.gz'
source_sha1 '3881edafe2a45c807a6f197792251036c599ec50' source_sha256 '46fde9458cc5678264b0c5f2197f84ada9101951197fdeec5f04b0801fcff0ba'
def self.build def self.build
system "./configure", "--prefix=/usr/local" system "./configure", "--prefix=/usr/local"
......
...@@ -5,7 +5,7 @@ class Termcap < Package ...@@ -5,7 +5,7 @@ class Termcap < Package
homepage 'https://www.gnu.org/software/termutils/' homepage 'https://www.gnu.org/software/termutils/'
version '1.3.1' version '1.3.1'
source_url 'https://ftp.gnu.org/gnu/termcap/termcap-1.3.1.tar.gz' source_url 'https://ftp.gnu.org/gnu/termcap/termcap-1.3.1.tar.gz'
source_sha1 '42dd1e6beee04f336c884f96314f0c96cc2578be' source_sha256 '91a0e22e5387ca4467b5bcb18edf1c51b930262fd466d5fda396dd9d26719100'
def self.build def self.build
system "./configure" system "./configure"
......
...@@ -3,16 +3,30 @@ require 'package' ...@@ -3,16 +3,30 @@ require 'package'
class Texinfo < Package class Texinfo < Package
description 'Texinfo is the official documentation format of the GNU project.' description 'Texinfo is the official documentation format of the GNU project.'
homepage 'https://www.gnu.org/software/texinfo/' homepage 'https://www.gnu.org/software/texinfo/'
version '6.3' version '6.4'
source_url 'http://ftp.gnu.org/gnu/texinfo/texinfo-6.3.tar.gz' source_url 'http://ftpmirror.gnu.org/texinfo/texinfo-6.4.tar.xz'
source_sha1 '29b16c646c7bc9cd351b2f1d8dafdce70e5377f6' source_sha256 '6ae2e61d87c6310f9af7c6f2426bd0470f251d1a6deb61fba83a3b3baff32c3a'
depends_on 'gettext' => :build
depends_on 'perl'
depends_on 'ncurses'
def self.build def self.build
system "./configure" # installing necessary perl modules
system 'cpan', 'install', 'CPAN', 'Locale::Messages', 'Text::Unidecode', 'Unicode::EastAsianWidth'
# configure and make
system './configure',
'--with-external-Text-Unidecode',
'--with-external-Unicode-EastAsianWidth'
system "make" system "make"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
def self.check
system "make check"
end
end end
...@@ -5,7 +5,7 @@ class Tig < Package ...@@ -5,7 +5,7 @@ class Tig < Package
homepage 'http://jonas.nitro.dk/tig/' homepage 'http://jonas.nitro.dk/tig/'
version '2.2.1' version '2.2.1'
source_url 'https://github.com/jonas/tig/archive/tig-2.2.1.tar.gz' source_url 'https://github.com/jonas/tig/archive/tig-2.2.1.tar.gz'
source_sha1 '704e35ad3f54024d7ce14dade4294aacc0744b3d' source_sha256 '92d96635068d779df58aea3fbfa86c5869e39c11c7868d5b3d62229360b5336f'
depends_on 'readline' depends_on 'readline'
depends_on 'ncurses' depends_on 'ncurses'
......
...@@ -5,7 +5,7 @@ class Tinycc < Package ...@@ -5,7 +5,7 @@ class Tinycc < Package
homepage 'http://bellard.org/tcc/' homepage 'http://bellard.org/tcc/'
version '0.9.26' version '0.9.26'
source_url 'http://download.savannah.gnu.org/releases/tinycc/tcc-0.9.26.tar.bz2' source_url 'http://download.savannah.gnu.org/releases/tinycc/tcc-0.9.26.tar.bz2'
source_sha1 '7110354d3637d0e05f43a006364c897248aed5d0' source_sha256 '521e701ae436c302545c3f973a9c9b7e2694769c71d9be10f70a2460705b6d71'
def self.build def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
......
...@@ -5,7 +5,7 @@ class Tmux < Package ...@@ -5,7 +5,7 @@ class Tmux < Package
homepage 'http://tmux.github.io/' homepage 'http://tmux.github.io/'
version '2.2' version '2.2'
source_url 'https://github.com/tmux/tmux/releases/download/2.2/tmux-2.2.tar.gz' source_url 'https://github.com/tmux/tmux/releases/download/2.2/tmux-2.2.tar.gz'
source_sha1 '5ed1430bc7ef44c227e64e9401c686573dd0791a' source_sha256 'bc28541b64f99929fe8e3ae7a02291263f3c97730781201824c0f05d7c8e19e4'
depends_on 'readline' depends_on 'readline'
depends_on 'libevent' depends_on 'libevent'
......
...@@ -5,7 +5,7 @@ class Traceroute < Package ...@@ -5,7 +5,7 @@ class Traceroute < Package
homepage 'http://traceroute.sourceforge.net/' homepage 'http://traceroute.sourceforge.net/'
version '2.1.0' version '2.1.0'
source_url 'https://downloads.sourceforge.net/project/traceroute/traceroute/traceroute-2.1.0/traceroute-2.1.0.tar.gz' source_url 'https://downloads.sourceforge.net/project/traceroute/traceroute/traceroute-2.1.0/traceroute-2.1.0.tar.gz'
source_sha1 'bc5c6c8022187511be5665b3818d919be5987dcc' source_sha256 '3669d22a34d3f38ed50caba18cd525ba55c5c00d5465f2d20d7472e5d81603b6'
def self.build def self.build
# add /usr/lib64 to vpath to check /usr/lib64/libm.so # add /usr/lib64 to vpath to check /usr/lib64/libm.so
......
...@@ -5,7 +5,7 @@ class Tree < Package ...@@ -5,7 +5,7 @@ class Tree < Package
homepage 'http://mama.indstate.edu/users/ice/tree/' homepage 'http://mama.indstate.edu/users/ice/tree/'
version '1.7.0' version '1.7.0'
source_url 'http://mama.indstate.edu/users/ice/tree/src/tree-1.7.0.tgz' source_url 'http://mama.indstate.edu/users/ice/tree/src/tree-1.7.0.tgz'
source_sha1 '35bd212606e6c5d60f4d5062f4a59bb7b7b25949' source_sha256 '6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12'
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 Trousers < Package ...@@ -5,7 +5,7 @@ class Trousers < Package
homepage 'http://trousers.sourceforge.net/' homepage 'http://trousers.sourceforge.net/'
version '0.3.14' version '0.3.14'
source_url 'https://downloads.sourceforge.net/project/trousers/trousers/0.3.14/trousers-0.3.14.tar.gz' source_url 'https://downloads.sourceforge.net/project/trousers/trousers/0.3.14/trousers-0.3.14.tar.gz'
source_sha1 '9ca2cc9e1179465f6c5d9055e2b855e25031b85a' source_sha256 'ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47'
depends_on 'openssl' depends_on 'openssl'
depends_on 'libtool' depends_on 'libtool'
......
...@@ -5,7 +5,7 @@ class Txt2man < Package ...@@ -5,7 +5,7 @@ class Txt2man < Package
homepage 'http://mvertes.free.fr/' homepage 'http://mvertes.free.fr/'
version '1.5.6' version '1.5.6'
source_url 'http://mvertes.free.fr/download/txt2man-1.5.6.tar.gz' source_url 'http://mvertes.free.fr/download/txt2man-1.5.6.tar.gz'
source_sha1 'ef1392785333ea88f7e01f4f4c519ecfbdd498bd' source_sha256 '984825c5fd0cb3495160bf3277f327078081a8dc219dc466509e307ec9a2b52a'
depends_on 'gawk' depends_on 'gawk'
depends_on 'mandb' depends_on 'mandb'
......
...@@ -5,7 +5,7 @@ class Unrar < Package ...@@ -5,7 +5,7 @@ class Unrar < Package
homepage 'http://www.rarlab.com/' homepage 'http://www.rarlab.com/'
version '5.4.5' version '5.4.5'
source_url 'http://www.rarlab.com/rar/unrarsrc-5.4.5.tar.gz' source_url 'http://www.rarlab.com/rar/unrarsrc-5.4.5.tar.gz'
source_sha1 '1590aec535792def68710dad7b73d5522e50c971' source_sha256 'e470c584332422893fb52e049f2cbd99e24dc6c6da971008b4e2ae4284f8796c'
def self.build def self.build
system "sed -i '145s,$,/libunrar.so,' makefile" # fix naming mistake system "sed -i '145s,$,/libunrar.so,' makefile" # fix naming mistake
......
...@@ -5,7 +5,7 @@ class Unshield < Package ...@@ -5,7 +5,7 @@ class Unshield < Package
homepage 'https://github.com/twogood/unshield' homepage 'https://github.com/twogood/unshield'
version '1.4.2' version '1.4.2'
source_url 'https://github.com/twogood/unshield/archive/1.4.2.tar.gz' source_url 'https://github.com/twogood/unshield/archive/1.4.2.tar.gz'
source_sha1 '02935c888b04507f0a14036773539a4f8c20a152' source_sha256 '5dd4ea0c7e97ad8e3677ff3a254b116df08a5d041c2df8859aad5c4f88d1f774'
depends_on 'cmake' depends_on 'cmake'
......
...@@ -5,7 +5,8 @@ class Unzip < Package ...@@ -5,7 +5,8 @@ class Unzip < Package
homepage 'http://www.info-zip.org/UnZip.html' homepage 'http://www.info-zip.org/UnZip.html'
version '1.6_1' version '1.6_1'
source_url 'https://downloads.sourceforge.net/project/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz' source_url 'https://downloads.sourceforge.net/project/infozip/UnZip%206.x%20%28latest%29/UnZip%206.0/unzip60.tar.gz'
source_sha1 'abf7de8a4018a983590ed6f5cbd990d4740f8a22' source_sha256 '036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37'
depends_on 'patch' depends_on 'patch'
# adapted from the homebrew recipe as seen at: https://github.com/Homebrew/homebrew-dupes/blob/master/unzip.rb # adapted from the homebrew recipe as seen at: https://github.com/Homebrew/homebrew-dupes/blob/master/unzip.rb
......
...@@ -5,7 +5,7 @@ class Valgrind < Package ...@@ -5,7 +5,7 @@ class Valgrind < Package
homepage 'http://valgrind.org/' homepage 'http://valgrind.org/'
version '3.13.0' version '3.13.0'
source_url 'ftp://sourceware.org/pub/valgrind/valgrind-3.13.0.tar.bz2' source_url 'ftp://sourceware.org/pub/valgrind/valgrind-3.13.0.tar.bz2'
source_sha1 'ddf13e22dd0ee688bd533fc66b94cf88f75fad86' source_sha256 'd76680ef03f00cd5e970bbdcd4e57fb1f6df7d2e2c071635ef2be74790190c3b'
def self.build def self.build
system './configure' system './configure'
......
...@@ -5,7 +5,7 @@ class Vidstab < Package ...@@ -5,7 +5,7 @@ class Vidstab < Package
homepage 'http://public.hronopik.de/vid.stab/' homepage 'http://public.hronopik.de/vid.stab/'
version '0.98b' version '0.98b'
source_url 'https://github.com/georgmartius/vid.stab/archive/release-0.98b.tar.gz' source_url 'https://github.com/georgmartius/vid.stab/archive/release-0.98b.tar.gz'
source_sha1 '1030a1baa9b2cba844758a6cd8dd5d5fc23f9cd9' source_sha256 '530f0bf7479ec89d9326af3a286a15d7d6a90fcafbb641e3b8bdb8d05637d025'
depends_on 'cmake' depends_on 'cmake'
......
...@@ -5,9 +5,9 @@ class Vifm < Package ...@@ -5,9 +5,9 @@ class Vifm < Package
homepage 'https://vifm.info/' homepage 'https://vifm.info/'
version '0.8.2' version '0.8.2'
source_url 'https://downloads.sourceforge.net/project/vifm/vifm/vifm-0.8.2.tar.bz2' source_url 'https://downloads.sourceforge.net/project/vifm/vifm/vifm-0.8.2.tar.bz2'
source_sha1 '1ae4179b2b9a43c440290af0ecc91b9235203be7' source_sha256 '8b466d766658a24d07fc2039a26fefc6a018f5653684a6035183ca79f02c211f'
depends_on "ncurses" depends_on 'ncurses'
def self.build def self.build
system "./configure", \ system "./configure", \
......
...@@ -5,7 +5,7 @@ class Vim < Package ...@@ -5,7 +5,7 @@ class Vim < Package
homepage 'http://www.vim.org/' homepage 'http://www.vim.org/'
version '8.0-1' version '8.0-1'
source_url 'ftp://ftp.vim.org/pub/vim/unix/vim-8.0.tar.bz2' source_url 'ftp://ftp.vim.org/pub/vim/unix/vim-8.0.tar.bz2'
source_sha1 '54bb7fe631ed8eaea5675ec934e88b0da1f1eca0' source_sha256 '08bd0d1dd30ece3cb9905ccd48b82b2f81c861696377508021265177dc153a61'
depends_on 'ncurses' depends_on 'ncurses'
# vim uses shared library of following languages, so need them isntalled at run-time # vim uses shared library of following languages, so need them isntalled at run-time
......
...@@ -5,7 +5,7 @@ class Wbox < Package ...@@ -5,7 +5,7 @@ class Wbox < Package
homepage 'http://www.hping.org/wbox/' homepage 'http://www.hping.org/wbox/'
version '5' version '5'
source_url 'http://www.hping.org/wbox/wbox-5.tar.gz' source_url 'http://www.hping.org/wbox/wbox-5.tar.gz'
source_sha1 '5f20fca378c8abf53bb6a9069ecdebeb40a74147' source_sha256 '1589d85e83c8ee78383a491d89e768ab9aab9f433c5f5e035cfb5eed17efaa19'
def self.build def self.build
system "make" system "make"
......
...@@ -5,7 +5,7 @@ class Whois < Package ...@@ -5,7 +5,7 @@ class Whois < Package
homepage 'https://github.com/rfc1036/whois' homepage 'https://github.com/rfc1036/whois'
version '5.2.16' version '5.2.16'
source_url 'https://github.com/rfc1036/whois/archive/v5.2.16.tar.gz' source_url 'https://github.com/rfc1036/whois/archive/v5.2.16.tar.gz'
source_sha1 '1a5afb7363ef62de0565ae10cee7f0a42b6b260e' source_sha256 'd8204ca199329f14c33cb9f893b0f50918dbef34a6838317270e65c55ab32615'
depends_on 'gettext' depends_on 'gettext'
......
...@@ -7,7 +7,7 @@ class Wine < Package ...@@ -7,7 +7,7 @@ class Wine < Package
homepage 'https://www.winehq.org/' homepage 'https://www.winehq.org/'
version '2.10' version '2.10'
source_url 'https://dl.winehq.org/wine/source/2.x/wine-2.10.tar.xz' source_url 'https://dl.winehq.org/wine/source/2.x/wine-2.10.tar.xz'
source_sha1 '886bc24c315b2accbc2ad41d921e92177768f3a5' source_sha256 '488df7ffd2e81da455bf428fc9eb784bb4273a890334500895665711bd52f179'
depends_on 'bison' depends_on 'bison'
depends_on 'flex' depends_on 'flex'
...@@ -15,9 +15,9 @@ class Wine < Package ...@@ -15,9 +15,9 @@ class Wine < Package
def self.build def self.build
case ARCH case ARCH
when "i686" || "armv7l" when "i686" || "armv7l" || "aarch64"
system "./configure --without-x" system "./configure --without-x"
when "x86_64" || "aarch64" when "x86_64"
system "./configure --without-x --enable-win64" system "./configure --without-x --enable-win64"
else else
abort "Error getting your device configuration." abort "Error getting your device configuration."
...@@ -27,7 +27,7 @@ class Wine < Package ...@@ -27,7 +27,7 @@ class Wine < Package
def self.install def self.install
case ARCH case ARCH
when "x86_64" || "aarch64" when "x86_64"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin" system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
FileUtils.cd("#{CREW_DEST_DIR}/usr/local/bin") do FileUtils.cd("#{CREW_DEST_DIR}/usr/local/bin") do
system "ln -s wine64 wine" system "ln -s wine64 wine"
......
...@@ -5,7 +5,7 @@ class Xe < Package ...@@ -5,7 +5,7 @@ class Xe < Package
homepage 'https://github.com/chneukirchen/xe/' homepage 'https://github.com/chneukirchen/xe/'
version '0.6.1' version '0.6.1'
source_url 'https://github.com/chneukirchen/xe/archive/v0.6.1.tar.gz' source_url 'https://github.com/chneukirchen/xe/archive/v0.6.1.tar.gz'
source_sha1 '76c0a31c4d646314c3e92753a2fec3ae7cedad1d' source_sha256 '36036d0e9464233d3113af187c473491298ed1168976330d7dd615b8f0521b96'
def self.build def self.build
system "make", "PREFIX=/usr/local" system "make", "PREFIX=/usr/local"
......
...@@ -5,7 +5,7 @@ class Xxhash < Package ...@@ -5,7 +5,7 @@ class Xxhash < Package
homepage 'http://cyan4973.github.io/xxHash/' homepage 'http://cyan4973.github.io/xxHash/'
version '0.6.2' version '0.6.2'
source_url 'https://github.com/Cyan4973/xxHash/archive/v0.6.2.tar.gz' source_url 'https://github.com/Cyan4973/xxHash/archive/v0.6.2.tar.gz'
source_sha1 '303f93e57b4e1ddc627d62a3313eaab82fd11720' source_sha256 'e4da793acbe411e7572124f958fa53b280e5f1821a8bf78d79ace972950b8f82'
def self.build def self.build
system "make" system "make"
......
...@@ -5,7 +5,7 @@ class Xzutils < Package ...@@ -5,7 +5,7 @@ class Xzutils < Package
homepage 'http://tukaani.org/xz/' homepage 'http://tukaani.org/xz/'
version '5.2.3-2' version '5.2.3-2'
source_url 'http://tukaani.org/xz/xz-5.2.3.tar.gz' source_url 'http://tukaani.org/xz/xz-5.2.3.tar.gz'
source_sha1 '529638eec3597e429cc54c74551ac0a89169e841' source_sha256 '71928b357d0a09a12a4b4c5fafca8c31c19b0e7d3b8ebb19622e96f26dbf28cb'
def self.build def self.build
system "./configure", "--prefix=/usr/local", "--libdir=#{CREW_LIB_PREFIX}", system "./configure", "--prefix=/usr/local", "--libdir=#{CREW_LIB_PREFIX}",
......
require 'package'
class Yarn < Package
description 'Yarn is a new package manager for JavaScript and an alternative to npm.'
homepage 'https://yarnpkg.com/en/'
version '0.27.0-20170629.1443'
source_url 'https://nightly.yarnpkg.com/yarn-v0.27.0-20170629.1443.tar.gz'
source_sha256 'e1086d267151cd05896b15023e8c4e253a64e675a80bb38dc294b5b1c86c6656'
depends_on 'node' unless File.exists? '/usr/local/bin/node'
def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local"
system "cp -r lib/ #{CREW_DEST_DIR}/usr/local"
system "cp -r bin/ #{CREW_DEST_DIR}/usr/local"
end
end
require 'package' require 'package'
class Yasm < Package class Yasm < Package
version '1.3.0' version '1.3.0'
description 'Yasm is a complete rewrite of the NASM assembler under the new BSD License.' description 'Yasm is a complete rewrite of the NASM assembler under the new BSD License.'
homepage 'http://yasm.tortall.net/' homepage 'http://yasm.tortall.net/'
source_url 'http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz' source_url 'http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz'
source_sha1 'b7574e9f0826bedef975d64d3825f75fbaeef55e' source_sha256 '3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f'
def self.build def self.build
system './configure --prefix=/usr/local' system './configure --prefix=/usr/local'
......
...@@ -5,7 +5,7 @@ class Zlibpkg < Package ...@@ -5,7 +5,7 @@ class Zlibpkg < Package
homepage 'http://www.zlib.net/' homepage 'http://www.zlib.net/'
version '1.2.11-1' version '1.2.11-1'
source_url 'http://www.zlib.net/zlib-1.2.11.tar.gz' source_url 'http://www.zlib.net/zlib-1.2.11.tar.gz'
source_sha1 'e6d119755acdf9104d7ba236b1242696940ed6dd' source_sha256 'c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1'
def self.build def self.build
system "./configure", "--libdir=#{CREW_LIB_PREFIX}" system "./configure", "--libdir=#{CREW_LIB_PREFIX}"
......
...@@ -4,10 +4,10 @@ class Zsh < Package ...@@ -4,10 +4,10 @@ class Zsh < Package
description 'Zsh is a shell designed for interactive use, although it is also a powerful scripting language.' description 'Zsh is a shell designed for interactive use, although it is also a powerful scripting language.'
homepage 'http://zsh.sourceforge.net/' homepage 'http://zsh.sourceforge.net/'
version '5.0.7' version '5.0.7'
source_url "http://sourceforge.net/projects/zsh/files/zsh/5.0.7/zsh-5.0.7.tar.gz/download" source_url 'http://sourceforge.net/projects/zsh/files/zsh/5.0.7/zsh-5.0.7.tar.gz/download'
source_sha1 "a77519d3a6c251c69b1f4924cacdac17cc8e6a9d" source_sha256 '43f0a4c179ef79bb8c9153575685f7f45f28a3615c8cf96345f503d5b9e7b919'
depends_on "ncurses" depends_on 'ncurses'
def self.build def self.build
system "./configure --prefix=/usr/local" system "./configure --prefix=/usr/local"
......
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