Skip to content

Commit

Permalink
Add pre-built binaries for chicken, cmake and lynis packages
Browse files Browse the repository at this point in the history
  • Loading branch information
uberhacker committed Dec 21, 2017
1 parent a061d4b commit 237dda2
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/chicken.rb
Expand Up @@ -7,6 +7,19 @@ class Chicken < Package
source_url 'https://code.call-cc.org/releases/4.13.0/chicken-4.13.0.tar.gz'
source_sha256 'add549619a31363d6608b39e0cf0e68b9d5e6ff2a719b5691ddeba57229c6c43'

binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/chicken-4.13.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/chicken-4.13.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/chicken-4.13.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/chicken-4.13.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'bfc9280f5d2c3e079f7bdc1819e71243c6464e0e855878bbcb8f05f4f033ae20',
armv7l: 'bfc9280f5d2c3e079f7bdc1819e71243c6464e0e855878bbcb8f05f4f033ae20',
i686: '431b8e207f33561da047c373f38904c54aa8680d258c2b4788f327461243e776',
x86_64: 'fff1ca9617ebf651e31f552fb68c916d38a0278521f188956cdf2d284e7f5d61',
})

def self.build
system "make", "PLATFORM=linux"
end
Expand Down
13 changes: 13 additions & 0 deletions packages/cmake.rb
Expand Up @@ -7,6 +7,19 @@ class Cmake < Package
source_url 'https://cmake.org/files/v3.10/cmake-3.10.1.tar.gz'
source_sha256 '7be36ee24b0f5928251b644d29f5ff268330a916944ef4a75e23ba01e7573284'

binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.10.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.10.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.10.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cmake-3.10.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'bbdc47f0ee67e500c6cab439b9443dc0d21f2d472709b6cb9232490a8d7e9254',
armv7l: 'bbdc47f0ee67e500c6cab439b9443dc0d21f2d472709b6cb9232490a8d7e9254',
i686: '47a1dd635316052f383a36949a49decb0ca6ba57d40d5f118c0361e5dacf52ce',
x86_64: '77c23449a2a8e4a9f98069b330d2e186a5845bba78a4899d7a84840b378c3b7f',
})

depends_on 'buildessential'
depends_on 'openssl'
depends_on 'ncurses'
Expand Down
13 changes: 13 additions & 0 deletions packages/lynis.rb
Expand Up @@ -7,6 +7,19 @@ class Lynis < Package
source_url 'https://cisofy.com/files/lynis-2.5.7.tar.gz'
source_sha256 '95a6b8249b729d6c431377015c53724d3d267b74c2c9e5596a4d1c59c15df64c'

binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/lynis-2.5.7-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/lynis-2.5.7-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/lynis-2.5.7-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/lynis-2.5.7-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '2e12dd40c61fff75b1c32c6d3e9dee10458183ba39537578c049e5dff3ed67cc',
armv7l: '2e12dd40c61fff75b1c32c6d3e9dee10458183ba39537578c049e5dff3ed67cc',
i686: 'aab3f5715cfa6c9b944b1ce88ef3d4603e84c9bc24d19bd6e126b892eb862246',
x86_64: '4c728a9fd76868b3ea84e04cd7ae0ad88d68a59d09d6374cff36557a8a87061b',
})

def self.install
system "mkdir -p #{CREW_DEST_PREFIX}/bin"
system "mkdir -p #{CREW_DEST_PREFIX}/man/man8"
Expand Down

0 comments on commit 237dda2

Please sign in to comment.