Commit 5cc5ed51 authored by Gangstead's avatar Gangstead Committed by GitHub

Merge pull request #1573 from uberhacker/add-pre-built-binaries-a-p

Add pre-built binaries for aws, boost, collectl, composer, graphicsmagick, libx265, perl_locale_messages and platformsh
parents fbf2d97c 23f2b1fe
......@@ -8,8 +8,16 @@ class Aws < Package
source_sha256 '5134f47dc0f6a45c0600e71abf040965f5356f5185e544f78f8b975f7d2d3e21'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/aws-1.14.16-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/aws-1.14.16-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/aws-1.14.16-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/aws-1.14.16-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'aeff85395a5937d5796fbe91c94c49421d73e4e76cb0913c9552c0455435661d',
armv7l: 'aeff85395a5937d5796fbe91c94c49421d73e4e76cb0913c9552c0455435661d',
i686: '95897d6c609d9f775d1bda59075dbab02e98f1a1fa6209c28d11059df80026c2',
x86_64: 'c85943d67869c652453668588b5c52992a6c1a6124285cdcfbeddd3404463f4a',
})
depends_on 'python27' unless File.exists? "#{CREW_PREFIX}/bin/python"
......
......@@ -7,6 +7,19 @@ class Boost < Package
source_url 'https://downloads.sourceforge.net/project/boost/boost/1.66.0/boost_1_66_0.tar.bz2'
source_sha256 '5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/boost-1.66.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/boost-1.66.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/boost-1.66.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/boost-1.66.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '2dbbe25f491f89c331ad9a7f36a2ffbc245db4621d43b5beb0772f07dfc8704c',
armv7l: '2dbbe25f491f89c331ad9a7f36a2ffbc245db4621d43b5beb0772f07dfc8704c',
i686: '193afe14c196b23424caa03c845ffba12390cfbf84248f94398494502e7be7f3',
x86_64: '527a50ab5e9dc7420a63f5ee6f3826ab9816f7f65ab2e87f54ac4cef9b452d67',
})
def self.build
system './bootstrap.sh'
end
......
......@@ -7,6 +7,19 @@ class Collectl < Package
source_url 'https://downloads.sourceforge.net/project/collectl/collectl/collectl-4.3.0/collectl-4.3.0.src.tar.gz'
source_sha256 'df7c7179963e05b8195519729e35eedd8ea8333a787cf9c5549b7b18228aa987'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/collectl-4.3.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/collectl-4.3.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/collectl-4.3.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/collectl-4.3.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '50a37619c46570ff71cd1154825cde479c3077f8b6e294ca132bf0122d379a79',
armv7l: '50a37619c46570ff71cd1154825cde479c3077f8b6e294ca132bf0122d379a79',
i686: '5f245a5d828ddf020fc07850cd0b941c1cab7645eec0a0ad66019933989fa924',
x86_64: 'b6969809ec05e685dae42ef0345a2c3375e2d12ea2f4cfbcf1d37878d329484a',
})
depends_on 'perl'
def self.build
......
......@@ -8,8 +8,16 @@ class Composer < Package
source_sha256 '97a097078485eb95ecdda24026a6435f9495a445db74a1db8ecd3c80e9e1eb36'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/composer-1.5.6-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/composer-1.5.6-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/composer-1.5.6-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/composer-1.5.6-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '575a1efd5c73a93e12cea2c66734d7ca08674e31ef6906ccb959b6646faf54b8',
armv7l: '575a1efd5c73a93e12cea2c66734d7ca08674e31ef6906ccb959b6646faf54b8',
i686: '470645298a0e16c66f2cb574de77e819445a39f1a4003f1b849d7afe9080afaa',
x86_64: 'f40f21c2465ac68d47c9755d6e785751138136265cde1f8c19b14694dd831ea4',
})
depends_on 'php7' unless File.exists? "#{CREW_PREFIX}/bin/php"
......
......@@ -7,8 +7,21 @@ class Graphicsmagick < Package
source_url 'https://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.27/GraphicsMagick-1.3.27.tar.xz'
source_sha256 'd03278d2790efc1dc72309f85a539810d2a81deb47932f7e6720d09ac72d0367'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/graphicsmagick-1.3.27-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/graphicsmagick-1.3.27-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/graphicsmagick-1.3.27-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/graphicsmagick-1.3.27-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '42f651c837a0ae63bf5822eaf5ad53321a09ef19040372aaae2ca01d00ae986f',
armv7l: '42f651c837a0ae63bf5822eaf5ad53321a09ef19040372aaae2ca01d00ae986f',
i686: '5813d51708e29fe5a9debc1682600f086e43c644b04e5bff238dc23cdd1ed895',
x86_64: '03ad955a5521ba4c62eb6e0c0a6b8e8bd9b10123b77b10fb11d5b3bfe9812a36',
})
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} --without-x"
system 'make'
end
......
......@@ -8,22 +8,31 @@ class Libx265 < Package
source_sha256 '1bf0036415996af841884802161065b9e6be74f5f6808ac04831363e2549cdbf'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libx265-2.6-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libx265-2.6-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libx265-2.6-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libx265-2.6-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '4ffe8a816ecc0350d749579f22278e3e9786cb52279829a1f8753205e1d1a03f',
armv7l: '4ffe8a816ecc0350d749579f22278e3e9786cb52279829a1f8753205e1d1a03f',
i686: '73a02413698d13621385cb9f5bc553bc154622e907ed4aa25a51ae54f0ee90c4',
x86_64: '4bd7fd7b202ab7f59f338e51ea832a5dbef00775af2cf7e7ae6ba6cacee93fac',
})
depends_on 'cmake'
depends_on 'yasm'
depends_on 'cmake' => :build
depends_on 'yasm' => :build
def self.build
FileUtils.cd('source') do
system "cmake ."
FileUtils.cd('build') do
system "cmake ../source -DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}"
system "sed -i 's,{CMAKE_INSTALL_PREFIX}/lib,{CMAKE_INSTALL_PREFIX}/lib64,g' cmake_install.cmake" if ARCH == 'x86_64'
system "make"
end
end
def self.install
FileUtils.cd('source') do
FileUtils.cd('build') do
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
......
......@@ -8,8 +8,16 @@ class Perl_locale_messages < Package
source_sha256 '78935f10db6d6a080c3160b4ae02c3f6ed07ef6bf624623295a87545e0cbfbb1'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/perl_locale_messages-1.29-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/perl_locale_messages-1.29-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/perl_locale_messages-1.29-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/perl_locale_messages-1.29-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'f882f4e99637315fa64b43b5e801714f32cc451efbdde2adbe4544cba9599b72',
armv7l: 'f882f4e99637315fa64b43b5e801714f32cc451efbdde2adbe4544cba9599b72',
i686: 'd09491828102b107c0b3e944414a54b3bc22d643de39f5e7d5bd572c806a8785',
x86_64: 'd4e294eaee1da9208dbe5d7fd844a455e106d20eff826e7e6339e2e11c6ed5c3',
})
depends_on 'perl'
......
......@@ -8,8 +8,16 @@ class Platformsh < Package
source_sha256 '57c639c587c5a0254c022cf9954054aa3092b8350d891aaf399ff4f3a614c5c0'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/platformsh-3.26.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/platformsh-3.26.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/platformsh-3.26.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/platformsh-3.26.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '17cb068e71162c529129f21ace587cf83f0da33782726ca144416cabf95f44ae',
armv7l: '17cb068e71162c529129f21ace587cf83f0da33782726ca144416cabf95f44ae',
i686: 'd80488f79eef69722475c7bc1586510353f08918fb9aaf243045bd4e531913c0',
x86_64: '361d33cec0c787d0dd07bef361af4fd68ce23d0c90c4df494a984ad2ea223a57',
})
depends_on 'php7' unless File.exists? "#{CREW_PREFIX}/bin/php"
......
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