Commit 45850805 authored by Chris Thurber's avatar Chris Thurber Committed by GitHub

Add pre-built binaries for janet and sqlmap (#3864)

parent 0f102a9e
......@@ -8,12 +8,18 @@ class Janet < Package
source_sha256 '2a119f3a79b209a858864e73ca3efda57ac044df3c89762a31480bbea386d2a3'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/janet-1.7.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/janet-1.7.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/janet-1.7.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/janet-1.7.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '6fbc239bc6374e516ca5e63e988e50a62f5396b83cc1b5ffcc37c484f436ea07',
armv7l: '6fbc239bc6374e516ca5e63e988e50a62f5396b83cc1b5ffcc37c484f436ea07',
i686: '5037e0285af569a4a660094599bb251695387fe84936bc53315a107d2d258b61',
x86_64: 'db58991ce4aef8d19e17abf5e944f39bb94bbb5e7b750c217de36fae71fce1b3',
})
depends_on 'meson' => :build
def self.build
system "meson --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX} builddir"
system 'ninja -C builddir'
......@@ -22,5 +28,4 @@ class Janet < Package
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end
......@@ -8,11 +8,19 @@ class Sqlmap < Package
source_sha256 '77faf85164eb17dce769ec830cbd146768644315bc1024613ad13155e09c2d11'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/sqlmap-1.4.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/sqlmap-1.4.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/sqlmap-1.4.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/sqlmap-1.4.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '02a1b56739af28c5c2dbd920f69c630e7e1ffafc043387b06534c9586886f5f7',
armv7l: '02a1b56739af28c5c2dbd920f69c630e7e1ffafc043387b06534c9586886f5f7',
i686: '0fbff386670b5ef09f12d3b3e3478d203f4f1140d529b039be36d7123399497e',
x86_64: '886d073baae73b24d03dfdc8c7d09dff3de47eda9229794caed5a1915b25c588',
})
depends_on 'python27' unless File.exists? "#{CREW_PREFIX}/bin/python"
depends_on 'python27' unless File.exist? "#{CREW_PREFIX}/bin/python"
def self.build
system "echo '#!/bin/bash' > sqlmap"
......
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