Commit 88d7751b authored by Chris Thurber's avatar Chris Thurber Committed by GitHub

Merge pull request #2288 from uberhacker/update-fix-library-directory

Update packages and abstract the library directory
parents a095d603 e8af2ae2
...@@ -3,25 +3,27 @@ require 'package' ...@@ -3,25 +3,27 @@ require 'package'
class Geos < Package class Geos < Package
description 'GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).' description 'GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).'
homepage 'https://trac.osgeo.org/geos/' homepage 'https://trac.osgeo.org/geos/'
version '3.6.2' version '3.6.2-1'
source_url 'http://download.osgeo.org/geos/geos-3.6.2.tar.bz2' source_url 'https://download.osgeo.org/geos/geos-3.6.2.tar.bz2'
source_sha256 '045a13df84d605a866602f6020fc6cbf8bf4c42fb50de237a08926e1d7d7652a' source_sha256 '045a13df84d605a866602f6020fc6cbf8bf4c42fb50de237a08926e1d7d7652a'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/geos-3.6.2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/geos-3.6.2-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/geos-3.6.2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/geos-3.6.2-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/geos-3.6.2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/geos-3.6.2-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/geos-3.6.2-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/geos-3.6.2-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'e7dccaac206c59a018b7589ce8d4970cba051fa62cb3d43760ae73c74db7472b', aarch64: '03ec890596017cdc2eec50487ecb45d51cd2b271cdf21ee4ec9f1086af90baa1',
armv7l: 'e7dccaac206c59a018b7589ce8d4970cba051fa62cb3d43760ae73c74db7472b', armv7l: '03ec890596017cdc2eec50487ecb45d51cd2b271cdf21ee4ec9f1086af90baa1',
i686: '660067d29a33df264290f09f67d4c50e0c0a0a7ae292c64821aee9539cbf08bf', i686: '8248bcc085845f536b886dd47bc66ee8b0e9e948d46239bc8f462fbdc8a9f46e',
x86_64: 'bb64fb4244f867a29d47270a092733c310a15769d3e35db2c0ed95d5d59aaf53', x86_64: '08279556bb8b28bf5436c8abe1bc127e33f97e9a3cfa65b9a307a65a02dabf87',
}) })
def self.build def self.build
system './configure CFLAGS=" -fPIC"' system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system 'make' system 'make'
end end
......
...@@ -3,25 +3,27 @@ require 'package' ...@@ -3,25 +3,27 @@ require 'package'
class Httrack < 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.' 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/' homepage 'http://www.httrack.com/'
version '3.49.2' version '3.49.2-1'
source_url 'http://mirror.httrack.com/httrack-3.49.2.tar.gz' source_url 'https://mirror.httrack.com/httrack-3.49.2.tar.gz'
source_sha256 '3477a0e5568e241c63c9899accbfcdb6aadef2812fcce0173688567b4c7d4025' source_sha256 '3477a0e5568e241c63c9899accbfcdb6aadef2812fcce0173688567b4c7d4025'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/httrack-3.49.2-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/httrack-3.49.2-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/httrack-3.49.2-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/httrack-3.49.2-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/httrack-3.49.2-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/httrack-3.49.2-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/httrack-3.49.2-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/httrack-3.49.2-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '6be1cdcfa09f5e26ef5474e259c73c124f7c7f7bd8d9e33bb8ad76bd4aac09a4', aarch64: '332ff037e21446d4bf593826221ce95895a6824ae2cb56d10bfff2e2827446c3',
armv7l: '6be1cdcfa09f5e26ef5474e259c73c124f7c7f7bd8d9e33bb8ad76bd4aac09a4', armv7l: '332ff037e21446d4bf593826221ce95895a6824ae2cb56d10bfff2e2827446c3',
i686: 'b420ef1c1cf0bb76f0cd9db8d5ecea083070fa401cb699eb228919b50db09b0a', i686: '3e7799279a34e92db45e902bc478c0667c6b6623524d25c03556726012a99a52',
x86_64: 'a76016c76644c3566f7b0ecbaf51aefd6a5855da9ac8f1297fbc2f1c56ce03c7', x86_64: '2065795d69e14009464820aae2c13fad266e3be9c14243bf27a7c7f14f0eae0e',
}) })
def self.build def self.build
system './configure' system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system 'make' system 'make'
end end
......
...@@ -3,27 +3,27 @@ require 'package' ...@@ -3,27 +3,27 @@ require 'package'
class Jansson < Package class Jansson < Package
description 'Jansson is a C library for encoding, decoding and manipulating JSON data.' description 'Jansson is a C library for encoding, decoding and manipulating JSON data.'
homepage 'http://www.digip.org/jansson/' homepage 'http://www.digip.org/jansson/'
version '2.10' version '2.11'
source_url 'https://github.com/akheron/jansson/archive/v2.10.tar.gz' source_url 'https://github.com/akheron/jansson/archive/v2.11.tar.gz'
source_sha256 'b0a899f90ade82e42da0ecabc8af1fa296d69691e7c0786c4994fb79d4833ebb' source_sha256 '6ff0eab3a8baf64d21cae25f88a0311fb282006eb992080722a9099469c32881'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.10-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.11-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.10-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.11-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.10-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.11-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.10-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/jansson-2.11-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '042ed2b6d1c62da47f6627541db4902e4c90d0f9e967a209629e14bff34609ec', aarch64: 'c2cdc0bf928cc44d8e8b99dce354f838fef6008fd3a65f0fc1171077c3c4238d',
armv7l: '042ed2b6d1c62da47f6627541db4902e4c90d0f9e967a209629e14bff34609ec', armv7l: 'c2cdc0bf928cc44d8e8b99dce354f838fef6008fd3a65f0fc1171077c3c4238d',
i686: '38a14665a7bbcee932a663cc8432abfed86b21bafcc3442e834bd38ac2f75ad9', i686: '318d31c65a9c07a25a1984959eed6e7d88ea2b9f35b4722209ad4c2363d772cf',
x86_64: '070d63edf8dede198b33491b7b74fcbf0b0bf6fb33632de4114443cfec96d1ad', x86_64: 'e71aeaec54d731aa0524cc33e88329713a0d072d6e5f4bb8e76bd7bdc634bd6c',
}) })
depends_on 'cmake' => :build
def self.build def self.build
system "cmake . -DPREFIX=#{CREW_PREFIX} -DCMAKE_INSTALL_LIBDIR=#{CREW_DEST_LIB_PREFIX}" system "cmake . -DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}"
#"-DJANSSON_INSTALL_CMAKE_DIR=#{ARCH_LIB}/cmake/jansson",
#"-DJANSSON_INSTALL_LIB_DIR=#{ARCH_LIB}"
end end
def self.install def self.install
......
...@@ -3,29 +3,29 @@ require 'package' ...@@ -3,29 +3,29 @@ require 'package'
class Jemalloc < Package class Jemalloc < Package
description 'jemalloc is a general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support.' description 'jemalloc is a general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support.'
homepage 'http://jemalloc.net/' homepage 'http://jemalloc.net/'
version '5.0.1' version '5.0.1-1'
source_url 'https://github.com/jemalloc/jemalloc/releases/download/5.0.1/jemalloc-5.0.1.tar.bz2' source_url 'https://github.com/jemalloc/jemalloc/releases/download/5.0.1/jemalloc-5.0.1.tar.bz2'
source_sha256 '4814781d395b0ef093b21a08e8e6e0bd3dab8762f9935bbfb71679b0dea7c3e9' source_sha256 '4814781d395b0ef093b21a08e8e6e0bd3dab8762f9935bbfb71679b0dea7c3e9'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/jemalloc-5.0.1-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/jemalloc-5.0.1-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/jemalloc-5.0.1-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/jemalloc-5.0.1-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/jemalloc-5.0.1-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/jemalloc-5.0.1-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/jemalloc-5.0.1-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/jemalloc-5.0.1-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'e4f7100998f6e1d586b8ff2f09a9933938400b37f2f7e1de942bf80a36dbe14f', aarch64: '0f822a3ede3cbe6fac8d736650c0ae52ceec9e69e64746f6af51feb040baa615',
armv7l: 'e4f7100998f6e1d586b8ff2f09a9933938400b37f2f7e1de942bf80a36dbe14f', armv7l: '0f822a3ede3cbe6fac8d736650c0ae52ceec9e69e64746f6af51feb040baa615',
i686: 'f5c312ec2a4f34d375f04fb2ad83320fa26331ae1522d89eda37e3a2382912d3', i686: '9bb85bc541cd1582955328e87a6e1dce7a1e9baf486768911efe041f0d6d6683',
x86_64: 'f49bd69361ea2324b7cee56836f96379b40f6e25dc7633da7679e85247361a15', x86_64: 'c2d0a38655d5af85c08dfc2ef96881b42acb328e0a0b4d72a8c1cbfa82d61f7f',
}) })
depends_on 'autoconf'
depends_on 'gawk'
depends_on 'libxslt' depends_on 'libxslt'
def self.build def self.build
system './configure' system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system 'make' system 'make'
end end
......
...@@ -3,34 +3,34 @@ require 'package' ...@@ -3,34 +3,34 @@ require 'package'
class Leveldb < Package class Leveldb < Package
description 'LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.' description 'LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.'
homepage 'https://leveldb.googlecode.com/' homepage 'https://leveldb.googlecode.com/'
version '1.20' version '1.20-1'
source_url 'https://github.com/google/leveldb/archive/v1.20.tar.gz' source_url 'https://github.com/google/leveldb/archive/v1.20.tar.gz'
source_sha256 'f5abe8b5b209c2f36560b75f32ce61412f39a2922f7045ae764a2c23335b6664' source_sha256 'f5abe8b5b209c2f36560b75f32ce61412f39a2922f7045ae764a2c23335b6664'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/leveldb-1.20-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/leveldb-1.20-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/leveldb-1.20-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/leveldb-1.20-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/leveldb-1.20-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/leveldb-1.20-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/leveldb-1.20-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/leveldb-1.20-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '5b9e78ff11fdecae8b1a58b7724d1dc8481a5d85e72146a20df7fc6611d745b7', aarch64: '78469e16d2864c8f544710f8dca294bada2528be5f7db2a8a87dcd6e3567b625',
armv7l: '5b9e78ff11fdecae8b1a58b7724d1dc8481a5d85e72146a20df7fc6611d745b7', armv7l: '78469e16d2864c8f544710f8dca294bada2528be5f7db2a8a87dcd6e3567b625',
i686: '8aa1fe8444debfe38540b2b194f7ec2d1be224557291343aa54588d9fd01f805', i686: '08e120b94bc11785ba2bc78418c2e76211e606939873d7b7d4f55a2c3baef049',
x86_64: 'd8a33a4ee417d1f95ca0ac9e4f50bb3e262a5334f3cf37ed0eae7cf15681476c', x86_64: '2f81ee50689c02e67f608f717d4956aee5106bea929c0498eb2b751f8c46b512',
}) })
def self.build def self.build
system "make" system 'make'
end end
def self.install def self.install
system "mkdir", "-p", "#{CREW_DEST_DIR}/usr/local/include" system "mkdir", "-p", "#{CREW_DEST_PREFIX}/include"
system "mkdir", "-p", "#{CREW_DEST_DIR}/usr/local/lib" system "mkdir", "-p", "#{CREW_DEST_LIB_PREFIX}"
system "cp", "-R", "include/leveldb", "#{CREW_DEST_DIR}/usr/local/include" system "cp", "-R", "include/leveldb", "#{CREW_DEST_PREFIX}/include"
system "cp", "out-static/libleveldb.a", "#{CREW_DEST_DIR}/usr/local/lib" system "cp", "out-static/libleveldb.a", "#{CREW_DEST_LIB_PREFIX}"
system "cp", "out-shared/libleveldb.so.1.20", "#{CREW_DEST_DIR}/usr/local/lib" system "cp", "out-shared/libleveldb.so.1.20", "#{CREW_DEST_LIB_PREFIX}"
system "cp", "-P", "out-shared/libleveldb.so.1", "#{CREW_DEST_DIR}/usr/local/lib" system "cp", "-P", "out-shared/libleveldb.so.1", "#{CREW_DEST_LIB_PREFIX}"
system "cp", "-P", "out-shared/libleveldb.so", "#{CREW_DEST_DIR}/usr/local/lib" system "cp", "-P", "out-shared/libleveldb.so", "#{CREW_DEST_LIB_PREFIX}"
end end
end end
...@@ -3,28 +3,26 @@ require 'package' ...@@ -3,28 +3,26 @@ require 'package'
class Libfrei0r < Package class Libfrei0r < Package
description 'Minimalistic API for a collection of free video effect plugins.' description 'Minimalistic API for a collection of free video effect plugins.'
homepage 'https://frei0r.dyne.org/' homepage 'https://frei0r.dyne.org/'
version '1.6.0' version '1.6.1'
source_url 'https://github.com/dyne/frei0r/archive/v1.6.0.tar.gz' source_url 'https://github.com/dyne/frei0r/archive/v1.6.1.tar.gz'
source_sha256 '63cae9d20d23b9d9e1ffb3fa053295914417c3e005194c077a0753d04636831c' source_sha256 'dae0ca623c83173788ce4fc74cb67ac7e50cf33a4412ee3d33bed284da1a8437'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libfrei0r-1.6.0-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libfrei0r-1.6.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libfrei0r-1.6.0-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libfrei0r-1.6.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libfrei0r-1.6.0-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/libfrei0r-1.6.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libfrei0r-1.6.0-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libfrei0r-1.6.1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '7da44d7ceab2124298d49e0079d85cf06aec5e0dc0cebf1464f7b5e01c8a57f3', aarch64: 'bd9381d2c456c270133c206c66e94ed5f77a856bd23d18138d92df6b4e2c7759',
armv7l: '7da44d7ceab2124298d49e0079d85cf06aec5e0dc0cebf1464f7b5e01c8a57f3', armv7l: 'bd9381d2c456c270133c206c66e94ed5f77a856bd23d18138d92df6b4e2c7759',
i686: 'd7af95c71eb57144caf739e0fce9a6e81a2329382e448c5a590a9f8692ed4078', i686: '97eed475d2ad73584e604455e9d7b8c09d6348b0b0ade255f369eae4d1f6a4c7',
x86_64: 'eb79f81a2d63d6ebaa67ea5018fa76f67e2dec36d34a6b3e9b964f0686205814', x86_64: '73646984853d48487d8881cdc4a9ac3fd35f08e8384be54db9948a6d41046d23',
}) })
depends_on 'cmake'
def self.build def self.build
system "cmake ." system "cmake . -DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX} -DCMAKE_CXX_FLAGS=' -L#{CREW_LIB_PREFIX}'"
system "make" system 'make'
end end
def self.install def self.install
......
...@@ -3,34 +3,29 @@ require 'package' ...@@ -3,34 +3,29 @@ require 'package'
class Libmp3lame < Package class Libmp3lame < Package
description 'LAME is a high quality MPEG Audio Layer III (MP3) encoder licensed under the LGPL.' description 'LAME is a high quality MPEG Audio Layer III (MP3) encoder licensed under the LGPL.'
homepage 'http://lame.sourceforge.net/' homepage 'http://lame.sourceforge.net/'
version '3.99.5-1' version '3.100'
source_url 'https://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz' source_url 'http://downloads.sourceforge.net/project/lame/lame/3.100/lame-3.100.tar.gz'
source_sha256 '24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff' source_sha256 'ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libmp3lame-3.99.5-1-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libmp3lame-3.100-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libmp3lame-3.99.5-1-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libmp3lame-3.100-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libmp3lame-3.99.5-1-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/libmp3lame-3.100-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libmp3lame-3.99.5-1-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libmp3lame-3.100-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '83920c0516d5accbadc70750df3422501d311d4db3e38d003128e436e90db024', aarch64: 'a707de2b17ad0cff139ad2441913bf2412d4c99287857d27deec98b8de44fe0d',
armv7l: '83920c0516d5accbadc70750df3422501d311d4db3e38d003128e436e90db024', armv7l: 'a707de2b17ad0cff139ad2441913bf2412d4c99287857d27deec98b8de44fe0d',
i686: 'f59ed891926986f089e707eda22e45e73100d2e132c8a24033e14b3babea378c', i686: '3b9c5e437d2c230524ea0a6e7b676acc74b1e3f87d3a784eb57603b01679bbff',
x86_64: 'c59ee3f889284effb2c38d993f6bd90c460081e7dbc1978185c215ed19c3a2b5', x86_64: '35a440b069c4734ec6c8100db2dfb541ceeddfbc96bb4aa176ebe2546c51d355',
}) })
def self.build def self.build
case ARCH system './configure',
when 'i686' "--prefix=#{CREW_PREFIX}",
# gcc-4.x for i686 has problem, so forcing to use -msse here. "--libdir=#{CREW_LIB_PREFIX}",
# see https://mail-index.netbsd.org/pkgsrc-users/2015/04/18/msg021393.html '--disable-maintainer-mode'
# and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56145 for details. system 'make'
system 'CFLAGS="-O3 -fomit-frame-pointer -ffast-math -maccumulate-outgoing-args -msse" ./configure'
else
system "./configure"
end
system "make"
end end
def self.install def self.install
......
...@@ -3,46 +3,33 @@ require 'package' ...@@ -3,46 +3,33 @@ require 'package'
class Libsigcplusplus3 < Package class Libsigcplusplus3 < Package
description 'libsigc++ implements a typesafe callback system for standard C++.' description 'libsigc++ implements a typesafe callback system for standard C++.'
homepage 'http://libsigc.sourceforge.net/' homepage 'http://libsigc.sourceforge.net/'
version '2.99.10' version '2.99.11'
source_url 'https://github.com/GNOME/libsigcplusplus/archive/2.99.10.tar.gz' source_url 'https://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.99/libsigc++-2.99.11.tar.xz'
source_sha256 '502735363777cd8d540299035daa3f9162912f325491cbb0f8d709b691593e07' source_sha256 '177fb08df33da71780eef2ce4c5991a2b3b6d07d4ad1efbf6ad38f7964e4bb55'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus-2.99.10-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus3-2.99.11-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus-2.99.10-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus3-2.99.11-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus-2.99.10-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus3-2.99.11-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus-2.99.10-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libsigcplusplus3-2.99.11-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'a8b8bdd9040ebb67bb092055ee36a25135825d08a039f4596e835996bb245cff', aarch64: '37cc07ba4469b7975214cf2bdb8fed2665962353318888386907f96f08dc9f95',
armv7l: 'a8b8bdd9040ebb67bb092055ee36a25135825d08a039f4596e835996bb245cff', armv7l: '37cc07ba4469b7975214cf2bdb8fed2665962353318888386907f96f08dc9f95',
i686: '57e89d0057217ae81a55ec675be843ed5dbfa54d5ad1deba4b900c6b9c72c451', i686: '86a3fed7a036dbcfed62bfd4b83e903d3cc78f241a793546f07af00fc3855d2b',
x86_64: 'da7e1a5edf563ae95c677b89283a2f79cc23380a1b58b264df1abfcfec919bca', x86_64: 'e0fb98d028040eb6567a153c1314bd51fb044d4f7cf1c2cfaf4cb4d672a31130',
}) })
depends_on 'pkgconfig' => :build
depends_on 'diffutils' => :build
depends_on 'm4' => :build
depends_on 'gcc7' => :build # c++14 support
depends_on 'cmake' => :build
def self.build def self.build
system "mkdir -p build" system './configure',
Dir.chdir("build") do "CXX_FLAGS=' --std=c++14'",
system "cmake", "--prefix=#{CREW_PREFIX}",
"-DCMAKE_INSTALL_PREFIX:PATH=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}",
"-DCMAKE_LIBRARY_PATH=#{CREW_LIB_PREFIX}", '--disable-maintainer-mode'
"-DCMAKE_C_COMPILER=gcc-7.3", system 'make'
"-DCMAKE_CXX_COMPILER=g++-7.3",
"-DCMAKE_CXX_FLAGS=--std=c++14",
".."
system "make"
end
end end
def self.install def self.install
Dir.chdir("build") do system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end end
end end
...@@ -3,31 +3,31 @@ require 'package' ...@@ -3,31 +3,31 @@ require 'package'
class Lua < Package class Lua < Package
description 'Lua is a powerful, efficient, lightweight, embeddable scripting language.' description 'Lua is a powerful, efficient, lightweight, embeddable scripting language.'
homepage 'https://www.lua.org/' homepage 'https://www.lua.org/'
version '5.3.4' version '5.3.4-1'
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_sha256 'f681aa518233bc407e23acf0f5887c884f17436f000d453b2491a9f11a52400c' source_sha256 'f681aa518233bc407e23acf0f5887c884f17436f000d453b2491a9f11a52400c'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/lua-5.3.4-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/lua-5.3.4-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/lua-5.3.4-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/lua-5.3.4-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/lua-5.3.4-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/lua-5.3.4-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/lua-5.3.4-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/lua-5.3.4-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '855cb5cc640a9d39fd8ed2a918c78fb2056fce8d6b57c824f45690e959215498', aarch64: 'b6f4e3cc1634a552c4260a0193aa97b83fc86da62a2414c7cc3f0e68f641a066',
armv7l: '855cb5cc640a9d39fd8ed2a918c78fb2056fce8d6b57c824f45690e959215498', armv7l: 'b6f4e3cc1634a552c4260a0193aa97b83fc86da62a2414c7cc3f0e68f641a066',
i686: '0d840bfc5844427ce211a6eca018d3ba92984ff24e917a711fd2d6b7c4727a1c', i686: 'e2c847912ac13d1bb7392c37d5a57a3540418d62ec25e5c4b939899b2ca9aea4',
x86_64: '5dfd73751b240880ccaaedb1207468277704a2ec819dd74e2a137755263d7e05', x86_64: '92bd9b21a28c907827fd017a6097009ac8fd7c1c85e749bdbf7b36021a2a3ccd',
}) })
depends_on 'readline' depends_on 'readline'
depends_on 'ncurses'
def self.build def self.build
system "make -C src all SYSCFLAGS=\"-DLUA_USE_LINUX\" SYSLIBS=\"-Wl,-E -ldl -lreadline -lncurses\"" system "make -C src all SYSCFLAGS=\"-DLUA_USE_LINUX\" SYSLIBS=\"-Wl,-E -ldl -lreadline -lncurses\""
end end
def self.install def self.install
system 'make', "INSTALL_TOP=#{CREW_DEST_DIR}/usr/local", 'install' system 'make', "PREFIX=#{CREW_PREFIX}", "LIBDIR=#{CREW_LIB_PREFIX}",
"INSTALL_TOP=#{CREW_DEST_PREFIX}", 'install'
end end
end end
...@@ -3,31 +3,30 @@ require 'package' ...@@ -3,31 +3,30 @@ require 'package'
class Luajit < Package class Luajit < Package
description 'LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language.' description 'LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language.'
homepage 'http://luajit.org/' homepage 'http://luajit.org/'
version '2.0.5' version '2.0.5-1'
source_url 'http://luajit.org/download/LuaJIT-2.0.5.tar.gz' source_url 'https://luajit.org/download/LuaJIT-2.0.5.tar.gz'
source_sha256 '874b1f8297c697821f561f9b73b57ffd419ed8f4278c82e05b48806d30c1e979' source_sha256 '874b1f8297c697821f561f9b73b57ffd419ed8f4278c82e05b48806d30c1e979'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/luajit-2.0.5-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/luajit-2.0.5-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/luajit-2.0.5-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/luajit-2.0.5-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/luajit-2.0.5-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/luajit-2.0.5-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/luajit-2.0.5-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/luajit-2.0.5-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'd850b02b9d4b02f73802359bed9a26dc672c741009c3d956174f86e7163e1efc', aarch64: 'd32a0eec31c33ff6c8e4ef0de7b8859eb82b5068bbc0ff2977036f8400fb680b',
armv7l: 'd850b02b9d4b02f73802359bed9a26dc672c741009c3d956174f86e7163e1efc', armv7l: 'd32a0eec31c33ff6c8e4ef0de7b8859eb82b5068bbc0ff2977036f8400fb680b',
i686: '2cd205c4b3b654fe2f4eb6bc6e2460c6a663b4984804462db7af635363799440', i686: 'a6dfb5c8fb1af263061791896bda261d61b0266707b0959a75225877ae16b306',
x86_64: '53411d401c9da988d6588c3c882df13feaeefb889a5ae5f0ba6a14d52fadd302', x86_64: 'c00c619ea846133a8c660e908184d8012ed0b1821a8574605149ec19dacc8efd',
}) })
depends_on 'buildessential' => :build
def self.build def self.build
system 'make' system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "PREFIX=#{CREW_PREFIX}", "LIBDIR=#{CREW_LIB_PREFIX}",
"DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -3,33 +3,31 @@ require 'package' ...@@ -3,33 +3,31 @@ 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.8.3' version '2.8.3-1'
source_url 'https://download.savannah.gnu.org/releases/man-db/man-db-2.8.3.tar.xz' source_url 'https://download.savannah.gnu.org/releases/man-db/man-db-2.8.3.tar.xz'
source_sha256 '5932a1ca366e1ec61a3ece1a3afa0e92f2fdc125b61d236f20cc6ff9d80cc4ac' source_sha256 '5932a1ca366e1ec61a3ece1a3afa0e92f2fdc125b61d236f20cc6ff9d80cc4ac'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.8.3-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.8.3-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.8.3-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.8.3-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.8.3-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.8.3-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.8.3-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mandb-2.8.3-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '3729439a4b76560027ef642acbaa39512cd5e0c116905a07e04c6efcc3f63d60', aarch64: '47de869585dada625523682c73d774dd66af309be5be9a1979719629852216de',
armv7l: '3729439a4b76560027ef642acbaa39512cd5e0c116905a07e04c6efcc3f63d60', armv7l: '47de869585dada625523682c73d774dd66af309be5be9a1979719629852216de',
i686: '0c6b7b712c7a66588766d7a2c8fbba2577d9db68127f379c1fc19372f430cd94', i686: '860910cc197a8ce04fd138f70e73e3157c372ff9e3a703c4fad9d349c75d5f6d',
x86_64: '0e49e640687ee7248437f7fa07aaa908674e94a03ae9232beb01a2e3744b1c56', x86_64: 'cdf13916d9f2afa47c9a2baa156af61f21abb2a245d5b90153b13978251bde2b',
}) })
depends_on 'less'
depends_on 'libpipeline' depends_on 'libpipeline'
depends_on 'gdbm' depends_on 'gdbm'
depends_on 'groff' depends_on 'groff'
depends_on 'pkgconfig'
depends_on 'readline' depends_on 'readline'
depends_on 'zlibpkg'
def self.build def self.build
system './configure', system './configure',
"--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}",
"--with-systemdtmpfilesdir=#{CREW_PREFIX}/lib/tmpfiles.d", # we can't write to /usr/lib/tmpfiles.d "--with-systemdtmpfilesdir=#{CREW_PREFIX}/lib/tmpfiles.d", # we can't write to /usr/lib/tmpfiles.d
'--disable-cache-owner', # we can't create the user 'man' '--disable-cache-owner', # we can't create the user 'man'
"--with-pager=#{CREW_PREFIX}/bin/less" # the pager is not at the default location "--with-pager=#{CREW_PREFIX}/bin/less" # the pager is not at the default location
......
...@@ -3,26 +3,32 @@ require 'package' ...@@ -3,26 +3,32 @@ require 'package'
class Mono < Package class Mono < Package
description 'Mono is a software platform designed to allow developers to easily create cross platform applications part of the .NET Foundation.' description 'Mono is a software platform designed to allow developers to easily create cross platform applications part of the .NET Foundation.'
homepage 'http://www.mono-project.com/' homepage 'http://www.mono-project.com/'
version '5.4.0.135' version '5.10.1.47'
source_url 'http://download.mono-project.com/sources/mono/mono-5.4.0.135.tar.bz2' source_url 'https://download.mono-project.com/sources/mono/mono-5.10.1.47.tar.bz2'
source_sha256 '561af157ece41f0fc54dc3812bcbef6a04927274508104621b04fda810387ade' source_sha256 '90c237b5288f95f6fdab4ace1e36ab64a6369e2c9fddd462d604fd788e2545da'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mono-5.4.0.135-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/mono-5.10.1.47-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mono-5.4.0.135-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/mono-5.10.1.47-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/mono-5.4.0.135-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/mono-5.10.1.47-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mono-5.4.0.135-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/mono-5.10.1.47-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '3263b5b2db28850140e23e8819b555fdc93c6bfb445d66d94c75d0162c115223', aarch64: '2d1486554face0afdc68af43869136966674d929d3904296475971a2efc7fff3',
armv7l: '3263b5b2db28850140e23e8819b555fdc93c6bfb445d66d94c75d0162c115223', armv7l: '2d1486554face0afdc68af43869136966674d929d3904296475971a2efc7fff3',
i686: '81f11c2ca8e3f3685e8fe3c43debc257e2302f5dc82ef5269f87696bf515e12e', i686: 'dee7c875844a58f2711fc890fc8a51c6defaf5cbaa57889dd7c64d73976ee9e3',
x86_64: 'b83170c8c162b8e1cd5ad3d1d4337448195757c54a1a733d6be3f7b2f5dd35f7', x86_64: '32aae35fa5144e6d4d96c79d054491f9783083574e6390c92bd0d6ac29cde1c8',
}) })
def self.build def self.build
system "./configure","--disable-dependency-tracking","--disable-silent-rules","--enable-nls=no","--prefix=/usr/local" system './configure',
system "make" "--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-dependency-tracking',
'--disable-maintainer-mode',
'--disable-silent-rules',
'--enable-nls=no'
system 'make'
end end
def self.install def self.install
......
...@@ -3,21 +3,21 @@ require 'package' ...@@ -3,21 +3,21 @@ require 'package'
class P7zip < Package class P7zip < Package
description 'p7zip is a port of 7za.exe for POSIX systems like Unix (Linux, Solaris, OpenBSD, FreeBSD, Cygwin, AIX, ...), MacOS X and also for BeOS and Amiga.' description 'p7zip is a port of 7za.exe for POSIX systems like Unix (Linux, Solaris, OpenBSD, FreeBSD, Cygwin, AIX, ...), MacOS X and also for BeOS and Amiga.'
homepage 'http://p7zip.sourceforge.net/' homepage 'http://p7zip.sourceforge.net/'
version '16.02' version '16.02-1'
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_sha256 '5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f' source_sha256 '5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/p7zip-16.02-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/p7zip-16.02-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/p7zip-16.02-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/p7zip-16.02-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/p7zip-16.02-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/p7zip-16.02-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/p7zip-16.02-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/p7zip-16.02-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '8507b82c9a7963e530ae29e42739cea7f77185ab783d27a2463f41f445c0f412', aarch64: '94509c549bb31a131364b641b482626383a230d78dfb9c584c27108fab5786d7',
armv7l: '8507b82c9a7963e530ae29e42739cea7f77185ab783d27a2463f41f445c0f412', armv7l: '94509c549bb31a131364b641b482626383a230d78dfb9c584c27108fab5786d7',
i686: 'e01f869ce698b0d15f11b6e0419646c0b2a30e79550fe14ccb9c924bae057808', i686: 'aa5d21f6d24448ad0f171799dd5981da7dd38289fe7005540b86f67bfd605cf5',
x86_64: '08607cec779619e7e4c3aee457b46dced2f64077e2955c54c727f530af59f78b', x86_64: 'bb7f5b85be2cf5f91dc6d4e1d44d1392c3c2be7857e56edca7d101a6f6a0e6fb',
}) })
def self.build def self.build
...@@ -26,6 +26,7 @@ class P7zip < Package ...@@ -26,6 +26,7 @@ class P7zip < Package
end end
def self.install def self.install
system "make", "DEST_DIR=#{CREW_DEST_DIR}", "install" system "make", "PREFIX=#{CREW_PREFIX}", "LIBDIR=#{CREW_LIB_PREFIX}",
"DEST_DIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -3,25 +3,28 @@ require 'package' ...@@ -3,25 +3,28 @@ require 'package'
class Proj4 < Package class Proj4 < Package
description 'proj.4 is a standard Unix filter function which converts geographic longitude and latitude coordinates into cartesian coordinates (and vice versa), and it is a C API for software developers to include coordinate transformation in their own software.' description 'proj.4 is a standard Unix filter function which converts geographic longitude and latitude coordinates into cartesian coordinates (and vice versa), and it is a C API for software developers to include coordinate transformation in their own software.'
homepage 'http://proj4.org/' homepage 'http://proj4.org/'
version '4.9.3' version '5.0.1'
source_url 'http://download.osgeo.org/proj/proj-4.9.3.tar.gz' source_url 'https://download.osgeo.org/proj/proj-5.0.1.tar.gz'
source_sha256 '6984542fea333488de5c82eea58d699e4aff4b359200a9971537cd7e047185f7' source_sha256 'a792f78897482ed2c4e2af4e8a1a02e294c64e32b591a635c5294cb9d49fdc8c'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/proj4-4.9.3-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/proj4-5.0.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/proj4-4.9.3-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/proj4-5.0.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/proj4-4.9.3-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/proj4-5.0.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/proj4-4.9.3-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/proj4-5.0.1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '6c947a6a2d31f284e57caebb97ef7869add2eab2b22d1f6eb6e7a8be0f1cb7bc', aarch64: '11f68ce43489194bb71a8ade3b97200b3cb3b3cb11657225b65aee352daddeeb',
armv7l: '6c947a6a2d31f284e57caebb97ef7869add2eab2b22d1f6eb6e7a8be0f1cb7bc', armv7l: '11f68ce43489194bb71a8ade3b97200b3cb3b3cb11657225b65aee352daddeeb',
i686: '3631813cd417d72fd51a947db19e9680dadc62ecd15c2012856b7d91890776c0', i686: '02628ae6d77c32d20d873a78210804b5824ea2705c898e6b983f03ae80d9bdef',
x86_64: '1d3b6566117201b8853eaa35d535574f6d1bfb780dfff0d969923a42b8975ae0', x86_64: '7a95e9781c0f6ab0c6a9086988a58e72eff016a803cb0a2c249eb8862b51be34',
}) })
def self.build def self.build
system './configure CFLAGS=" -fPIC"' system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system 'make' system 'make'
end end
......
...@@ -4,25 +4,28 @@ class Recode < Package ...@@ -4,25 +4,28 @@ class Recode < Package
description 'Charset converter tool and library' description 'Charset converter tool and library'
homepage 'https://github.com/pinard/Recode' homepage 'https://github.com/pinard/Recode'
# This version is from the master branch since the stable versions could not be compiled # This version is from the master branch since the stable versions could not be compiled
version '2d7092' version '2d7092a'
source_url 'https://github.com/pinard/Recode/archive/2d7092a9999194fc0e9449717a8048c8d8e26c18.tar.gz' source_url 'https://github.com/pinard/Recode/archive/2d7092a9999194fc0e9449717a8048c8d8e26c18.tar.gz'
source_sha256 'd7de37aa4793ec00b042a0315f142281a1dc480f6f6d7cb2cd2568e58c4f2e87' source_sha256 'd7de37aa4793ec00b042a0315f142281a1dc480f6f6d7cb2cd2568e58c4f2e87'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/recode-2d7092-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/recode-2d7092a-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/recode-2d7092-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/recode-2d7092a-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/recode-2d7092-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/recode-2d7092a-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/recode-2d7092-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/recode-2d7092a-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '3a60e63b891f41f3f24d9cf7ad84289168514cc1171e0f1e24767ce3a0db058a', aarch64: '3084a139559698dcfeb48f372cf05be2f38c00a65a657b946ff9afc8d2e639f4',
armv7l: '3a60e63b891f41f3f24d9cf7ad84289168514cc1171e0f1e24767ce3a0db058a', armv7l: '3084a139559698dcfeb48f372cf05be2f38c00a65a657b946ff9afc8d2e639f4',
i686: '1b44a3dab2e9347064f4bc97f6af249dc0b8b975e94f358de34b2b60788c9a36', i686: 'addbb2ff38b1bb89065942da55144fae83dd372be69c0c6bc77e0b20c8e943e3',
x86_64: '6add7066297ffafc3ffd448feeda01074268b22bfabf95d2f516c5b16aca3019', x86_64: '6d1613a2f31ede4ca9e57049c4355b01862e3d182e654e36dd66643eacc35ede',
}) })
def self.build def self.build
system './configure' system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system 'make' system 'make'
end end
......
...@@ -3,42 +3,29 @@ require 'package' ...@@ -3,42 +3,29 @@ require 'package'
class Sleuthkit < Package class Sleuthkit < Package
description 'The Sleuth Kit® (TSK) is a library and collection of command line tools that allow you to investigate disk images.' description 'The Sleuth Kit® (TSK) is a library and collection of command line tools that allow you to investigate disk images.'
homepage 'https://www.sleuthkit.org/sleuthkit/' homepage 'https://www.sleuthkit.org/sleuthkit/'
version '4.4.1' version '4.6.0'
source_url 'https://github.com/sleuthkit/sleuthkit/archive/sleuthkit-4.4.1.tar.gz' source_url 'https://github.com/sleuthkit/sleuthkit/releases/download/sleuthkit-4.6.0/sleuthkit-4.6.0.tar.gz'
source_sha256 '91e2f038ff8407cfe38a26d18adc8dd98970e95db73394c188db98975deb23f7' source_sha256 'f52a08ab0de078182c0f2d19d3e1b341424a9e0c1633a61c3b892fb38f9acb97'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/sleuthkit-4.4.1-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/sleuthkit-4.6.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/sleuthkit-4.4.1-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/sleuthkit-4.6.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/sleuthkit-4.4.1-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/sleuthkit-4.6.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/sleuthkit-4.4.1-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/sleuthkit-4.6.0-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '8cccafa9d3434ac348fce223ee2d9d9db989d62bcaa2a0da0a396177b28cee3f', aarch64: '5ec2af7f82c975c22a8801bfa28a25ce6544fc079c38987fa9e6276f6198ec3a',
armv7l: '8cccafa9d3434ac348fce223ee2d9d9db989d62bcaa2a0da0a396177b28cee3f', armv7l: '5ec2af7f82c975c22a8801bfa28a25ce6544fc079c38987fa9e6276f6198ec3a',
i686: '6b8d6561c5b545604e75702adc2ce614a13a89780cd320d75b9ac6515f21fa27', i686: '77311cc6236c21017fe7378309d262ee743edb5065ee00dc4b2e363751097d8d',
x86_64: 'e03e322df272ad6a4d1f385b134d513298af3dedd94c79daa3e04fa684b079ab', x86_64: 'ec404bf9be6b70fd1638e45a997f26b74ad5522fa878a20a311d962d51562685',
}) })
depends_on 'autoconf'
depends_on 'automake'
depends_on 'gawk'
depends_on 'libtool'
depends_on 'zlibpkg'
def self.build def self.build
system './bootstrap' system './configure',
system 'sed -i "s,(sb.st_mode \& S_IFMT) == S_IFDIR,S_ISREG(sb.st_mode)," tsk/img/raw.c' "--prefix=#{CREW_PREFIX}",
system 'sed -i "s,#define TZNAME _tzname,extern char* tzname[2];\n#define TZNAME tzname," tsk/base/tsk_os.h' "--libdir=#{CREW_LIB_PREFIX}",
system 'sed -i "s,#define TZNAME\ttzname,," tsk/base/tsk_os.h' '--disable-maintainer-mode'
system 'sed -i "1iextern char* tzname[2];\n#define TZNAME tzname" tsk/fs/fs_name.c' system 'make'
system 'sed -i "1iint optarg[2];\nint optind;" tools/srchtools/srch_strings.c'
system 'sed -i "0,/for (; optind < argc; ++optind)/s/for (; optind < argc; ++optind)/for (optind = 0; optind < argc; ++optind)/" tools/srchtools/srch_strings.c'
system './configure \
--disable-java \
--without-afflib \
--without-libewf'
system "make 'CFLAGS=-std=c99'"
end end
def self.install def self.install
......
...@@ -3,26 +3,29 @@ require 'package' ...@@ -3,26 +3,29 @@ require 'package'
class Speex < Package class Speex < Package
description 'Speex is an Open Source/Free Software patent-free audio compression format designed for speech.' description 'Speex is an Open Source/Free Software patent-free audio compression format designed for speech.'
homepage 'https://speex.org/' homepage 'https://speex.org/'
version '1.2.0' version '1.2.0-1'
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_sha256 'eaae8af0ac742dc7d542c9439ac72f1f385ce838392dc849cae4536af9210094' source_sha256 'eaae8af0ac742dc7d542c9439ac72f1f385ce838392dc849cae4536af9210094'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/speex-1.2.0-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/speex-1.2.0-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/speex-1.2.0-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/speex-1.2.0-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/speex-1.2.0-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/speex-1.2.0-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/speex-1.2.0-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/speex-1.2.0-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '37faba178b4920e80d8746cea977f8dec9dff6678d90caf8f9767dfe003806cb', aarch64: '5e1bba6a53dd827dd342a7e28454080025e8f3f7c8bd4766004a2da3f9842678',
armv7l: '37faba178b4920e80d8746cea977f8dec9dff6678d90caf8f9767dfe003806cb', armv7l: '5e1bba6a53dd827dd342a7e28454080025e8f3f7c8bd4766004a2da3f9842678',
i686: '1242e0062a80cc9652d2e47033a4f9c8f1178ba871192068b1a80cdbfd0ec2ef', i686: 'dea00b220cacfa50c244dee46977c0827008b7e831ace2abd6a97d2ab7d3cfe1',
x86_64: '8ec8514f302df75268416a09362f475bb24d73779adc7b1c7b446d40bc6f9e26', x86_64: '868c4f618a5a0679ce908774963b73d630b7dddc1b9256fede1aa26c0b09a5d5',
}) })
def self.build def self.build
system "./configure" system './configure',
system "make" "--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system 'make'
end end
def self.install def self.install
......
...@@ -3,31 +3,29 @@ require 'package' ...@@ -3,31 +3,29 @@ require 'package'
class Tre < Package class Tre < Package
description 'The approximate regex matching library and agrep command line tool.' description 'The approximate regex matching library and agrep command line tool.'
homepage 'https://github.com/laurikari/tre' homepage 'https://github.com/laurikari/tre'
version '6fb720' version '6fb7206'
source_url 'https://github.com/laurikari/tre/archive/6fb7206b935b35814c5078c20046dbe065435363.tar.gz' source_url 'https://github.com/laurikari/tre/archive/6fb7206b935b35814c5078c20046dbe065435363.tar.gz'
source_sha256 'd2810576685b10c6bf9270793550032bdada04afd963fa4670a08fdc57859bdd' source_sha256 'd2810576685b10c6bf9270793550032bdada04afd963fa4670a08fdc57859bdd'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/tre-6fb720-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/tre-6fb7206-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/tre-6fb720-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/tre-6fb7206-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/tre-6fb720-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/tre-6fb7206-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/tre-6fb720-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/tre-6fb7206-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'd1a70784e6c8ac70318b7657db67a5d121fa88f908ae8a1ec675969c1dfd78b9', aarch64: '6c59cddabc2dd32d56b97b48b32fca26cb654b453cb3c8089bc50cd78266e217',
armv7l: 'd1a70784e6c8ac70318b7657db67a5d121fa88f908ae8a1ec675969c1dfd78b9', armv7l: '6c59cddabc2dd32d56b97b48b32fca26cb654b453cb3c8089bc50cd78266e217',
i686: '349a32bed7bc73379a4804dadea91047148e7c8a9b2186564a6ec17a4a77968c', i686: '54c589df47bf9822b6e14b67d10a03457989bcb532a3ea899d2619a8e602f539',
x86_64: 'a6ad1a69e7bdb0643cceefa03ebdabefe956e76299660e9a75d7afc679bc2e3f', x86_64: 'b5d531c2f83c53fb1f54c5b658bb67fb875e16183a9cdc2c4d5a03cf7e091130',
}) })
depends_on 'autoconf'
depends_on 'automake'
depends_on 'gettext'
depends_on 'libtool'
def self.build def self.build
system './utils/autogen.sh' system './utils/autogen.sh'
system './configure' system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system 'make' system 'make'
end end
......
...@@ -3,21 +3,21 @@ require 'package' ...@@ -3,21 +3,21 @@ require 'package'
class Unrar < Package class Unrar < Package
description 'UnRAR is a powerful archive extractor.' description 'UnRAR is a powerful archive extractor.'
homepage 'http://www.rarlab.com/' homepage 'http://www.rarlab.com/'
version '5.5.8' version '5.6.3'
source_url 'http://www.rarlab.com/rar/unrarsrc-5.5.8.tar.gz' source_url 'https://www.rarlab.com/rar/unrarsrc-5.6.3.tar.gz'
source_sha256 '9b66e4353a9944bc140eb2a919ff99482dd548f858f5e296d809e8f7cdb2fcf4' source_sha256 'c590e70a745d840ae9b9f05ba6c449438838c8280d76ce796a26b3fcd0a1972e'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/unrar-5.4.5-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/unrar-5.6.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/unrar-5.4.5-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/unrar-5.6.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/unrar-5.4.5-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/unrar-5.6.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/unrar-5.4.5-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/unrar-5.6.3-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'af75463a906436baf4718febdc9e2a2d61150cf5df30fd244b2b808cf4f16929', aarch64: 'ebf07529e4586d9494a41e0c0bc08d9c45b706a953ed9dc224b93e67f6b26cab',
armv7l: 'af75463a906436baf4718febdc9e2a2d61150cf5df30fd244b2b808cf4f16929', armv7l: 'ebf07529e4586d9494a41e0c0bc08d9c45b706a953ed9dc224b93e67f6b26cab',
i686: '7e5c893ed0e8d5ba41c59a1dbda6b47a062e121b85e2e1c14ad72a393a0d6540', i686: '352da95a4126086f58fb69ae4aa4301f5464d52ac7c0d527e0434aaa6c846bee',
x86_64: 'a4d98de19dcede1e90c31f575b68534c6a55e93a248df109a9c087f0c21f53e4', x86_64: 'ff5bc1b1c1b2f04cfc69b42345df16cac2bfc4be64a15016825e7980b4f5683f',
}) })
def self.build def self.build
...@@ -27,8 +27,6 @@ class Unrar < Package ...@@ -27,8 +27,6 @@ class Unrar < Package
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_PREFIX}", "install" system "make", "PREFIX=#{CREW_PREFIX}", "DESTDIR=#{CREW_DEST_PREFIX}", "install"
system "mkdir -p #{CREW_DEST_LIB_PREFIX}"
system "cp libunrar.so #{CREW_DEST_LIB_PREFIX}/libunrar.so"
end end
end end
...@@ -3,21 +3,21 @@ require 'package' ...@@ -3,21 +3,21 @@ require 'package'
class Utf8proc < Package class Utf8proc < Package
description 'a clean C library for processing UTF-8 Unicode data: normalization, case-folding, graphemes, and more' description 'a clean C library for processing UTF-8 Unicode data: normalization, case-folding, graphemes, and more'
homepage 'https://julialang.org/utf8proc/' homepage 'https://julialang.org/utf8proc/'
version '2.1.0' version '2.1.0-1'
source_url 'https://github.com/JuliaLang/utf8proc/archive/v2.1.0.tar.gz' source_url 'https://github.com/JuliaLang/utf8proc/archive/v2.1.0.tar.gz'
source_sha256 '25ccc5619ac400f9eaf24aafaae5b625afa1961e140b8dd6072b393267833260' source_sha256 '25ccc5619ac400f9eaf24aafaae5b625afa1961e140b8dd6072b393267833260'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/utf8proc-2.1.0-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/utf8proc-2.1.0-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/utf8proc-2.1.0-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/utf8proc-2.1.0-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/utf8proc-2.1.0-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/utf8proc-2.1.0-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/utf8proc-2.1.0-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/utf8proc-2.1.0-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'd8213bc0c9ce9ba36ddbb31fbaeba179e52a8981051dc61e73955c7c7975383d', aarch64: 'c64f1656e7dc1b7c3395661dacfb0f9d4b043e94ff07e0baf0ee8cc04fd8f757',
armv7l: 'd8213bc0c9ce9ba36ddbb31fbaeba179e52a8981051dc61e73955c7c7975383d', armv7l: 'c64f1656e7dc1b7c3395661dacfb0f9d4b043e94ff07e0baf0ee8cc04fd8f757',
i686: 'ff35d06eb1518943071c7338793d99f024a778eb3f80a64183efa2ef9d13f087', i686: '9bbc7e68deb6dbc1888fd1ac8300485114a288264baca54babc0adcb0cee5eba',
x86_64: 'e0ca67c98ccb10c8e27a9e00a53d693d4a4ba23c1935d22cb4c56826460c8da3', x86_64: '837e33dad2cc4db985980978e4ffdebe7316e1f6aacf5308d00e78e65c00e627',
}) })
def self.build def self.build
...@@ -25,6 +25,7 @@ class Utf8proc < Package ...@@ -25,6 +25,7 @@ class Utf8proc < Package
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "PREFIX=#{CREW_PREFIX}", "LIBDIR=#{CREW_LIB_PREFIX}",
"DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -3,31 +3,29 @@ require 'package' ...@@ -3,31 +3,29 @@ require 'package'
class Vidstab < Package class Vidstab < Package
description 'Transcode video stabilization plugin.' description 'Transcode video stabilization plugin.'
homepage 'http://public.hronopik.de/vid.stab/' homepage 'http://public.hronopik.de/vid.stab/'
version '0.98b' version '1.1.0'
source_url 'https://github.com/georgmartius/vid.stab/archive/release-0.98b.tar.gz' source_url 'https://github.com/georgmartius/vid.stab/archive/v1.1.0.tar.gz'
source_sha256 '530f0bf7479ec89d9326af3a286a15d7d6a90fcafbb641e3b8bdb8d05637d025' source_sha256 '14d2a053e56edad4f397be0cb3ef8eb1ec3150404ce99a426c4eb641861dc0bb'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/vidstab-0.98b-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/vidstab-1.1.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/vidstab-0.98b-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/vidstab-1.1.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/vidstab-0.98b-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/vidstab-1.1.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/vidstab-0.98b-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/vidstab-1.1.0-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '27057da6800431584c140aaac9d64cb054a03d7e8ad534a4760bc2e5e1d92b3f', aarch64: 'bce661392dce20dd457aac266b8fd54d9baab87d817f5975ab6705950b77a272',
armv7l: '27057da6800431584c140aaac9d64cb054a03d7e8ad534a4760bc2e5e1d92b3f', armv7l: 'bce661392dce20dd457aac266b8fd54d9baab87d817f5975ab6705950b77a272',
i686: 'dc7494886a6098c58cd7c6394044aef79df1dd9fad607c38611391147f31d2de', i686: '68014e89423663b16267d08d5cb2342356f81eeb92cad863a6a97d8b536466d8',
x86_64: '7769fa40e362f5914ce80533ec87c6dd61310efb1eddf673a87bf81aa04b404b', x86_64: '3557c98666d254d12bd738595ea6147dea7f7b354a24bd246832084fe1bcddb6',
}) })
depends_on 'cmake'
def self.build def self.build
system "cmake ." system "cmake . -DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}"
system "make" system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "LIBDIR=#{CREW_LIB_PREFIX}", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -3,46 +3,41 @@ require 'package' ...@@ -3,46 +3,41 @@ require 'package'
class Weechat < Package class Weechat < Package
description "WeeChat is a fast, light and extensible chat client." description "WeeChat is a fast, light and extensible chat client."
homepage 'http://www.weechat.org/' homepage 'http://www.weechat.org/'
version '2.0.1' version '2.1'
source_url 'https://weechat.org/files/src/weechat-2.0.1.tar.xz' source_url 'https://weechat.org/files/src/weechat-2.1.tar.xz'
source_sha256 '6943582eabbd8a6fb6dca860a86f896492cae5fceacaa396dbc9eeaa722305d1' source_sha256 'cda0f81ff8243fd25cca76c8e490e2fdb5b8fbb2554d7aa87cb3b0beda16ed38'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/weechat-2.0.1-chromeos-armv7l.tar.xz', aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/weechat-2.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/weechat-2.0.1-chromeos-armv7l.tar.xz', armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/weechat-2.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/weechat-2.0.1-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/weechat-2.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/weechat-2.0.1-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/weechat-2.1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: 'e1d444bca78dd74a8913d5c1affbb00c698f4ed53ba1cb73426beb7f4710d074', aarch64: '9b00d99af938abc66093f1b64287d71502a3d4967530d4d5f7e55756ba6fc00e',
armv7l: 'e1d444bca78dd74a8913d5c1affbb00c698f4ed53ba1cb73426beb7f4710d074', armv7l: '9b00d99af938abc66093f1b64287d71502a3d4967530d4d5f7e55756ba6fc00e',
i686: '75f092da7af5d3eddca50da63fba349148d4a9359e5f049a6c455f334915b2f1', i686: '31ef7d36a76b8b41bcd2f1a352adcd20456deccc4ed2e452e882223c32b67ba3',
x86_64: '6cb6feeadf075aa7c5bf09b86c110d378715f5caf3eae320454305ae11268b2d', x86_64: '4ab72526832466b8d2166ab093951fe87cf2e4faba1e29361c95c6bc966210bd',
}) })
depends_on 'curl' depends_on 'icu4c'
depends_on 'gnutls'
depends_on 'libgcrypt' depends_on 'libgcrypt'
depends_on 'aspell' => :build depends_on 'aspell' => :build
depends_on 'cmake' => :build depends_on 'curl' => :build
depends_on 'git' => :build
depends_on 'lua' => :build depends_on 'lua' => :build
depends_on 'perl' => :build
depends_on 'pkgconfig' => :build
depends_on 'python27' => :build depends_on 'python27' => :build
depends_on 'ruby' => :build
depends_on 'tcl' => :build depends_on 'tcl' => :build
def self.build def self.build
system "cmake", system "cmake",
"-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}", "-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}",
"-DCMAKE_BUILD_TYPE=Release", "-DCMAKE_BUILD_TYPE=Release",
"-DENABLE_MAN=ON", "-DENABLE_MAN=ON",
"-DPYTHON_EXECUTABLE=#{CREW_PREFIX}/bin/python2" "-DPYTHON_EXECUTABLE=#{CREW_PREFIX}/bin/python2"
system "make" system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "LIBDIR=#{CREW_LIB_PREFIX}", "DESTDIR=#{CREW_DEST_DIR}", "install"
end end
end end
...@@ -3,29 +3,30 @@ require 'package' ...@@ -3,29 +3,30 @@ require 'package'
class Wkhtmltox < Package class Wkhtmltox < Package
description 'Convert HTML to PDF using Webkit (QtWebKit)' description 'Convert HTML to PDF using Webkit (QtWebKit)'
homepage 'https://wkhtmltopdf.org/' homepage 'https://wkhtmltopdf.org/'
version '0.12.4' version '0.12.4-1'
case ARCH source_url ({
when 'i686' i686: 'https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-i386.tar.xz',
source_url 'https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-i386.tar.xz' x86_64: 'https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz',
source_sha256 '4087b264ec860ab0b0f9b7299ef733fc51e8e39f42047a06724b7450016ab9b8' })
when 'x86_64' source_sha256 ({
source_url 'https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz' i686: '4087b264ec860ab0b0f9b7299ef733fc51e8e39f42047a06724b7450016ab9b8',
source_sha256 '049b2cdec9a8254f0ef8ac273afaf54f7e25459a273e27189591edc7d7cf29db' x86_64: '049b2cdec9a8254f0ef8ac273afaf54f7e25459a273e27189591edc7d7cf29db',
end })
binary_url ({ binary_url ({
i686: 'https://dl.bintray.com/chromebrew/chromebrew/wkhtmltox-0.12.4-chromeos-i686.tar.xz', i686: 'https://dl.bintray.com/chromebrew/chromebrew/wkhtmltox-0.12.4-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/wkhtmltox-0.12.4-chromeos-x86_64.tar.xz', x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/wkhtmltox-0.12.4-1-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
i686: '49df2dd2e7d9bda0e8cc4b29d186df54a49f03b7a3ad4125d835732edf0d0c01', i686: '6b8fea9c8369203b53d57d3b1f3f22789379a72122d4fda19980aa0622e59717',
x86_64: 'b2084816bae9c21d3ebd1e68f4ec4661b8e08426161b10841f80488c71aac7af', x86_64: '51b6abcd0d037008c01b043b75c0679f10e105808aacb69be6e7d313c842516c',
}) })
def self.install def self.install
system "mkdir -p #{CREW_DEST_PREFIX}" system "mkdir -p #{CREW_DEST_PREFIX}"
system "mkdir -p #{CREW_DEST_LIB_PREFIX}"
system "cp -r bin/ #{CREW_DEST_PREFIX}" system "cp -r bin/ #{CREW_DEST_PREFIX}"
system "cp -r lib/ #{CREW_DEST_PREFIX}" system "cp -r lib/* #{CREW_DEST_LIB_PREFIX}"
system "cp -r share/ #{CREW_DEST_PREFIX}" system "cp -r share/ #{CREW_DEST_PREFIX}"
system "cp -r include/ #{CREW_DEST_PREFIX}" system "cp -r include/ #{CREW_DEST_PREFIX}"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment