Commit 646c96ff authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge branch 'master' into master

parents 287dfb11 95a1dc01
## Before you submit an issue
Please look up our issues, maybe your problem was mentioned before.
## Description
Provide a short description of your problem here.
If you executed a specific command:
```shell
your command here
```
Output:
```shell
output
of
your
command
here
```
## Versions and system information
chromebrew: `crew --version`
ChromeOS: `cat /etc/lsb-release`
Model: YOUR MODEL HERE
Architecture: `uname -m`
## Addtional information
Mention things we might need to know. Like:
What I think needs to be done:
- [ ] step one
- [ ] step two
---
## That's it
Thank you for submitting your issue.
When done, please delete the parts of this template which you don't need or these, which are only for guidance.
Fixes #
(let GitHub automatically close an issue when this pull request gets merged)
## Before you submit a pull request
This template is not neccessary when you do simple things like updating packages to the latest version. But in doubt, it's always better so provide some information.
## Description
Provide a description, what your changes do and why they are important
Please link issues and other pull requests connected to this one.
## Addtional information
Mention things we might need to know. Like:
Works properly:
- [x] x86_64
- [ ] aarch64 (reasons why it doesn't)
---
## That's it
Thank you for submitting your pull request.
When done, please delete the parts of this template which you don't need or these, which are only for guidance.
# Contributing
**Are you wondering how you can get started?** You can learn how from this *free* series
[How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
## Prerequisites
1. A GitHub project in which you have access
2. A text editor or IDE (integrated development environment)
3. Basic knowledge of the command line in a terminal session
4. [`git`](https://git-scm.com/)
5. [`SSH key`](https://help.github.com/articles/connecting-to-github-with-ssh/)
## How to submit a Pull Request (aka PR)
1. Click the _**Fork**_ button in the top right to copy the repo to your own GitHub project.
2. Open a terminal and clone your forked project locally:
```bash
$ git clone git@github.com:your-project-name/chromebrew.git && cd chromebrew
```
3. Create a branch for your PR:
```bash
$ git checkout -b update-cool-package
```
4. Add, edit or delete the file(s) you would like to change and save.
5. Test your changes! See steps 7 through 11 in the `How to test a pending PR from another contributor` section below.
6. Stage your changes:
```bash
$ git add -A
```
7. Review your changes:
```bash
$ git diff --staged
```
8. Correct your changes and repeat steps 4 through 7, if necessary.
9. Commit your changes:
```bash
$ git commit -m "Add some awesome change to cool package"
```
10. Push your changes:
```bash
$ git push origin update-cool-package
```
11. Visit your project page in the browser: `https://github.com/your-project-name/chromebrew`
12. Click the _**New pull request**_ button next to the _**Branch:**_ selector drop-down.
13. Select your branch name from the _**compare:**_ selector drop-down on the right.
14. Scroll down and review your changes.
15. Click the _**Create pull request**_ button.
16. Add a short description of your change.
17. Click the _**Create pull request**_ button.
## How to test a pending PR from another contributor
1. Open the PR of interest.
2. Next to the green _**Open**_ badge, you should see something similar to:
```
contributor-name wants to merge 1 commit into skycocker:master from contributor-name:update-cool-package
```
3. On the far right, take note of _**contributor-name:update-cool-package**_. This is the PR contributor along with the branch they want to merge.
4. Open a terminal, change to your cloned chromebrew directory and execute:
```bash
$ git remote add contributor-name git@github.com:contributor-name/chromebrew.git
```
5. Fetch their branches:
```bash
$ git fetch contributor-name
```
6. Checkout their branch:
```bash
$ git checkout update-cool-package
```
7. If the requested change is a package:
```bash
$ cp packages/cool_package.rb /usr/local/lib/crew/packages/
```
8. Test the new or updated package:
```bash
$ crew upgrade cool_package
```
9. Examine the files to see if everything installed as expected:
```bash
$ crew files cool_package
```
10. Run some tests on executables, if applicable:
```bash
$ cool_package --version
$ cool_package --help
$ cool_package --some-other-option
```
11. To see if this package is a dependency for another package, execute:
```bash
$ grep "depends_on 'cool_package'" packages/*.rb
```
and, just in case:
```bash
$ grep 'depends_on "cool_package"' packages/*.rb
```
If the package is a dependency for another package, test commands of the other package, if possible, to see if they were affected in any way.
12. Visit the PR and add a comment suggesting any changes or mark it RTBC if everything looks good.
## Learn more
- Visit the [wiki](https://github.com/skycocker/chromebrew/wiki)
......@@ -6,11 +6,12 @@ Package manager for Chrome OS
Supported Systems
-----------------
| Architecture | Supported? |
|:--------------:|:----------:|
| x86_64 | Yes |
| i686 | Yes |
| arm (Exynos 5) | Yes |
| Architecture | Supported? |
|:---:|:---:|
| x86_64 | Yes |
| i686 | Yes |
| armv7l | Yes |
| aarch64 | Yes |
Overview
--------
......@@ -36,32 +37,51 @@ Then download and run the installation script below:
wget -q -O - https://raw.github.com/skycocker/chromebrew/master/install.sh | bash
-- or --
curl -Ls git.io/vddgY | bash
On a rooted Google OnHub, the command needs to be run with the "chronos" user. In order to make su work, a password is needed for the chronos user.
# passwd chronos
Changing password for chronos.
Enter new UNIX password:
Retype new UNIX password:
# su - chronos
Password:
$ curl -Ls git.io/vddgY -o install.sh && yes | bash install.sh
Usage
-----
crew <command> <package> <keep[temporary files]>
crew <command> [-k|--keep] <package1> [<package2> ...]
Where available commands are:
* build [build a package from source and store the archive and checksum in the current working directory]
* download [download a package to `CREW_BREW_DIR` (`/usr/local/tmp/crew` by default), but don't install it]
* build [build package(s) from source and store the archive and checksum in the current working directory]
* download [download package(s) to `CREW_BREW_DIR` (`/usr/local/tmp/crew` by default), but don't install]
* files [display installed files of package(s).]
* help [get information about command usage]
* install [install a package along with its dependencies after prompting for confirmation]
* remove [remove a package]
* install [install package(s) along with dependencies after prompting for confirmation]
* remove [remove package(s)]
* search [look for a package]
* update [update crew itself]
* upgrade [update all or a specific package]
* upgrade [update all or specific package(s)]
* whatprovides [regex search for package(s) that contains file(s)]
Available packages are listed in the [packages directory](https://github.com/skycocker/chromebrew/tree/master/packages).
Chromebrew will wipe its `BREW_DIR` (`/usr/local/tmp/crew` by default) after installation unless you pass "keep" as the last parameter when running "crew install".
Chromebrew will wipe its `BREW_DIR` (`/usr/local/tmp/crew` by default) after installation unless you pass `-k` or `--keep` when running `crew install`.
crew install <package> keep
crew install --keep <package1> [<package2> ...]
License
-------
Copyright 2013 Michal Siwek and [all the awesome contributors](https://github.com/skycocker/chromebrew/graphs/contributors).
Copyright 2013-2018 Michal Siwek and [all the awesome contributors](https://github.com/skycocker/chromebrew/graphs/contributors).
This project including all of its source files is released under the terms of [GNU General Public License (version 3 or later)](http://www.gnu.org/licenses/gpl.txt).
Our binary packages are hosted on [bintray](https://bintray.com/chromebrew/chromebrew).
<a href="https://bintray.com/chromebrew/chromebrew" target="_blank"><img src="https://github.com/skycocker/chromebrew/blob/master/images/Powered-by-Bintray_Banner_16-6-16-green.png" alt="Powered by Bintray" /></a>
This diff is collapsed.
......@@ -3,7 +3,7 @@ OWNER="skycocker"
REPO="chromebrew"
BRANCH="master"
URL="https://raw.githubusercontent.com/$OWNER/$REPO/$BRANCH"
CREW_PREFIX=/usr/local
CREW_PREFIX=${CREW_PREFIX:-/usr/local}
CREW_LIB_PATH=$CREW_PREFIX/lib/crew/
CREW_CONFIG_PATH=$CREW_PREFIX/etc/crew/
CREW_BREW_DIR=$CREW_PREFIX/tmp/crew/
......@@ -26,7 +26,7 @@ case "$architecture" in
esac
#This will allow things to work without sudo
sudo chown -R `id -u`:`id -g` /usr/local
sudo chown -R `id -u`:`id -g` "${CREW_PREFIX}"
#prepare directories
for dir in $CREW_LIB_PATH $CREW_CONFIG_PATH $CREW_CONFIG_PATH/meta $CREW_BREW_DIR $CREW_DEST_DIR $CREW_PACKAGES_PATH; do
......@@ -39,36 +39,40 @@ urls=()
sha256s=()
case "$architecture" in
"aarch64")
urls+=('https://dl.dropboxusercontent.com/s/02afb4qm4ugl0os/ruby-2.0.0p247-chromeos-armv7l.tar.xz')
sha256s+=('de01196461edd57bb39288e7b9dee1ee3cdc605e4e8be6b8871ba47dbe1ca972')
urls+=('https://dl.dropboxusercontent.com/s/lnz5hmjv48d14f2/git-1.8.4-chromeos-armv7l.tar.xz')
sha256s+=('f6f7d2500a41419937944af464494dd0ab95b15877ee630a4c13dd0abb37b02d')
urls+=('https://dl.dropboxusercontent.com/s/fq23kj42gsifcvi/libssh2-1.4.3-chromeos-armv7l.tar.xz')
sha256s+=('c1b8b09dfae6ab82ec6c961120c38e78ee50ecf902800f8257d0916e18db0b69')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.0-chromeos-armv7l.tar.xz')
sha256s+=('ad6bad7fcce9b595af3172e6ae48a2b4ffac7e0ed73daa22be4e972f4889c3a6')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/git-2.16.1-chromeos-armv7l.tar.xz')
sha256s+=('1267dd4eedcdef94c201b462f18f8dbc3bdef1e82106adf642cf428ede350d3b')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/libssh2-1.8.0-chromeos-armv7l.tar.xz')
sha256s+=('6fa84296583273dd9e749a2c54cb1cf688a7dab032e2528de5944a4d9777f037')
;;
"armv7l")
urls+=('https://dl.dropboxusercontent.com/s/02afb4qm4ugl0os/ruby-2.0.0p247-chromeos-armv7l.tar.xz')
sha256s+=('de01196461edd57bb39288e7b9dee1ee3cdc605e4e8be6b8871ba47dbe1ca972')
urls+=('https://dl.dropboxusercontent.com/s/lnz5hmjv48d14f2/git-1.8.4-chromeos-armv7l.tar.xz')
sha256s+=('f6f7d2500a41419937944af464494dd0ab95b15877ee630a4c13dd0abb37b02d')
urls+=('https://dl.dropboxusercontent.com/s/fq23kj42gsifcvi/libssh2-1.4.3-chromeos-armv7l.tar.xz')
sha256s+=('c1b8b09dfae6ab82ec6c961120c38e78ee50ecf902800f8257d0916e18db0b69')
if ! type "xz" > /dev/null; then
urls+=('https://github.com/snailium/chrome-cross/releases/download/v1.8.1/xz-5.2.3-chromeos-armv7l.tar.gz')
sha256s+=('4dc9f086ee7613ab0145ec0ed5ac804c80c620c92f515cb62bae8d3c508cbfe7')
fi
urls+=('https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.0-chromeos-armv7l.tar.xz')
sha256s+=('ad6bad7fcce9b595af3172e6ae48a2b4ffac7e0ed73daa22be4e972f4889c3a6')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/git-2.16.1-chromeos-armv7l.tar.xz')
sha256s+=('1267dd4eedcdef94c201b462f18f8dbc3bdef1e82106adf642cf428ede350d3b')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/libssh2-1.8.0-chromeos-armv7l.tar.xz')
sha256s+=('6fa84296583273dd9e749a2c54cb1cf688a7dab032e2528de5944a4d9777f037')
;;
"i686")
urls+=('https://dl.dropboxusercontent.com/s/tufbuqcn80ubypx/ruby-2.0.0p247-chromeos-i686.tar.gz')
sha256s+=('e16b0925f21c8651f780fa0be721ba04546bb70017d6da2a84fad83e4ff4ebe2')
urls+=('https://dl.dropboxusercontent.com/s/g3binxopw5nfky1/git-1.8.4-chromeos-i686.tar.gz')
sha256s+=('ef561d3b0d498b847327a90ff8c9d75daa0ae04adb83a71f22bffdbb575f6097')
urls+=('https://dl.dropboxusercontent.com/s/zjnild1c2i10h53/libssh2-1.4.3-chromeos-i686.tar.gz')
sha256s+=('195aef637b35166eef4c7634b133d945536fb5d3fda2c1acac99a2b74ddcc580')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.0-chromeos-i686.tar.xz')
sha256s+=('01bb17f706dc73013f23c15d589744858e1501c6664feef73dad1ff0e9b67599')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/git-2.16.1-chromeos-i686.tar.xz')
sha256s+=('2215ef3534daf89e1b96b63f7b5177018cb657bb7713d9aad97a80729c4da546')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/libssh2-1.8.0-chromeos-i686.tar.xz')
sha256s+=('771b2d30a49dd691db8456f773da404753d368f3c31d03c682c552ea0b5eb65e')
;;
"x86_64")
urls+=('https://dl.dropboxusercontent.com/s/3dw5ue5vhf5nj8k/ruby-2.0.0-p247-chromeos1-chromeos-x86_64.tar.gz')
sha256s+=('77bd45734f460737e14d58cc73f5b9e16d22daa05eac704115047c0d8f9b5d44')
urls+=('https://dl.dropboxusercontent.com/s/i7vs9wfk94tsrzt/git-1.8.4-chromeos-x86_64.tar.gz')
sha256s+=('2938d817d1a66c94c03c886eb9cc9b2deb4f96cad6f46be82729caee46cb0197')
urls+=('https://dl.dropboxusercontent.com/s/frzkbbnf35ie6ns/libssh2-1.4.3-chromeos-x86_64.tar.gz')
sha256s+=('eaf7c34b7f694a0df2fc80ddea117997428e0f364f2729ef943ca81572dfcd6c')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/ruby-2.5.0-chromeos-x86_64.tar.xz')
sha256s+=('1c748efef37747afb9b4f11068a2bbbaf03495bcb697310e1a39bb82a3549c71')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/git-2.16.1-chromeos-x86_64.tar.xz')
sha256s+=('8447b69bb2eb1040fa5627c1e0aae122db6b22ec846f957b81fd3fbc2d287783')
urls+=('https://dl.bintray.com/chromebrew/chromebrew/libssh2-1.8.0-chromeos-x86_64.tar.xz')
sha256s+=('6e026450389021c6267a9cc79b8722d15f48e2f8d812d5212501f686b4368e3c')
;;
esac
......@@ -78,7 +82,7 @@ function download_check () {
#download
echo "Downloading $1..."
wget -c $2 -O $3
curl -C - -# -L --ssl $2 -o "$3"
#verify
echo "Verifying $1..."
......@@ -86,7 +90,7 @@ function download_check () {
case $? in
0) ;;
*)
echo 'Verification failed, something may be wrong with the $1 download.'
echo "Verification failed, something may be wrong with the $1 download."
exit 1;;
esac
}
......@@ -156,19 +160,19 @@ done
#download, prepare and install chromebrew
cd $CREW_LIB_PATH
rm -rf crew lib packages
wget -N $URL/crew
curl -# -o crew $URL/crew
chmod +x crew
rm -f $CREW_PREFIX/bin/crew
ln -s `pwd`/crew $CREW_PREFIX/bin
#install crew library
mkdir -p $CREW_LIB_PATH/lib
cd $CREW_LIB_PATH/lib
wget -N $URL/lib/package.rb
wget -N $URL/lib/package_helpers.rb
curl -# -o package.rb $URL/lib/package.rb
curl -# -o package_helpers.rb $URL/lib/package_helpers.rb
#Making GCC act like CC (For some npm packages out there)
rm -f /usr/local/bin/cc
ln -s /usr/local/bin/gcc /usr/local/bin/cc
rm -f $CREW_PREFIX/bin/cc
ln -s $CREW_PREFIX/bin/gcc $CREW_PREFIX/bin/cc
#prepare sparse checkout .rb packages directory and do it
cd $CREW_LIB_PATH
......@@ -181,4 +185,14 @@ echo lib >> .git/info/sparse-checkout
echo crew >> .git/info/sparse-checkout
git fetch origin master
git reset --hard origin/master
yes | crew install buildessential
yes | crew install less
yes | crew install most
echo
echo "To set the default PAGER environment variable to be able to use less:"
echo "echo \"export PAGER=$CREW_PREFIX/bin/less\" >> ~/.bashrc && . ~/.bashrc"
echo
echo "Alternatively, you could use most. Why settle for less, right?"
echo "echo \"export PAGER=$CREW_PREFIX/bin/most\" >> ~/.bashrc && . ~/.bashrc"
echo
echo "Chromebrew installed successfully and package lists updated."
# Colorization for strings
class String
def colorize(color_code, shade)
"\e[#{shade};#{color_code}m#{self}\e[0m"
end
def black
colorize(30, 0)
end
def red
colorize(31, 0)
end
def green
colorize(32, 0)
end
def orange
colorize(33, 0)
end
def blue
colorize(34, 0)
end
def purple
colorize(35, 0)
end
def cyan
colorize(36, 0)
end
def lightgray
colorize(37, 0)
end
def gray
colorize(30, 1)
end
def lightred
colorize(31, 1)
end
def lightgreen
colorize(32, 1)
end
def yellow
colorize(33, 1)
end
def lightblue
colorize(34, 1)
end
def lightpurple
colorize(35, 1)
end
def lightcyan
colorize(36, 1)
end
def white
colorize(37, 1)
end
end
# Defines common constants used in different parts of crew
CREW_VERSION = '0.4.3'
ARCH = `uname -m`.strip
ARCH_LIB = if ARCH == 'x86_64' then 'lib64' else 'lib' end
CREW_PREFIX = '/usr/local'
CREW_LIB_PREFIX = CREW_PREFIX + '/' + ARCH_LIB
CREW_LIB_PATH = CREW_PREFIX + '/lib/crew/'
CREW_CONFIG_PATH = CREW_PREFIX + '/etc/crew/'
CREW_BREW_DIR = CREW_PREFIX + '/tmp/crew/'
CREW_DEST_DIR = CREW_BREW_DIR + 'dest'
CREW_DEST_PREFIX = CREW_DEST_DIR + CREW_PREFIX
CREW_DEST_LIB_PREFIX = CREW_DEST_DIR + CREW_LIB_PREFIX
# Set CREW_NPROC from environment variable or `nproc`
if ENV["CREW_NPROC"].to_s == ''
CREW_NPROC = `nproc`.strip
else
CREW_NPROC = ENV["CREW_NPROC"]
end
# Set CREW_NOT_COMPRESS from environment variable
CREW_NOT_COMPRESS = ENV["CREW_NOT_COMPRESS"]
# Set CREW_NOT_STRIP from environment variable
CREW_NOT_STRIP = ENV["CREW_NOT_STRIP"]
USER = `whoami`.chomp
Copyright (c) 2012 Vladimir Keleshev <vladimir@keleshev.com>
Blake Williams <code@shabbyrobe.org>
Alex Speller <alex@alexspeller.com>
Nima Johari
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
This diff is collapsed.
require 'package_helpers'
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
attr_reader :is_fake
......@@ -9,8 +9,6 @@ class Package
attr_accessor :in_upgrade
end
@@debug_symbol = ENV['CREW_DEBUG_SYMBOL'] || false
def self.dependencies
# We need instance variable in derived class, so not define it here,
# base class. Instead of define it, we initialize it in a function
......@@ -71,23 +69,75 @@ class Package
@is_fake
end
# Function to perform pre-install operations prior to build from source.
def self.preinstall
end
# Function to perform patch operations prior to build from source.
def self.patch
end
# Function to perform build from source.
def self.build
end
# Function to perform install from source build.
def self.install
end
# Function to perform post-install for both source build and binary distribution
def self.postinstall
end
# Function to perform check from source build.
# This is execute if and only if `crew build`.
def self.check
end
def self.system(*args)
# add "-j#{CREW_NPROC}" argument to "make" at only compile-time
# add "-j#" argument to "make" at compile-time, if necessary
# Order of precendence to assign the number of processors:
# 1. The value of '-j#' from the package make argument
# 2. The value of ENV["CREW_NPROC"]
# 3. The value of `nproc`.strip
# See lib/const.rb for more details
if @in_build == true
nproc = ''
nproc_opt = ''
args.each do |arg|
params = arg.split(/\W+/)
params.each do |param|
if param.match(/j(\d)+/)
nproc_opt = param
break
end
end
end
nproc = "#{CREW_NPROC}" if nproc_opt == ''
if args[0] == "make"
# modify ["make", "args", ...] into ["make", "-j#{CREW_NPROC}", "args", ...]
args.insert(1, "-j#{CREW_NPROC}")
# modify ["make", "args", ...] into ["make", "-j#{nproc}", "args", ...]
args.insert(1, "-j#{nproc}") if nproc != ''
if @opt_verbose then
args.insert(1, "V=1")
else
args.insert(1, "V=0")
end
elsif args.length == 1
# modify ["make args..."] into ["make -j#{CREW_NPROC} args..."]
args[0].gsub!(/^make /, "make -j#{CREW_NPROC} ")
# modify ["make args..."] into ["make -j#{nproc} args..."]
args[0].gsub!(/^make /, "make -j#{nproc} ") if nproc != ''
if @opt_verbose then
args[0].gsub!(/^make /, "make V=1 ")
else
args[0].gsub!(/^make /, "make V=0 ")
end
end
end
Kernel.system(*args)
......
require "matrix"
class MutableMatrix < Matrix
public :"[]="
end
# Returns the edit distance between strings a and b
# https://en.wikipedia.org/wiki/Edit_distance
def edit_distance (a, b)
# memo is the matrix for dynamic programming
# memo[i, j] = the edit distance between the
# prefixes of a and b of size i and j.
memo = MutableMatrix.zero(a.size + 1, b.size + 1)
a.size.times {|i| memo[i + 1, 0] = i + 1}
b.size.times {|j| memo[0, j + 1] = j + 1}
a.size.times do |i|
b.size.times do |j|
if a[i] == b[j] then
memo[i + 1, j + 1] = memo[i, j]
else
memo[i + 1, j + 1] = [
memo[i + 1, j],
memo[i, j + 1],
memo[i, j]
].min + 1
end
end
end
return memo[a.size, b.size]
end
require "package"
require 'package'
class A2png < Package
description 'Converts plain ASCII text into PNG bitmap images.'
homepage 'https://sourceforge.net/projects/a2png/'
version "0.1.5"
source_url "https://sourceforge.net/projects/a2png/files/a2png/0.1.5/a2png-0.1.5.tar.bz2"
source_sha1 "07c093920f2e520b2b7b77417021cdff0e92a4ed"
version '0.1.5-1'
source_url 'https://sourceforge.net/projects/a2png/files/a2png/0.1.5/a2png-0.1.5.tar.bz2'
source_sha256 'd3ae1c771f5180d93f35cded76d9bb4c4cc2023dbe65613e78add3eeb43f736b'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/a2png-0.1.5-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/a2png-0.1.5-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/a2png-0.1.5-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/a2png-0.1.5-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '72ebf874dee9871949df56eecd9b24e8586b84c1efed1bdf988f9ea9f28e012b',
armv7l: '72ebf874dee9871949df56eecd9b24e8586b84c1efed1bdf988f9ea9f28e012b',
i686: '76223ed1859aa31f3d93afb5e3705dfff7a8023de08672b4f2216a8fe55e46b5',
x86_64: 'b468b226e28cf717c3f38435849bf737067a8b9ec3c1928c01fed5488bb31464',
})
depends_on 'cairo'
def self.build
system "./configure --enable-cairo \
--with-cairo-lib=/usr/local/lib \
--with-cairo-include=/usr/local/include/cairo"
system "make"
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--localstatedir=#{CREW_PREFIX}/tmp \
--enable-cairo \
--with-cairo-lib=#{CREW_LIB_PREFIX} \
--with-cairo-include=#{CREW_PREFIX}/include/cairo"
system 'make'
end
def self.install
......
require "package"
require 'package'
class A2ps < Package
description 'GNU a2ps is an Any to PostScript filter.'
homepage 'http://www.gnu.org/software/a2ps/'
version "4.14"
source_url "http://ftp.gnu.org/gnu/a2ps/a2ps-4.14.tar.gz"
source_sha1 "365abbbe4b7128bf70dad16d06e23c5701874852"
version '4.14-1'
source_url 'https://ftp.gnu.org/gnu/a2ps/a2ps-4.14.tar.gz'
source_sha256 'f3ae8d3d4564a41b6e2a21f237d2f2b104f48108591e8b83497500182a3ab3a4'
depends_on "gperf"
depends_on "filecmd"
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/a2ps-4.14-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/a2ps-4.14-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/a2ps-4.14-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/a2ps-4.14-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'c6c9c237e5d9e51b8d19fb74522b7a60dabe74c958061a080f1f338b289ba254',
armv7l: 'c6c9c237e5d9e51b8d19fb74522b7a60dabe74c958061a080f1f338b289ba254',
i686: '9a877e68120feb3f8ec9c50c36b9d378186fb00bc2883670bdc42089411e4607',
x86_64: '28b5f46158587be75ff873d64805f480af0a3bbfa2f764abf815117d0b907f48',
})
depends_on 'gperf'
depends_on 'filecmd'
def self.build
system "./configure"
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--localstatedir=#{CREW_PREFIX}/tmp"
system "make"
end
......
require 'package'
class Aalib < Package
description 'AA means Ascii Art - the AAlib (ascii art GFX library), BB (audiovisual demonstration for your terminal), aview (image browser/animation player), AAvga (SVGAlib wrapper for AA-lib), ttyquake (text mode quake), aa3d (random dot stereogram generator)...'
homepage 'https://sourceforge.net/projects/aa-project/'
version '1.4rc5'
source_url 'https://downloads.sourceforge.net/project/aa-project/aa-lib/1.4rc5/aalib-1.4rc5.tar.gz'
source_sha256 'fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/aalib-1.4rc5-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/aalib-1.4rc5-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/aalib-1.4rc5-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/aalib-1.4rc5-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '34ed4e4142bed8a030b93415bda87d682edacb04d70a3a04230571c0f43e9a8c',
armv7l: '34ed4e4142bed8a030b93415bda87d682edacb04d70a3a04230571c0f43e9a8c',
i686: '9fafddddfaab739bf91ac769e9d1c6744424a345707f3a18f7c9d6ec3b88ab16',
x86_64: '9b5fbeb2099e6428eb675fda16077b14ceb4fd22e017a4c041bafe7542bdfe15',
})
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--without-x'
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Abcde < Package
description 'Grab an entire CD and compress it to Ogg/Vorbis, MP3, FLAC, AAC, Ogg/Speex and/or MPP/MP+(Musepack) format.'
homepage 'https://abcde.einval.com/wiki/'
version '2.8.1'
source_url 'https://abcde.einval.com/download/abcde-2.8.1.tar.gz'
source_sha256 'e49c71d7ddcd312dcc819c3be203abd3d09d286500ee777cde434c7881962b39'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/abcde-2.8.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/abcde-2.8.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/abcde-2.8.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/abcde-2.8.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'e1df59dce7cb4f2c5d232ad192ba17b4a0aa64bbe6cf262faf00794e706a160a',
armv7l: 'e1df59dce7cb4f2c5d232ad192ba17b4a0aa64bbe6cf262faf00794e706a160a',
i686: '838a40a6bfbf7a0e848b091f9ee83158a1f5436183b86789cb71b8b8c4fa1f08',
x86_64: '6177e24acfeecf223a4d3b3c86e47fcbcae90006f23df0cf9573b1a75c2e4c4a',
})
def self.build
system "sed -i 's,prefix = /usr/local,prefix = #{CREW_DEST_PREFIX},' Makefile"
system "sed -i 's,sysconfdir = /etc,sysconfdir = #{CREW_DEST_PREFIX}/etc,' Makefile"
end
def self.install
system "make install"
end
end
......@@ -3,14 +3,31 @@ require 'package'
class Acl < Package
description 'Commands for Manipulating POSIX Access Control Lists.'
homepage 'http://savannah.nongnu.org/projects/acl'
version '2.2.52'
source_url 'http://download.savannah.gnu.org/releases/acl/acl-2.2.52.src.tar.gz'
source_sha1 '537dddc0ee7b6aa67960a3de2d36f1e2ff2059d9'
version '2.2.52-1'
source_url 'https://download.savannah.gnu.org/releases/acl/acl-2.2.52.src.tar.gz'
source_sha256 '179074bb0580c06c4b4137be4c5a92a701583277967acdb5546043c7874e0d23'
depends_on "attr"
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/acl-2.2.52-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/acl-2.2.52-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/acl-2.2.52-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/acl-2.2.52-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '665f97de5ae62d224c789e447e59d4ee860b63c107f0e73fa8f5643da1ad8b6e',
armv7l: '665f97de5ae62d224c789e447e59d4ee860b63c107f0e73fa8f5643da1ad8b6e',
i686: 'bc8bd9f548810b7c682661a3c894ca234633b78534ddd5309bfc2a0311054dcd',
x86_64: '41be0de4a728c698b10fbe686fdaa02d3cb98eb048d8253e164afaa3d6716a6a',
})
depends_on 'attr'
def self.build
system "./configure --prefix=/usr/local --libexecdir=/usr/local/lib --disable-static"
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--libexecdir=#{CREW_LIB_PREFIX} \
--disable-static"
system "make"
end
......
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.1.0-2'
source_url 'https://github.com/ggreer/the_silver_searcher/archive/2.1.0.tar.gz'
source_sha256 'cb416a0da7fe354a009c482ae709692ed567f8e7d2dad4d242e726dd7ca202f0'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ag-2.1.0-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ag-2.1.0-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ag-2.1.0-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ag-2.1.0-2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'ea0d8612843e439f9eae121311d99de52c7ef248ebb418f0999c87f436c64d9b',
armv7l: 'ea0d8612843e439f9eae121311d99de52c7ef248ebb418f0999c87f436c64d9b',
i686: 'a2300b669ede04b870da2e2232e0bb888bb49e56a4b9a03d61edb96fae1380f8',
x86_64: '7a0e7295bb5d28d9b9d620ae1d21823000666cfe32ef203e0055472ab94b726f',
})
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "pkgconfig" => :build
depends_on "pcre"
depends_on "xzutils"
depends_on "zlibpkg"
def self.build
system "autoreconf", "-fiv"
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # the steps required to install the package
end
end
require 'package'
class Aircrack_ng < Package
description 'Key cracker for the 802.11 WEP and WPA-PSK protocols.'
homepage 'https://www.aircrack-ng.org'
version '1.2-rc4-3'
source_url 'http://download.aircrack-ng.org/aircrack-ng-1.2-rc4.tar.gz'
source_sha256 'd93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/aircrack_ng-1.2-rc4-3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/aircrack_ng-1.2-rc4-3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/aircrack_ng-1.2-rc4-3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/aircrack_ng-1.2-rc4-3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '6597d9d24115513c16113639a86f62fee44f6464d52ce9f18e782c9ca3ff97dd',
armv7l: '6597d9d24115513c16113639a86f62fee44f6464d52ce9f18e782c9ca3ff97dd',
i686: '52a3a53e68d690426018758cb0b5dbbe692b7ac70d0b42d0b198adb7010dbe42',
x86_64: '8331f17911c1eac404a91eefd1a2673b4a2229f3c555155ca7622d534f59ca19',
})
depends_on 'bison' => :build
depends_on 'flex' => :build
depends_on 'libnl3'
depends_on 'libpcap'
depends_on 'sqlite'
depends_on 'rfkill'
depends_on 'zlibpkg'
def self.build
# Need to specify TMPDIR to run automatic configuration tool correctly
system "TMPDIR=#{CREW_PREFIX}/tmp make sqlite=true experimental=true"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}",
"sqlite=true",
"experimental=true",
"prefix=#{CREW_PREFIX}",
"libdir=#{CREW_LIB_PREFIX}",
"bindir=#{CREW_PREFIX}/bin",
"sbindir=#{CREW_PREFIX}/sbin",
"mandir=#{CREW_PREFIX}/share/man/man1",
"smandir=#{CREW_PREFIX}/share/man/man8",
"install"
end
def self.postinstall
# Fix for [*] Run 'airodump-ng-oui-update' as root (or with sudo) to install or update Airodump-ng OUI file (Internet connection required).
#
# Before fix:
# $ sudo airodump-ng-oui-update
# mkdir: cannot create directory '/etc/aircrack-ng': Read-only file system
# [*] Downloading IEEE OUI file...
# [*] Error: Failed to download OUI list, aborting...
#
# After fix:
# $ sudo airodump-ng-oui-update
# [*] Downloading IEEE OUI file...
# [*] Parsing OUI file...
# [*] Airodump-ng OUI file successfully updated
system "sed -i 's,/usr/local,,' #{CREW_PREFIX}/sbin/airodump-ng-oui-update"
system "sed -i 's,/etc,#{CREW_PREFIX}/etc,g' #{CREW_PREFIX}/sbin/airodump-ng-oui-update"
system "sed -i 's,/usr/share,#{CREW_PREFIX}/share,' #{CREW_PREFIX}/sbin/airodump-ng-oui-update"
end
def self.check
system "make",
"sqlite=true",
"experimental=true",
"check"
end
end
require 'package'
class Alsa_lib < Package
description 'The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system.'
homepage 'https://www.alsa-project.org/main/index.php/Main_Page'
version '1.1.5'
source_url 'ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.1.5.tar.bz2'
source_sha256 'f4f68ad3c6da36b0b5241ac3c798a7a71e0e97d51f972e9f723b3f20a9650ae6'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_lib-1.1.5-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_lib-1.1.5-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_lib-1.1.5-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_lib-1.1.5-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '10b105f4ca993f0d24035fe6bdcec6e8637c768be301757d4040e6dd166d235c',
armv7l: '10b105f4ca993f0d24035fe6bdcec6e8637c768be301757d4040e6dd166d235c',
i686: '4be56a32b5149e53aa05e15a87a50da8d3b8a25eafbabe2fd3ea436ba2fa0df5',
x86_64: '82a8be3966832edbcd42306d5d3920fe3bbcb1cdcb594e375f6f8f4335030abf',
})
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Alsa_plugins < Package
description 'alsa-plugins contains plugins for various ALSA needs (e.g. Jack).'
homepage 'https://www.alsa-project.org/main/index.php/Main_Page'
version '1.1.5'
source_url 'ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-1.1.5.tar.bz2'
source_sha256 '797da5f8f53379fbea28817bc466de16affd2c07849e84f1af8d5e22f7bb7f1c'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_plugins-1.1.5-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_plugins-1.1.5-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_plugins-1.1.5-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/alsa_plugins-1.1.5-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '68e9c4e6a6a98a34f716dd95a0297ba074d4313ea9a5daedb09c47b4b4baaf5c',
armv7l: '68e9c4e6a6a98a34f716dd95a0297ba074d4313ea9a5daedb09c47b4b4baaf5c',
i686: 'a768db04382ffd8850095e2c5667402002a38d30901dd1a5d4a3aa379ab4e9dd',
x86_64: 'a5c465a12e4bedc10d7f9989d20c81aeac3834635cd12d1d1205f9438658b7e0',
})
depends_on 'alsa_lib'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Anagram < Package
description 'finds anagrams or permutations of words in the target phrase'
homepage 'http://www.fourmilab.ch/anagram/'
version '1.4'
source_url 'http://www.fourmilab.ch/anagram/anagram-1.4.tar.gz'
source_sha256 'd046fd5accd3c62267c0ef81b56cd05c59ec92b37cdb73f69d031879dba308bd'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/anagram-1.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/anagram-1.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/anagram-1.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/anagram-1.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '5d5e2fa0868d99ed24623a1fd98bf9a00a07c50e5a8c931cf2d43ab3dfbf1a42',
armv7l: '5d5e2fa0868d99ed24623a1fd98bf9a00a07c50e5a8c931cf2d43ab3dfbf1a42',
i686: '33dbe4fd1116e429e1b927f63de8361b3ba888f24712ae692bee0ac152bc41b7',
x86_64: '2d162c9d06d59ee1dab520deccfed04e3c27f7a5584346dfdc2e267bc46d310c',
})
def self.build
system "./configure --prefix=#{CREW_PREFIX}"
system 'make'
system 'mkdir build'
Dir.chdir 'build' do
system "echo '#!/bin/bash' > anagram"
system "echo '#{CREW_PREFIX}/share/anagram/bin/anagram --dictionary #{CREW_PREFIX}/share/anagram/crossword.txt --bindict #{CREW_PREFIX}/share/anagram/wordlist.bin $@' >> anagram"
end
end
def self.install
system "gzip -9 anagram.1"
system "mkdir -p #{CREW_DEST_PREFIX}/bin"
system "mkdir -p #{CREW_DEST_PREFIX}/share/anagram/bin"
system "mkdir -p #{CREW_DEST_PREFIX}/share/man/man1"
system "install -Dm755 build/anagram #{CREW_DEST_PREFIX}/bin"
system "install -Dm755 anagram #{CREW_DEST_PREFIX}/share/anagram/bin"
system "install -Dm644 crossword.txt #{CREW_DEST_PREFIX}/share/anagram"
system "install -Dm644 wordlist.bin #{CREW_DEST_PREFIX}/share/anagram"
system "install -Dm644 anagram.1.gz #{CREW_DEST_PREFIX}/share/man/man1"
end
end
require 'package'
class Ant < Package
description 'Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other.'
homepage 'http://ant.apache.org/'
version '1.10.2'
source_url 'https://www.apache.org/dist/ant/binaries/apache-ant-1.10.2-bin.tar.xz'
source_sha256 '361c8ad2ed8341416e323e7c28af10a8297170a80fdffba294a5c2031527bb6c'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ant-1.10.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ant-1.10.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ant-1.10.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ant-1.10.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '8a90bd6448e3937ff4d5c98e83ade7e3eb3af7b9e48ef541d16796bf17165305',
armv7l: '8a90bd6448e3937ff4d5c98e83ade7e3eb3af7b9e48ef541d16796bf17165305',
i686: 'db844b8b98315d929a9a1fec83280544cee3c003930ad901a0cfa079c534ece5',
x86_64: '0b0ba2ea0120b892b8ecba242fbad5897cdc7f695ff433d8ef632145426e90b6',
})
depends_on 'jdk8'
depends_on 'unzip' => :build
def self.install
system "rm -f bin/*.bat"
system "rm -f bin/*.cmd"
system "rm -f lib/README"
system "mkdir -p #{CREW_DEST_PREFIX}"
system "mkdir -p #{CREW_DEST_LIB_PREFIX}"
system "cp -r bin/ #{CREW_DEST_PREFIX}"
system "cp -r lib/* #{CREW_DEST_LIB_PREFIX}"
end
def self.postinstall
puts
puts "To complete the installation, execute the following:".lightblue
puts "echo '# Apache Ant configuration' >> ~/.bashrc".lightblue
puts "echo 'export ANT_HOME=#{CREW_PREFIX}' >> ~/.bashrc".lightblue
puts "echo 'export JAVA_HOME=#{CREW_PREFIX}/share/jdk8' >> ~/.bashrc".lightblue
puts "source ~/.bashrc".lightblue
puts
end
end
require 'package'
class Antiword < Package
description 'Antiword is a free MS Word reader for Linux and RISC OS.'
homepage 'http://www.winfield.demon.nl/'
version '0.37-2'
source_url 'http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz'
source_sha256 '8e2c000fcbc6d641b0e6ff95e13c846da3ff31097801e86702124a206888f5ac'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/antiword-0.37-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/antiword-0.37-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/antiword-0.37-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/antiword-0.37-2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '758ead9af6bdc9493b525d9e009e1f5edb3fa51ca1663d66dd8f43b89b821225',
armv7l: '758ead9af6bdc9493b525d9e009e1f5edb3fa51ca1663d66dd8f43b89b821225',
i686: '54276a60100d021bc6d619f175d3ca592f872a151eed6557fd09d87a6b2a6ea9',
x86_64: '5486ee47684aaf249f0f75f9c903aa8c79b41466ae94aa0dbbd660090af438d0',
})
def self.build
system "sed -i 's,GLOBAL_RESOURCES_DIR = /usr/share/antiword,GLOBAL_RESOURCES_DIR = #{CREW_PREFIX}/share/antiword,' Makefile.Linux"
system "sed -i 's,/share/,/,g' antiword.h"
system "sed -i 's,/usr/antiword,#{CREW_PREFIX}/share/antiword,g' antiword.h"
system "sed -i 's,/usr/share/antiword,#{CREW_PREFIX}/share/antiword,' Docs/antiword.1"
system "make"
end
def self.install
system "mkdir -p /home/#{USER}/user/.antiword"
system "mkdir -p #{CREW_DEST_DIR}/home/#{USER}/user/.antiword"
system "mkdir -p #{CREW_DEST_PREFIX}/bin"
system "mkdir -p #{CREW_DEST_PREFIX}/man/man1"
system "mkdir -p #{CREW_DEST_PREFIX}/share/antiword"
system "cp antiword #{CREW_DEST_PREFIX}/bin"
system "cp Docs/antiword.1 #{CREW_DEST_PREFIX}/man/man1"
system "cp Resources/* #{CREW_DEST_PREFIX}/share/antiword"
system "cp Resources/UTF-8.txt /home/#{USER}/user/.antiword"
system "cp Resources/UTF-8.txt #{CREW_DEST_DIR}/home/#{USER}/user/.antiword"
end
end
require 'package'
class Applewmproto < Package
description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.'
homepage 'https://x.org'
version '1.4.2'
source_url 'https://www.x.org/archive/individual/proto/applewmproto-1.4.2.tar.gz'
source_sha256 'ff8ac07d263a23357af2d6ff0cca3c1d56b043ddf7797a5a92ec624f4704df2e'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/applewmproto-1.4.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/applewmproto-1.4.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/applewmproto-1.4.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/applewmproto-1.4.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'c612d881bafcbb42f5925d50104bd369c63054a8ac8a7497e4101792b3cf7f21',
armv7l: 'c612d881bafcbb42f5925d50104bd369c63054a8ac8a7497e4101792b3cf7f21',
i686: 'c1cf06085a13040c87663e71ebca94afd23523fa10275dea4fae89b48422b74d',
x86_64: '3fa02e245f6fb77c23117e5fb677eebfb6b41515cd4a77c44e2decfae3f5cd80',
})
def self.build
system "./configure"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
......@@ -3,15 +3,29 @@ require 'package'
class Apr < Package
description 'The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. APR is the base portability library.'
homepage 'http://apr.apache.org/'
version '1.5.2'
source_url 'http://apache.claz.org/apr/apr-1.5.2.tar.bz2'
source_sha1 '6d757fcf7c687fc300c1066076f2e8380ff8cbc0'
version '1.6.3'
source_url 'https://apache.claz.org/apr/apr-1.6.3.tar.bz2'
source_sha256 '131f06d16d7aabd097fa992a33eec2b6af3962f93e6d570a9bd4d85e95993172'
depends_on 'buildessential'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/apr-1.6.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/apr-1.6.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/apr-1.6.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/apr-1.6.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '6792f3be82153a55571005b4e61e971fc49e4cefcc3f77f8fe91433450efa91b',
armv7l: '6792f3be82153a55571005b4e61e971fc49e4cefcc3f77f8fe91433450efa91b',
i686: '11f1b82c2837e841bb02daa0e281d15130b3bec060c673c5d6175038689d2eee',
x86_64: 'c22341487a85273be410903c4ef4dfef849e4a01815f974aa23346a7488ea568',
})
def self.build
system './configure --prefix=/usr/local'
system 'make'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-maintainer-mode'
system "make"
end
def self.install
......
require 'package'
class Apriconv < Package
description 'a portable implementation of the iconv() library'
homepage 'http://apr.apache.org/'
version '1.2.2'
source_url 'https://apache.claz.org/apr/apr-iconv-1.2.2.tar.bz2'
source_sha256 '7d454e0fe32f2385f671000e3b755839d16aabd7291e3947c973c90377c35313'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/apriconv-1.2.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/apriconv-1.2.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/apriconv-1.2.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/apriconv-1.2.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '6ec314d1d6143a855e59d5a3b76db311e3ba60b980b98be3d639c39e74949fed',
armv7l: '6ec314d1d6143a855e59d5a3b76db311e3ba60b980b98be3d639c39e74949fed',
i686: 'ef8a4e543d11b010edae76ec4ea4d06be68b41a3d4e31bc8764969f2d216d8e5',
x86_64: 'd3abcd64112eb46aef6bb090409471c9fbaf675cd258aff0220d696fed9b6771',
})
depends_on 'apr'
depends_on 'libtool'
def self.build
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--with-apr=#{CREW_PREFIX}"
system "sed -i 's,/usr/local/lib,#{CREW_LIB_PREFIX},g' Makefile"
system "sed -i 's,/usr/local/lib,#{CREW_LIB_PREFIX},g' ccs/Makefile"
system "sed -i 's,/usr/local/lib,#{CREW_LIB_PREFIX},g' ces/Makefile"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "libtool --mode=finish #{CREW_DEST_LIB_PREFIX}/iconv"
end
end
......@@ -3,15 +3,33 @@ require 'package'
class Aprutil < Package
description 'APR-util provides a number of helpful abstractions on top of APR.'
homepage 'http://apr.apache.org/'
version '1.5.4'
source_url 'http://apache.claz.org//apr/apr-util-1.5.4.tar.gz'
source_sha1 '72cc3ac693b52fb831063d5c0de18723bc8e0095'
version '1.6.1'
source_url 'https://apache.claz.org/apr/apr-util-1.6.1.tar.bz2'
source_sha256 'd3e12f7b6ad12687572a3a39475545a072608f4ba03a6ce8a3778f607dd0035b'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/aprutil-1.6.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/aprutil-1.6.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/aprutil-1.6.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/aprutil-1.6.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'e9fc87b307ffd4b0ebf0f8edb198813eff40c78652ca128b870401e0b95e8da5',
armv7l: 'e9fc87b307ffd4b0ebf0f8edb198813eff40c78652ca128b870401e0b95e8da5',
i686: '487fce828c6a4e0bae45b4675240fa06bd7a59bde1007009db3722dce065397f',
x86_64: 'e5abe47026a3bf51748e2d3aaaa1e5dc5d46c66180145502e989a28cdae49b30',
})
depends_on 'apr'
depends_on 'expat'
def self.build
system './configure --prefix=/usr/local --with-apr=/usr/local'
system 'make'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--with-apr=#{CREW_PREFIX}",
'--disable-maintainer-mode'
system "make"
end
def self.install
......
require 'package'
class Aria2 < Package
description 'aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.'
homepage 'https://aria2.github.io/'
version '1.33.1-1'
source_url 'https://github.com/aria2/aria2/releases/download/release-1.33.1/aria2-1.33.1.tar.xz'
source_sha256 '2539e4844f55a1f1f5c46ad42744335266053a69162e964d9a2d80a362c75e1b'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/aria2-1.33.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/aria2-1.33.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/aria2-1.33.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/aria2-1.33.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '25987f8b48bb8063ee39ae3a260aec1db1917974c6622dd10628cd7ca919a803',
armv7l: '25987f8b48bb8063ee39ae3a260aec1db1917974c6622dd10628cd7ca919a803',
i686: 'a1693909b4ae5ddd9f7d0c56b118b49cb4ab85f60965b2c67a16bee055eee7de',
x86_64: '94053db3425eb109f7831f9db293c439d4c0b0e17e70f40a3a3a5514a48b2b9a',
})
depends_on 'c_ares'
depends_on 'libgcrypt'
depends_on 'libssh2'
depends_on 'libxml2'
depends_on 'sqlite'
depends_on 'zlibpkg'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--without-libnettle',
'--with-libgcrypt',
'--disable-dependency-tracking'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require "package"
require 'package'
class Ascii < Package
description 'List ASCII idiomatic names and octal/decimal code-point forms.'
homepage 'http://www.catb.org/~esr/ascii/'
version "3.15"
source_url "http://www.catb.org/~esr/ascii/ascii-3.15.tar.gz"
source_sha1 "94ac41d8ef89daf148ebfd30333c07f6e64d4dec"
version '3.18-1'
source_url 'http://www.catb.org/~esr/ascii/ascii-3.18.tar.gz'
source_sha256 '728422d5f4da61a37a17b4364d06708e543297de0a5f70305243236d80df072d'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ascii-3.18-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ascii-3.18-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ascii-3.18-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ascii-3.18-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '63c6f3c239267c0b815e21f4dd697e2aff4eea42b7612f0e6ef2355bec4af25a',
armv7l: '63c6f3c239267c0b815e21f4dd697e2aff4eea42b7612f0e6ef2355bec4af25a',
i686: '842cdd491d6d8e7cfaafc2787cee021bbcf76bd70c70dd76397bff6391c9e3ef',
x86_64: '4107a21b427fd0a090d73a89d06ace01d28d68ae84d56d3c3f159633304f1b22',
})
def self.build
system "make"
system 'make'
end
def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "cp ascii #{CREW_DEST_DIR}/usr/local/bin"
system "gzip -9 ascii.1"
system "install -Dm755 ascii #{CREW_DEST_PREFIX}/bin/ascii"
system "install -Dm644 ascii.1.gz #{CREW_DEST_PREFIX}/man/man1/ascii.1.gz"
end
end
require 'package'
class Asciidoc < Package
description 'AsciiDoc is a presentable text document format for writing articles, UNIX man pages and other small to medium sized documents.'
homepage 'http://asciidoc.org/'
version '8.6.9-1'
source_url 'https://downloads.sourceforge.net/project/asciidoc/asciidoc/8.6.9/asciidoc-8.6.9.tar.gz'
source_sha256 '78db9d0567c8ab6570a6eff7ffdf84eadd91f2dfc0a92a2d0105d323cab4e1f0'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/asciidoc-8.6.9-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/asciidoc-8.6.9-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/asciidoc-8.6.9-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/asciidoc-8.6.9-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '913147e51102cd8938ac8c3dcf7520c2995c081b1ba9ee097539cf83b3557a96',
armv7l: '913147e51102cd8938ac8c3dcf7520c2995c081b1ba9ee097539cf83b3557a96',
i686: '24df5bebe051fe916d7bf722b85bea5e0b8dbe099e2b95e2fbee609b22c14639',
x86_64: '048de56fd444c9c5542270fb8080b23f0264467e3c10853b9925b4add914b053',
})
depends_on 'autoconf' => :build
depends_on 'compressdoc' => :build
depends_on 'python27' unless File.exists? "#{CREW_PREFIX}/bin/python"
def self.build
system "autoconf"
system "sed -i 's,/etc/vim,#{CREW_PREFIX}/etc/vim,g' Makefile.in"
system "./configure --prefix=#{CREW_PREFIX}"
system "make"
end
def self.install
system "mkdir -p #{CREW_DEST_PREFIX}/etc/vim"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "compressdoc --gzip -9 #{CREW_DEST_PREFIX}/share/man/man1"
end
end
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-3'
source_url 'ftp://alpha.gnu.org/gnu/aspell/aspell-0.60.7-rc1.tar.gz'
source_sha256 '86b5662f24316142f70c5890787bdc5596625ca3604dfe85926ee61f27f2365e'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/aspell-0.60.7-rc1-3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/aspell-0.60.7-rc1-3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/aspell-0.60.7-rc1-3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/aspell-0.60.7-rc1-3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '9f8766f3cd6f6a4f7fe041272e3bc391d7c071090fffcdcad1b65b78964b600e',
armv7l: '9f8766f3cd6f6a4f7fe041272e3bc391d7c071090fffcdcad1b65b78964b600e',
i686: '90415e00c5bf27d48389c328e5ad3709c3e8daf7848909218c34c4df91ecd9d2',
x86_64: '78b3b2afb62be606d399344c0320f586e22901c922324953fab77a6b88d5373b',
})
depends_on 'ruby' unless File.exists? "#{CREW_PREFIX}/bin/ruby"
depends_on 'ncursesw'
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
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.08.24-0'
source_url 'https://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-2017.08.24-0.tar.bz2'
source_sha256 '09b562b02195e7facd31d65241050be7ac6f78654128ab41650511bf42dd5b7c'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/aspell_en-2017.08.24-0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/aspell_en-2017.08.24-0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/aspell_en-2017.08.24-0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/aspell_en-2017.08.24-0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'a4c5413835190ca64d26ed007fa5da99b8567e2ba966748f93a0ba12cb4ceec1',
armv7l: 'a4c5413835190ca64d26ed007fa5da99b8567e2ba966748f93a0ba12cb4ceec1',
i686: '9d551f29ae82304dac697fd06077debb9734b071b32baf119ee24d7ff1c1f8aa',
x86_64: 'b6ec346286f878be4ae79b54a230398c1b0160e39afbe537748994ac0c08d926',
})
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'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/aspell_es-1.11-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/aspell_es-1.11-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/aspell_es-1.11-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/aspell_es-1.11-2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '6672aed4511fc5297e905cfdb10c8491d4e077f53cd0d6eb7500d380f6f7e28d',
armv7l: '6672aed4511fc5297e905cfdb10c8491d4e077f53cd0d6eb7500d380f6f7e28d',
i686: 'e6cc8bf92d0f592d98d82f3dd65459e5daee9d032114a902965ba7992909151b',
x86_64: '378beb1b7c53816d15dffccdfdbc876d56ee4ef37397da065aa2a4275defc991',
})
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 At_spi2_atk < Package
description 'D-Bus AT-SPI'
homepage 'http://www.freedesktop.org/'
version '2.26.1'
source_url 'https://github.com/GNOME/at-spi2-atk/archive/AT_SPI2_ATK_2_26_1.tar.gz'
source_sha256 '45fc52f794c785d54d6e2689f51ade043c96ea0263f6113c1ce26df1ef26af5b'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/at_spi2_atk-2.26.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/at_spi2_atk-2.26.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/at_spi2_atk-2.26.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/at_spi2_atk-2.26.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '4e72e7b89903b2361b55065beefa639904ae880741fbc64b1914ee9fd596a1a8',
armv7l: '4e72e7b89903b2361b55065beefa639904ae880741fbc64b1914ee9fd596a1a8',
i686: '165854bff7a99fcfaf7a807e41eaa6d889c10998250f0c706dcb9eee3d198aba',
x86_64: '01c66589188a81499b7ac4424f937f3adbe7265bb1c55d8d0d8746df8d302061',
})
depends_on 'automake' => :build
depends_on 'at_spi2_core'
depends_on 'atk'
def self.build
system "./autogen.sh"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class At_spi2_core < Package
description 'This is over DBus, tookit widgets provide their content to screen readers such as Orca'
homepage 'http://www.freedesktop.org/'
version '2.26.1'
source_url 'https://github.com/GNOME/at-spi2-core/archive/AT_SPI2_CORE_2_26_1.tar.gz'
source_sha256 '30cafdcce582cf7fc57d760ef36293344b8a29370f96b300ff56fe24cdb4a0a2'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/at_spi2_core-2.26.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/at_spi2_core-2.26.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/at_spi2_core-2.26.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/at_spi2_core-2.26.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '1ddf25b1d1c22517ecfcc571a5e674ea4ae9c371ceb8ad4f0959d928f8d5050e',
armv7l: '1ddf25b1d1c22517ecfcc571a5e674ea4ae9c371ceb8ad4f0959d928f8d5050e',
i686: '657e8745c754c86d2d217ee61b1303c8e369fde41ad456a0297270cdf32956c1',
x86_64: '340e21fedd23e3a18f470512b6109aecd307722b1cfa56970e7c99a51aa2f7d1',
})
depends_on 'automake' => :build
depends_on 'libxtst'
depends_on 'dbus'
depends_on 'glib'
depends_on 'gobject_introspection'
depends_on 'libxcb'
depends_on 'gtk_doc'
depends_on 'libtool'
def self.build
system "./autogen.sh"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Atk < Package
description 'ATK provides the set of accessibility interfaces that are implemented by other tookits and applications'
homepage 'https://developer.gnome.org/atk'
version '2.26.1'
source_url 'https://download.gnome.org/sources/atk/2.26/atk-2.26.1.tar.xz'
source_sha256 'ef00ff6b83851dddc8db38b4d9faeffb99572ba150b0664ee02e46f015ea97cb'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/atk-2.26.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/atk-2.26.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/atk-2.26.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/atk-2.26.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '70c1f880c008c5f4282881ec3874db7b10967d2b5cdb6e6ad6ccdcad3ce474b7',
armv7l: '70c1f880c008c5f4282881ec3874db7b10967d2b5cdb6e6ad6ccdcad3ce474b7',
i686: 'f23be7cebc618b3c77e0a2f600cca826c76e31fba9ecf4161acfd464a7ee67a4',
x86_64: '9207587db8548706d1fd592aee5f2e501218d9c44367b0f9826869a44215989b',
})
depends_on 'gobject_introspection'
depends_on 'diffutils' => :build
depends_on 'perl' => :build
depends_on 'python27' => :build
def self.build
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "pip install six" # ensure correction installation
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "pip uninstall --yes six"
end
end
require 'package'
class Atkmm < Package
description 'Atkmm is the official C++ interface for the ATK accessibility toolkit library.'
homepage 'https://www.gtkmm.org/'
version '2.24.2'
source_url 'https://ftp.gnome.org/pub/gnome/sources/atkmm/2.24/atkmm-2.24.2.tar.xz'
source_sha256 'ff95385759e2af23828d4056356f25376cfabc41e690ac1df055371537e458bd'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/atkmm-2.24.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/atkmm-2.24.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/atkmm-2.24.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/atkmm-2.24.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '3b8bd296f91800c00124c56814bb255c53b75f120ee3fd0ee98384246836c8a4',
armv7l: '3b8bd296f91800c00124c56814bb255c53b75f120ee3fd0ee98384246836c8a4',
i686: 'e091b8ce4d5fce25477beff2b080fd874bdf79d22a1196f08058553a1667a8df',
x86_64: '4b54089dfba9f62790935e2f8a2f7a953d8a8ff37158736167920747ce0d4675',
})
depends_on 'atk'
depends_on 'glibmm'
def self.build
# fix the documents directory name
system "sed -e '/^libdocdir =/ s/$(book_name)/atkmm-2.24.2/' \
-i doc/Makefile.in"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Atomicparsley < Package
description 'AtomicParsley is a lightweight command line program for reading, parsing and setting metadata into MPEG-4 files, in particular, iTunes-style metadata.'
homepage 'https://github.com/wez/atomicparsley'
version '0.9.6'
source_url 'https://bitbucket.org/wez/atomicparsley/get/0.9.6.tar.gz'
source_sha256 '8ba4e3e21d7a9239932e2a6f34842194d8f9eba84ce9eb83fb35369f5f3f05ab'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/atomicparsley-0.9.6-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/atomicparsley-0.9.6-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/atomicparsley-0.9.6-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/atomicparsley-0.9.6-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '55d6f7bf30bd0e178dd9d117c08b6b5c6f6965808f2e483256ab100a0823b4ae',
armv7l: '55d6f7bf30bd0e178dd9d117c08b6b5c6f6965808f2e483256ab100a0823b4ae',
i686: '26281255b16153c6fa663cd6f7bea0dc56e11e06bbf5e44396677932937c226c',
x86_64: '9dc15a38e01fd81e25e515ff69ac7a89fb07ff9771ff85e54e4da29adc523ba8',
})
depends_on 'autoconf'
depends_on 'automake'
depends_on 'zlibpkg'
def self.build
system "./autogen.sh"
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
......@@ -3,14 +3,30 @@ require 'package'
class Attr < Package
description 'Commands for Manipulating Filesystem Extended Attributes.'
homepage 'http://savannah.nongnu.org/projects/attr'
version '2.4.47'
version '2.4.47-1'
source_url 'http://download.savannah.gnu.org/releases/attr/attr-2.4.47.src.tar.gz'
source_sha1 '5060f0062baee6439f41a433325b8b3671f8d2d8'
source_sha256 '25772f653ac5b2e3ceeb89df50e4688891e21f723c460636548971652af0a859'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/attr-2.4.47-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/attr-2.4.47-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/attr-2.4.47-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/attr-2.4.47-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '0d973ff3629a90424987fd16e19f3636a6f6d0b607ba3f611db7f226d36b3b9d',
armv7l: '0d973ff3629a90424987fd16e19f3636a6f6d0b607ba3f611db7f226d36b3b9d',
i686: '9631985d3743414faaeccfa054c7c776efe0bf61b77c9fca767c1d6dc9ac3786',
x86_64: '427417c434bf8bc12cbb49f7b25b34615f51be48738346cba3f40c3c62937b3f',
})
depends_on 'gettext'
def self.build
system "./configure --prefix=/usr/local --disable-static"
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--disable-static"
system "make"
end
......
......@@ -5,7 +5,20 @@ class Autoconf < Package
homepage 'http://www.gnu.org/software/autoconf/'
version '2.69'
source_url 'ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz'
source_sha1 'e891c3193029775e83e0534ac0ee0c4c711f6d23'
source_sha256 '64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/autoconf-2.69-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/autoconf-2.69-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/autoconf-2.69-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/autoconf-2.69-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '18bb14e7e51ec1a76627f99976a28a14a82c29994370b261433550d5c8c461cc',
armv7l: '18bb14e7e51ec1a76627f99976a28a14a82c29994370b261433550d5c8c461cc',
i686: '99e6837ba27895c1ca73826bcbc05ec6363351c74caea3a43dc26c05c55ffffa',
x86_64: '6e9469eefc244fbe7754a3ae88e74fa8892f8676084a6c9ea2ec5b4d49a36c6b',
})
depends_on 'perl'
depends_on 'm4'
......
......@@ -3,16 +3,29 @@ require 'package'
class Autoconf_archive < Package
description 'GNU Autoconf Archive is a collection of freely re-usable Autoconf macros.'
homepage 'https://www.gnu.org/software/autoconf-archive/'
version '2017-03-21'
source_url 'http://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2017.03.21.tar.xz'
source_sha1 '93483641babea959e4a307a808cbd74fb9e90d58'
version '2017-09-28'
source_url 'https://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2017.09.28.tar.xz'
source_sha256 '5c9fb5845b38b28982a3ef12836f76b35f46799ef4a2e46b48e2bd3c6182fa01'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/autoconf_archive-2017-09-28-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/autoconf_archive-2017-09-28-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/autoconf_archive-2017-09-28-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/autoconf_archive-2017-09-28-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'cdbfd6f1144c089e4d6080e8a0e157e7275c9b47b223c2b945d20728710ecbc7',
armv7l: 'cdbfd6f1144c089e4d6080e8a0e157e7275c9b47b223c2b945d20728710ecbc7',
i686: 'cd49caa68b93a49cc235ccc6cdc5ab8c4ce4266bd9b5c197be7c3eceb727ed72',
x86_64: '7e7e915959f3c835a6417628737c8cde91e39c32842da8571e7484110e55bff4',
})
depends_on 'perl'
depends_on 'm4'
depends_on 'autoconf'
def self.build
system "./configure"
system "./configure --prefix=#{CREW_PREFIX}"
system "make"
end
......
......@@ -3,9 +3,22 @@ require 'package'
class Automake < Package
description 'Automake is a tool for automatically generating Makefile.in files compliant with the GNU Coding Standards.'
homepage 'http://www.gnu.org/software/automake/'
version '1.15'
source_url 'ftp://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz'
source_sha1 'c279b35ca6c410809dac8ade143b805fb48b7655'
version '1.15.1'
source_url 'https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.xz'
source_sha256 'af6ba39142220687c500f79b4aa2f181d9b24e4f8d8ec497cea4ba26c64bedaf'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/automake-1.15.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/automake-1.15.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/automake-1.15.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/automake-1.15.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '6b24c2151919dec05fe5db181594b8a0c9064de3b2c84ed297a6a206428863b5',
armv7l: '6b24c2151919dec05fe5db181594b8a0c9064de3b2c84ed297a6a206428863b5',
i686: '0a65312bf54e75983674a7933a01e073f625f073ba25fcb071185b2722797dc6',
x86_64: '9a354fc263d5e4118ae563f82f78a56df4d928271969a1b2bcba915f4ae85cac',
})
depends_on 'autoconf'
......
require 'package'
class Autossh < Package
description 'The purpose of autossh is to start an SSH connection, monitor it, and restart it if necessary.'
homepage 'http://www.harding.motd.ca/autossh'
# No releases available so the only option is to use the master branch
version '9c72d3b'
source_url 'https://github.com/jonhiggs/autossh/archive/9c72d3b6f77bfe2ad57844128ea46019fecb7fdb.tar.gz'
source_sha256 '39497e1ccd80f781282e8f6387bb3ae5b1501807a39aeced95e8be57c3778cba'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/autossh-9c72d3b-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/autossh-9c72d3b-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/autossh-9c72d3b-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/autossh-9c72d3b-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'd988e2b17d8c06773f099b8c6eb8db198de32af1a7fe2dfc39acd30b83e27db4',
armv7l: 'd988e2b17d8c06773f099b8c6eb8db198de32af1a7fe2dfc39acd30b83e27db4',
i686: 'd74acb98fc939fba9aaebf4993639ee3d9f11417ac6184ed1f57a88d4db56214',
x86_64: '48eda7fb01e8818fad3c0d4d9e3fb9f1b294fa26fe71b41c17e04dd11b3fa043',
})
def self.build
system "./configure --prefix=#{CREW_PREFIX}"
system "make"
end
def self.install
system "mkdir -p #{CREW_DEST_PREFIX}/bin"
system "mkdir -p #{CREW_DEST_PREFIX}/share/doc/autossh"
system "mkdir -p #{CREW_DEST_PREFIX}/share/examples/autossh"
system "mkdir -p #{CREW_DEST_PREFIX}/man/man1"
system "cp autossh #{CREW_DEST_PREFIX}/bin"
system "cp CHANGES README #{CREW_DEST_PREFIX}/share/doc/autossh"
system "cp autossh.host rscreen #{CREW_DEST_PREFIX}/share/examples/autossh"
system "cp autossh.1 #{CREW_DEST_PREFIX}/man/man1"
end
end
require 'package'
class Aview < Package
description 'aview is an high quality ascii-art image(pnm) browser and animation(fli/flc) player usefull especially with lynx browser.'
homepage 'http://aa-project.sourceforge.net/aview/'
version '1.3.0rc1'
source_url 'https://downloads.sourceforge.net/project/aa-project/aview/1.3.0rc1/aview-1.3.0rc1.tar.gz'
source_sha256 '42d61c4194e8b9b69a881fdde698c83cb27d7eda59e08b300e73aaa34474ec99'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/aview-1.3.0rc1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/aview-1.3.0rc1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/aview-1.3.0rc1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/aview-1.3.0rc1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'b7dac7b7bb1df20b2f3c5f4b3072d7c687d00187a7f65e25e7d754b658215bcd',
armv7l: 'b7dac7b7bb1df20b2f3c5f4b3072d7c687d00187a7f65e25e7d754b658215bcd',
i686: '4646662cc91ca8049a577bb0a0ceb2545645250c6bc05a124fd2c8c2eb536c05',
x86_64: '70d29a20c0ade541d6f0aba440412d844a4815f8c0317a00d7c13005e1232395',
})
depends_on 'aalib'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--without-x'
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Avocado < Package
description 'Avocado is a next generation testing framework inspired by Autotest and modern development tools such as git.'
homepage 'http://avocado-framework.github.io/'
version '57.0-1'
source_url 'https://github.com/avocado-framework/avocado/archive/57.0.tar.gz'
source_sha256 'c49fdf0946eed445fd8397354db3491869389ed4578ba477d447f105c99f15e4'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/avocado-57.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/avocado-57.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/avocado-57.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/avocado-57.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '7145a4b0c550c49abd7045d9964f49b35491fa17828339a5ee709daeebafd913',
armv7l: '7145a4b0c550c49abd7045d9964f49b35491fa17828339a5ee709daeebafd913',
i686: 'bc5a0fa2e7c18c382d69ad7be7f141074729c12e9723a7ce49a36b8586af937b',
x86_64: 'c742ec98b24cf17d6709edecfa028a9ebedf80863fff6d075ef78e2dd4c1a632',
})
depends_on 'python27' unless File.exists? "#{CREW_PREFIX}/bin/pip"
depends_on 'xzutils'
def self.install
system "pip install avocado-framework --root #{CREW_DEST_PREFIX} --prefix #{CREW_DEST_PREFIX}"
system "pip install -r https://raw.githubusercontent.com/avocado-framework/avocado/master/requirements.txt --root #{CREW_DEST_PREFIX} --prefix #{CREW_DEST_PREFIX}"
system "mv #{CREW_DEST_PREFIX}/usr/libexec #{CREW_DEST_PREFIX}"
system "mv #{CREW_DEST_PREFIX}/usr/share #{CREW_DEST_PREFIX}"
system "mv #{CREW_DEST_PREFIX}#{CREW_DEST_PREFIX}/* #{CREW_DEST_PREFIX}"
system "rm -rf #{CREW_DEST_PREFIX}#{CREW_PREFIX}/tmp"
system "mkdir -p $HOME/.config/avocado"
system "ln -sf #{CREW_PREFIX}/etc/avocado/avocado.conf $HOME/.config/avocado/avocado.conf"
system "mkdir -p #{CREW_DEST_DIR}/$HOME/.config/avocado"
system "ln -sf #{CREW_PREFIX}/etc/avocado/avocado.conf #{CREW_DEST_DIR}/$HOME/.config/avocado/avocado.conf"
end
end
......@@ -3,19 +3,34 @@ require 'package'
class Aws < Package
description 'The AWS CLI is an open source tool built on top of the AWS SDK for Python (Boto) that provides commands for interacting with AWS services.'
homepage 'https://aws.amazon.com/documentation/cli/'
version 'latest'
source_url 'https://s3.amazonaws.com/aws-cli/awscli-bundle.zip'
source_sha1 'af083a1e5455a8e040aaeda46e7b634b6510a8af'
version '1.14.32'
source_url 'https://github.com/aws/aws-cli/archive/1.14.32.tar.gz'
source_sha256 'de84cef870b78198168404af27c7ab511dc27b0c28e1be6e4ed77fd8dbd4b78c'
depends_on 'python'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/aws-1.14.32-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/aws-1.14.32-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/aws-1.14.32-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/aws-1.14.32-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '70d4d81009a0948e2d8069df794c1b52c7864f6918dd78146e30a1ff55c3bb2f',
armv7l: '70d4d81009a0948e2d8069df794c1b52c7864f6918dd78146e30a1ff55c3bb2f',
i686: '703001f046ae3ef9e8dfab13e968ae11ece54d737916110dcd7c87ffb25a5fb5',
x86_64: 'd79bce821399bb5edd1716bbca98b0d9fe83b77e3766859aad820d4b3ef9132d',
})
depends_on 'python27' unless File.exists? "#{CREW_PREFIX}/bin/python"
depends_on 'unzip'
def self.install
system "#{CREW_BREW_DIR}/awscli-bundle.zip.dir/awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws"
system "chmod +x /usr/local/bin/aws"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/aws"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "cp -r /usr/local/aws #{CREW_DEST_DIR}/usr/local"
system "cp /usr/local/bin/aws #{CREW_DEST_DIR}/usr/local/bin"
system "wget https://s3.amazonaws.com/aws-cli/awscli-bundle.zip"
system "unzip awscli-bundle.zip"
system "awscli-bundle/install -i #{CREW_PREFIX}/share/aws -b #{CREW_PREFIX}/bin/aws"
system "chmod +x #{CREW_PREFIX}/bin/aws"
system "mkdir -p #{CREW_DEST_PREFIX}/bin"
system "mkdir -p #{CREW_DEST_PREFIX}/share"
system "cp #{CREW_PREFIX}/bin/aws #{CREW_DEST_PREFIX}/bin"
system "cp -r #{CREW_PREFIX}/share/aws #{CREW_DEST_PREFIX}/share"
end
end
require 'package'
class Aws_shell < Package
description 'An integrated shell for working with the AWS CLI.'
homepage 'https://github.com/awslabs/aws-shell'
version '0.2.0'
source_url 'https://github.com/awslabs/aws-shell/archive/0.2.0.tar.gz'
source_sha256 '6d3a333c13c6c4cd3b9f1316a0a0c53ce4807b673dba63882ab2f834c2ffb903'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/aws_shell-0.2.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/aws_shell-0.2.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/aws_shell-0.2.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/aws_shell-0.2.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'a487ad655f5b496a4aa496bfd8fcccddf3f2c484f2d55e9b64070d3e9ea93c3c',
armv7l: 'a487ad655f5b496a4aa496bfd8fcccddf3f2c484f2d55e9b64070d3e9ea93c3c',
i686: '89e641e7093bd9fb08ae6886de51ceb6bf8162ea0c61b4e783002a388059b847',
x86_64: 'c88f2778b54fd031d1f74f4698c8dfc9fbde806c09990beef9335d32d83a1e9d',
})
depends_on 'python27' unless File.exists? "#{CREW_PREFIX}/bin/python"
def self.install
system "yes | pip install setuptools"
system "python setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
system "pip uninstall setuptools"
end
end
require 'package'
class Az < Package
description 'The Azure CLI 2.0 is Azure\'s new command-line experience for managing Azure resources.'
homepage 'https://github.com/Azure/azure-cli'
version '2.0.26'
source_url 'https://azurecliprod.blob.core.windows.net/install.py'
source_sha256 '7419f49b066015d863f398198c4ac5ad026f5aa3705e898b552e4e03fc352552'
binary_url ({
})
binary_sha256 ({
})
depends_on 'python27' unless File.exists? "#{CREW_PREFIX}/bin/python"
depends_on 'libffi'
depends_on 'openssl'
def self.build
system "curl -sL https://azurecliprod.blob.core.windows.net/install.py -o install.py"
system "sed -i '265d' install.py"
system "sed -i '239,242d' install.py"
system "sed -i '54,55d' install.py"
system "sed -i \"s|'lib'|'share'|\" install.py"
system "sed -i 's,~,#{CREW_DEST_PREFIX},g' install.py"
system "sed -i \"54iUSER_BASH_RC = '~/.bashrc'\" install.py"
system "sed -i \"55iUSER_BASH_PROFILE = '~/.bash_profile'\" install.py"
system "sed -i 's,install_dir = None,install_dir = DEFAULT_INSTALL_DIR,' install.py"
system "sed -i 's,exec_dir = None,exec_dir = DEFAULT_EXEC_DIR,' install.py"
system "sed -i 's,rc_file = None,rc_file = USER_BASH_RC,' install.py"
end
def self.install
system "python install.py"
system "sed -i 's,#{CREW_DEST_DIR},,g' #{CREW_DEST_PREFIX}/bin/az"
end
def self.postinstall
puts
puts "To add command completion, execute the following:".lightblue
puts "echo 'source #{CREW_PREFIX}/share/azure-cli/az.completion' >> ~/.bashrc".lightblue
puts "source ~/.bashrc".lightblue
puts
end
end
......@@ -3,20 +3,33 @@ require 'package'
class Bacon < Package
description 'BaCon is a free BASIC to C translator for Unix-based systems.'
homepage 'http://www.basic-converter.org/'
version '3.5.3'
source_url 'http://www.basic-converter.org/stable/bacon-3.5.3.tar.gz'
source_sha1 'd88cc452d0580309e106f692639293ef2c249f58'
version '3.7.1'
source_url 'http://www.basic-converter.org/stable/bacon-3.7.1.tar.gz'
source_sha256 'b097fbdb4ba30b82ef3280bb133c705b26158eb7608354d1074cb119ab842760'
def self.build
system "./configure --prefix=/usr/local --disable-gui"
system 'sed -i "45s,/usr/share,/usr/local/share," Makefile'
system 'sed -i "46s,/usr/share,/usr/local/share," Makefile'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bacon-3.7.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bacon-3.7.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bacon-3.7.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bacon-3.7.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '138c53f6065e75e893a85104677c07b48772e5c371d6dbf5c0061d50960e1a42',
armv7l: '138c53f6065e75e893a85104677c07b48772e5c371d6dbf5c0061d50960e1a42',
i686: 'fc3368cd1661cbd313009a2173d7f713cf0d6016a867be7a17d03624fb947c6f',
x86_64: '955d11dd8c94216eafcfdf50ca5d686453986f3da7fd7209224256b10673316c',
})
# force to compile in sequential since bacon Makefile doesn't work in parallel
system "make", "-j1"
def self.build
system 'sed -i "s,/usr/share,\$\(DATADIR\)," Makefile.in'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-gui'
system 'make', '-j1' # parallel builds don't work with bacon
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
require 'package'
class Banner < Package
description 'An implementation of the traditional Unix-program used to display large characters.'
homepage 'http://shh.thathost.com/pub-unix/#banner'
version '1.3.2'
source_url 'http://shh.thathost.com/pub-unix/files/banner-1.3.2.tar.gz'
source_sha256 '0dc0ac0667b2e884a7f5ad3e467af68cd0fd5917f8c9aa19188e6452aa1fc6d5'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/banner-1.3.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/banner-1.3.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/banner-1.3.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/banner-1.3.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'f92922550b0c8f695e68f66373ce70a874d2cfde353cf1718ef78e5ecbb364ef',
armv7l: 'f92922550b0c8f695e68f66373ce70a874d2cfde353cf1718ef78e5ecbb364ef',
i686: '6e3e4d1f74402045c7d1dc2e8ef5696ce67d06155fbd156bb548ba9f7eaf4bdf',
x86_64: 'a7491d42ecb79b479b9bc49ff45860e5bcf50c2b763e6524c711ec90d5829c31',
})
depends_on 'shhmsg'
depends_on 'shhopt'
def self.build
system 'make'
end
def self.install
system 'make', "INSTBASEDIR=#{CREW_DEST_PREFIX}", 'install'
end
end
require 'package'
class Bash_completion < Package
description 'Programmable completion functions for bash'
homepage 'https://github.com/scop/bash-completion'
version '2.7-1'
source_url 'https://github.com/scop/bash-completion/archive/2.7.tar.gz'
source_sha256 'dba2b88c363178622b61258f35d82df64dc8d279359f599e3b93eac0375a416c'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bash_completion-2.7-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bash_completion-2.7-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bash_completion-2.7-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bash_completion-2.7-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '486ae7b4f7a8748dbb624eb0a83d7c54dcff3f95151fb202cb905e24b1c4546d',
armv7l: '486ae7b4f7a8748dbb624eb0a83d7c54dcff3f95151fb202cb905e24b1c4546d',
i686: 'dc0d6a60d98556ab3baa967a06058daa6199d26b1667c07f39c6ae6263ce8602',
x86_64: '7e9cfea615bab8620a01384ee1e96c17218efa00bea1b7415c7680107a58cac2',
})
depends_on 'autoconf'
depends_on 'automake'
def self.build
system "autoreconf -i"
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
puts
puts "To complete installation, execute the following:".lightblue
puts "echo '# bash completion' >> ~/.bashrc".lightblue
puts "echo '[[ $PS1 && -f /usr/local/share/bash-completion/bash_completion ]] && \\' >> ~/.bashrc".lightblue
puts "echo '. /usr/local/share/bash-completion/bash_completion' >> ~/.bashrc".lightblue
puts "source ~/.bashrc".lightblue
puts
end
end
......@@ -3,20 +3,36 @@ require 'package'
class Bashdb < Package
description 'The Bash Debugger Project is a source-code debugger for bash that follows the gdb command syntax.'
homepage 'http://bashdb.sourceforge.net/'
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_sha1 '918c7d576c476c4b7d768e1fccda6150cf5ca62d'
version '4.3-0.91'
source_url 'https://downloads.sourceforge.net/project/bashdb/bashdb/4.3-0.91/bashdb-4.3-0.91.tar.bz2'
source_sha256 '60117745813f29070a034c590c9d70153cc47f47024ae54bfecdc8cd86d9e3ea'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bashdb-4.3-0.91-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bashdb-4.3-0.91-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bashdb-4.3-0.91-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bashdb-4.3-0.91-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '833df9e8e4b7eebdf1d84021614e1f96e36246f8b3a6885b3a1cb453bd3721e2',
armv7l: '833df9e8e4b7eebdf1d84021614e1f96e36246f8b3a6885b3a1cb453bd3721e2',
i686: '0a8ef27b0d6c4f82e8918ea12955b76dae0b2c4b43cce6a7ed7d8f59a3616585',
x86_64: 'b86e37e76d360d4cd0ec70d2658770844eec81fed829ca0a51fc0bb3da0efa96',
})
depends_on 'compressdoc' => :build
def self.build
system "./configure \
--bindir=/usr/local/bin \
--datadir=/usr/local/share \
--infodir=/usr/local/info \
--mandir=/usr/local/man"
--bindir=#{CREW_PREFIX}/bin \
--datadir=#{CREW_PREFIX}/share \
--infodir=#{CREW_PREFIX}/info \
--mandir=#{CREW_PREFIX}/man"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "compressdoc --gzip -9 #{CREW_DEST_PREFIX}/man/man1"
end
end
......@@ -5,11 +5,25 @@ class Bc < Package
homepage 'http://www.gnu.org/software/bc/'
version '1.07.1'
source_url 'https://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz'
source_sha1 'b4475c6d66590a5911d30f9747361db47231640a'
source_sha256 '62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bc-1.07.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bc-1.07.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bc-1.07.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bc-1.07.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '23cb493a118d4ff377dc78b4e5ea2b0c35b06e1f54b3b14c0280e6f672ee2706',
armv7l: '23cb493a118d4ff377dc78b4e5ea2b0c35b06e1f54b3b14c0280e6f672ee2706',
i686: 'f5786594f7ff0a60cc30af18dffd2bff4a92218c2957ab30bdf9fb39afd97616',
x86_64: 'd50ced1d0e56bb389e57bf431bbc8a18632d42dfd483b6416de9310cc782b125',
})
depends_on 'readline'
depends_on 'flex' => :build
depends_on 'flex'
depends_on 'ed' => :build
depends_on 'texinfo' => :build
def self.build
system "./configure", "--with-readline"
......
require 'package'
class Bcif < Package
description 'The BCIF compression algorithm is an open source method for lossless image compression.'
homepage 'http://www.researchandtechnology.net/bcif/index.php'
version '1.0-beta'
source_url 'http://www.researchandtechnology.net/bcif/downloads/bcif_sources_1_0_beta.zip'
source_sha256 'fe1dde329fa60160d9ac8a0b9e4b9360a9377bc26177eab1a31e07479839d812'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bcif-1.0-beta-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bcif-1.0-beta-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bcif-1.0-beta-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bcif-1.0-beta-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'b22852369924b599c2c372dc4e1e699cca535284ac1f52747bc6cc0ecefa5bf3',
armv7l: 'b22852369924b599c2c372dc4e1e699cca535284ac1f52747bc6cc0ecefa5bf3',
i686: '60e2fe10178bfda42bb081baa271b102d198dd2dad40f6fd8ceff95528f59b8a',
x86_64: '48f1371c1ef59c68b0abc5eaf9312f396b9f5887daf4332ac423c46d516f8cc0',
})
depends_on 'unzip'
def self.build
FileUtils.cd('Cpp') do
system "bash make.sh"
end
end
def self.install
FileUtils.cd('Cpp') do
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "cp bcif #{CREW_DEST_DIR}/usr/local/bin"
end
end
end
require 'package'
class Bdwgc < Package
description 'The Boehm-Demers-Weiser conservative C/C++ Garbage Collecto'
homepage 'https://github.com/ivmai/bdwgc'
version '7.6.4'
source_url 'https://github.com/ivmai/bdwgc/archive/v7.6.4.tar.gz'
source_sha256 '1f85bf6d4aaa3fb12fe0178b13d9685e2d0c3a4d115dea5f831c54deafa3f6db'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bdwgc-7.6.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bdwgc-7.6.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bdwgc-7.6.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bdwgc-7.6.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '7df9bac9f3235d3cd619549048a7f9ade8109026c8410d54ed0b0b3f33fefdab',
armv7l: '7df9bac9f3235d3cd619549048a7f9ade8109026c8410d54ed0b0b3f33fefdab',
i686: 'fffebf06f10c8e14c75201d01932e7c6a0520baf7ae7798a62a591e7710f21dc',
x86_64: 'd3f0b3644dc8b9e810dd7f6efeafa159164884697a45bc60f472c84a624e92b1',
})
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on 'libtool' => :build
depends_on 'pkgconfig' => :build
depends_on 'libatomic_ops'
def self.build
system "./autogen.sh"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Biew < Package
description 'EYE (Binary EYE) is a free, portable, advanced file viewer with built-in editor for binary, hexadecimal and disassembler modes.'
homepage 'https://sourceforge.net/projects/beye/'
version '6.1.0'
source_url 'http://downloads.sourceforge.net/project/beye/biew/6.1.0/biew-610-src.tar.bz2'
source_sha256 '2e85f03c908dd6ec832461fbfbc79169a33f4caccf48c8fe60cbd29f5fb06d17'
binary_url ({
})
binary_sha256 ({
})
depends_on 'apriconv'
depends_on 'ncurses'
depends_on 'slang'
def self.build
system "./configure --prefix=#{CREW_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Bigreqsproto < Package
description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.'
homepage 'https://x.org'
version '1.1.2'
source_url 'https://www.x.org/archive/individual/proto/bigreqsproto-1.1.2.tar.gz'
source_sha256 'de68a1a9dd1a1219ad73531bff9f662bc62fcd777387549c43cd282399f4a6ea'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bigreqsproto-1.1.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bigreqsproto-1.1.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bigreqsproto-1.1.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bigreqsproto-1.1.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '87ebece074d85c84fb55414d83b0bfb5625c6077a11c7ed9361b602fa8cb9d37',
armv7l: '87ebece074d85c84fb55414d83b0bfb5625c6077a11c7ed9361b602fa8cb9d37',
i686: 'c274cfe95321c2fd343aa67a64e5879fad207c328c1847b2cafd4947edb6bd71',
x86_64: 'f93e9f194a8c91f981c07064bf7a057b9592bf19ed67ad9202a3f2d77d8c077c',
})
def self.build
system "./configure"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Binclock < Package
description 'Ncurses clock, with time displayed in colourful binary'
homepage 'https://github.com/JohnAnthony/Binary-Clock'
version '3883e8'
source_url 'https://github.com/JohnAnthony/Binary-Clock/archive/3883e8876576a45162b9a128d8317b20f98c5140.tar.gz'
source_sha256 'e8caa26437301c70bf9840901db9e46d32b99c0ec8b442562f96390e28f35408'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/binclock-3883e8-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/binclock-3883e8-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/binclock-3883e8-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/binclock-3883e8-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '265d4488274d213d0663f7aebb3da8c81b046edd8c6cef4101a70dcce6a39b18',
armv7l: '265d4488274d213d0663f7aebb3da8c81b046edd8c6cef4101a70dcce6a39b18',
i686: 'bb32dd6577ab50e82170e6b63843ef0c46290d6fd04b67482f3f604cff59ae02',
x86_64: 'aae91be20e29e463d85d419c19ba534a0533f3b5b035a93a3060c18bf22f7c3f',
})
depends_on 'ncurses'
def self.build
system "sed -i 's,#include <ncurses.h>,#include <#{CREW_PREFIX}/include/ncurses/ncurses.h>,' binclock.c"
system "sed -i 's,/usr/bin,#{CREW_PREFIX}/bin,g' Makefile"
system "sed -i 's,/usr/share,#{CREW_PREFIX}/share,g' Makefile"
system "make"
end
def self.install
system "mkdir -p #{CREW_DEST_PREFIX}/bin"
system "mkdir -p #{CREW_DEST_PREFIX}/share/man/man1"
system "cp binclock #{CREW_DEST_PREFIX}/bin"
system "cp binclock.1 #{CREW_DEST_PREFIX}/share/man/man1"
end
end
......@@ -3,18 +3,35 @@ require 'package'
class Bind < Package
description 'BIND is open source software that enables you to publish your Domain Name System (DNS) information on the Internet, and to resolve DNS queries for your users.'
homepage 'https://www.isc.org/downloads/bind/'
version '9.10.4'
source_url 'https://www.isc.org/downloads/file/bind-9-10-4-p6/'
source_sha1 'c08bef47136b3b88844a4c3b8a6227445fca6f40'
version '9.12.0'
source_url 'https://www.isc.org/downloads/file/bind-9-12-0/'
source_sha256 '29870e9bf9dcc31ead3793ca754a7b0236a0785a7a9dc0f859a0bc42e19b3c82'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.12.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.12.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.12.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bind-9.12.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '9dd44bcabd7c6fff45ded90c1c5a1d7035efe892705eff6b7c4403126742fe7c',
armv7l: '9dd44bcabd7c6fff45ded90c1c5a1d7035efe892705eff6b7c4403126742fe7c',
i686: '53542e742f07b01367bec3b9c44b9464d7174402629911da3586f26c46f666cd',
x86_64: 'c0cc93e84f7585eabe3bbd90d3163871777fb8e94fe3f0774d403f45a018c04d',
})
depends_on "buildessential"
depends_on "openssl"
depends_on "libcap"
depends_on "readline"
depends_on "diffutils"
def self.build
system "BUILD_CC=gcc ./configure --with-randomdev=no --with-ecdsa=yes --with-gost=yes --prefix=/usr/local"
system "BUILD_CC=gcc ./configure \
--with-randomdev=no \
--with-ecdsa=yes \
--with-gost=yes \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX}"
system "make"
end
......
......@@ -3,17 +3,17 @@ require 'package'
class Binutils < Package
description 'The GNU Binutils are a collection of binary tools.'
homepage 'http://www.gnu.org/software/binutils/'
version '2.25-cc1.3'
version '2.25-3'
binary_url ({
aarch64: 'https://github.com/jam7/chrome-cross/releases/download/v1.3/binutils-2.25-cc1.3-chromeos-armv7l.tar.xz',
armv7l: 'https://github.com/jam7/chrome-cross/releases/download/v1.3/binutils-2.25-cc1.3-chromeos-armv7l.tar.xz',
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.3/binutils-2.25-cc1.3-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.3/binutils-2.25-cc1.3-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.25-3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.25-3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.25-3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/binutils-2.25-3-chromeos-x86_64.tar.xz',
})
binary_sha1 ({
aarch64: '926b6aeab6d9c33435eefb856e4cb5263753387c',
armv7l: '926b6aeab6d9c33435eefb856e4cb5263753387c',
i686: 'ebf66128ca99fa81c26b49b20163ea77eeb1e204',
x86_64: '5427ba83960d0b7866aec8de63415720595ffe4a',
binary_sha256 ({
aarch64: '1bacd0d559775a5e8c444ccb51e75158abc4b997a206756bee2414d83f60381d',
armv7l: '1bacd0d559775a5e8c444ccb51e75158abc4b997a206756bee2414d83f60381d',
i686: '0e633732a1b4c4ca0eb7d5e7bdb69e3dc027c398caa1ad940b0bceb5a067a371',
x86_64: '98f6862f011ba38d192c8dac80f45af667832b850dc85f73959548a2a251bd44',
})
end
......@@ -5,7 +5,20 @@ class Bison < Package
homepage 'http://www.gnu.org/software/bison/'
version '3.0.4-1'
source_url 'http://mirror.keystealth.org/gnu/bison/bison-3.0.4.tar.xz'
source_sha1 '8270497aad88c7dd4f2c317298c50513fb0c3c8e'
source_sha256 'a72428c7917bdf9fa93cb8181c971b6e22834125848cf1d03ce10b1bb0716fe1'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bison-3.0.4-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bison-3.0.4-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bison-3.0.4-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bison-3.0.4-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'ede13d714d13f2d43f82aa31b14cda1f898dcffa220103bb2b25011433cbafb8',
armv7l: 'ede13d714d13f2d43f82aa31b14cda1f898dcffa220103bb2b25011433cbafb8',
i686: '295fd33c5b6b28fc78816f8f85a2f755ff398a846d15dec4bea72b7d1fcc037c',
x86_64: '68b57034c1e3bf65fdc55e4fb5d29e2a83178e855d909df77be261d8436e033a',
})
depends_on 'diffutils' => :build
depends_on 'm4' => :build
......@@ -14,13 +27,12 @@ class Bison < Package
# depends_on 'flex' => :build
def self.build
system './configure --prefix=/usr/local'
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
system "find . -name '*.a' -print | xargs strip -S"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.check
......
require 'package'
class Bitpocket < Package
description '"DIY Dropbox" or "2-way directory (r)sync with proper deletion"'
homepage 'https://github.com/sickill/bitpocket'
version '0.2'
source_url 'https://github.com/sickill/bitpocket/archive/v0.2.tar.gz'
source_sha256 'f3952374a1139465700f9122d7a929227be5cdeb681679cbe00bb93658adbd1f'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bitpocket-0.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bitpocket-0.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bitpocket-0.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bitpocket-0.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '7b94a65b172e2c93a8a35bd6c6642d61023b0c91ab9f2ba9a8db7f7dca9c150e',
armv7l: '7b94a65b172e2c93a8a35bd6c6642d61023b0c91ab9f2ba9a8db7f7dca9c150e',
i686: '42fcb4adb063c62d0a5907739b420e9a75457d51df44b64aa6b1600d2e81b3bf',
x86_64: '65b995eb9ea17bbce09c47d786cb1c38afac27952f2795fbcc4208b971e9de4a',
})
def self.install
system "install -Dm755 bin/bitpocket #{CREW_DEST_PREFIX}/bin/bitpocket"
end
end
require 'package'
class Bmon < Package
description 'bandwidth monitor and rate estimator'
homepage 'https://github.com/tgraf/bmon/'
version '4.0'
source_url 'https://github.com/tgraf/bmon/releases/download/v4.0/bmon-4.0.tar.gz'
source_sha256 '02fdc312b8ceeb5786b28bf905f54328f414040ff42f45c83007f24b76cc9f7a'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bmon-4.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bmon-4.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bmon-4.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bmon-4.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '1152f984aae1b54b4162a34460a8b3ced0be7e3c8a0887ac02fbd9d283cbd5aa',
armv7l: '1152f984aae1b54b4162a34460a8b3ced0be7e3c8a0887ac02fbd9d283cbd5aa',
i686: '5507412038511d2f5315478d3f527e54be02b3b9d69381aa1fbdf5a36621a5e0',
x86_64: 'e12f42c3d028678a37bf083ca9884ab4ad453de414f57a63eedec43c08705146',
})
depends_on 'libconfuse'
depends_on 'libnl3'
depends_on 'ncurses'
def self.build
system "./configure --prefix=#{CREW_PREFIX}"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
......@@ -3,15 +3,28 @@ require 'package'
class Boost < Package
description 'Boost provides free peer-reviewed portable C++ source libraries.'
homepage 'http://www.boost.org/'
version '1.59.0'
source_url 'http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz'
source_sha1 '5123209db194d66d69a9cfa5af8ff473d5941d97'
version '1.66.0'
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 --prefix=/usr/local'
system './bootstrap.sh'
end
def self.install
system './b2 install'
system "./b2 -a --prefix=#{CREW_DEST_PREFIX} --libdir=#{CREW_DEST_LIB_PREFIX} install"
end
end
require 'package'
class Box < Package
description 'An application for building and managing Phars.'
homepage 'https://box-project.github.io/box2/'
version '2.7.5'
source_url 'https://raw.githubusercontent.com/box-project/box2/2.7.5/README.md'
source_sha256 'b60e231f431cefbd88fc4022af5408c2098242f45485180d87ad88dbd30e6d02'
depends_on 'php' unless File.exists? "#{CREW_PREFIX}/bin/php"
def self.install
system 'wget https://github.com/box-project/box2/releases/download/2.7.5/box-2.7.5.phar'
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read('box-2.7.5.phar') ) == '28b4b798ad4dcf8fbf9cd68aaff495d4bbeaec4363f5f319a222829d9b6abdfe'
system "install -Dm755 box-2.7.5.phar #{CREW_DEST_PREFIX}/bin/box"
end
end
require 'package'
class Brotli < Package
description 'Brotli compression format '
homepage 'https://github.com/google/brotli'
version '1.0.2'
source_url 'https://github.com/google/brotli/archive/v1.0.2.tar.gz'
source_sha256 'c2cf2a16646b44771a4109bb21218c8e2d952babb827796eb8a800c1f94b7422'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/brotli-1.0.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/brotli-1.0.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/brotli-1.0.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/brotli-1.0.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'caeba80019a2a67c9e4ad1a315346032081c7038a8b2584113f3bb736fb2398d',
armv7l: 'caeba80019a2a67c9e4ad1a315346032081c7038a8b2584113f3bb736fb2398d',
i686: 'c407302e52803695399398fac407cd094f0d11ff1d559b4c4ddceb6a5f1c72da',
x86_64: 'f6c36378dcee4deb6ea8d9aeeb0bb2d21364d6bbda24847646be3b4eb1eb8f6b',
})
depends_on 'cmake' => :build
def self.build
system 'mkdir out'
Dir.chdir 'out' do
system "cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX} -DCMAKE_INSTALL_LIBDIR=#{CREW_DEST_LIB_PREFIX}"
system "cmake --build . --config Release --target install"
end
end
def self.install
Dir.chdir 'out' do
system "cmake -DCMAKE_INSTALL_PREFIX=#{CREW_DEST_PREFIX} -DCMAKE_INSTALL_LIBDIR=#{CREW_DEST_LIB_PREFIX} -P cmake_install.cmake"
end
end
end
......@@ -3,12 +3,34 @@ require 'package'
class Buildessential < Package
description 'A collection of tools essential to compile and build software.'
homepage ''
version '1.0'
version '1.0-1'
is_fake
depends_on 'gcc'
depends_on 'linuxheaders'
depends_on 'make'
depends_on 'pkgconfig'
# typically required library to compile source code using "./autogen.sh"
depends_on 'automake'
depends_on 'libtool'
depends_on 'intltool'
depends_on 'patch'
depends_on 'diffutils'
depends_on 'bison'
depends_on 'flex'
depends_on 'util_macros'
depends_on 'gettext'
depends_on 'wget' # in some case, some patches might be required and can be downloaded using wget
# xorg protocols headers
#depends_on 'xorg_proto'
# maybe meson build system ?
# depends_on 'meson' ## With python binary fixed, this chould be included here.
# perl module build ?
# depends_on 'perl_module_build'
end
require 'package'
class Byobu < Package
description 'Byobu is a GPLv3 open source text-based window manager and terminal multiplexer.'
homepage 'http://byobu.org/'
version '5.124'
source_url 'https://launchpad.net/byobu/trunk/5.124/+download/byobu_5.124.orig.tar.gz'
source_sha256 '4eca1287b95093ac4697e6ebf7312308d54af90630db151669c5f328e0bef122'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/byobu-5.124-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/byobu-5.124-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/byobu-5.124-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/byobu-5.124-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '6ae0a523b224701125020c8a8051a8993fc2999d29239ded9ad92935b4f71b79',
armv7l: '6ae0a523b224701125020c8a8051a8993fc2999d29239ded9ad92935b4f71b79',
i686: 'bc8d3e924a029ba6dece63a845c0a70d39afeab85ad0aab093f05ef49b6a45bd',
x86_64: '633a6857112ea892bafa9718e7092161fdf161c7b75a5b3ad432cfb5f895506a',
})
depends_on 'gawk'
depends_on 'tmux' unless File.exists? "#{CREW_PREFIX}/bin/screen"
def self.build
system './configure'
system "sed -i '249d' Makefile && sed -i '262d' Makefile"
system "sed -i '242iprefix = #{CREW_PREFIX}' Makefile"
system "sed -i '243iexec_prefix = \${prefix}' Makefile"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
......@@ -5,7 +5,20 @@ class Bz2 < Package
homepage 'http://www.bzip.org/'
version '1.0.6'
source_url 'http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz'
source_sha1 '3f89f861209ce81a6bab1fd1998c0ef311712002'
source_sha256 'a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/bz2-1.0.6-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/bz2-1.0.6-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/bz2-1.0.6-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/bz2-1.0.6-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '7b41f602ad83ecf36b72907ed86d739daaf8d177625f31d9205f7788e0cc9b5d',
armv7l: '7b41f602ad83ecf36b72907ed86d739daaf8d177625f31d9205f7788e0cc9b5d',
i686: '39e8e5157a5b645c7af0b65f36d765ae16304781fbdcecde1f34f15eed798633',
x86_64: '3808a7cba103b79efe35a7f131873b99d4253640715ab05b374db384272735eb',
})
depends_on 'diffutils' => :build
......@@ -34,13 +47,9 @@ class Bz2 < Package
system "ln", "-sf", "bzip2", "#{CREW_DEST_DIR}/usr/local/bin/bzcat"
# Install shared library by hand
system "cp", "-p", "libbz2.so.1.0.6", "#{CREW_DEST_DIR}/usr/local/lib"
system "ln", "-s", "libbz2.so.1.0.6", "#{CREW_DEST_DIR}/usr/local/lib/libbz2.so.1.0"
# Strip binaries and libraries
system "strip #{CREW_DEST_DIR}/usr/local/bin/bzip2"
system "strip #{CREW_DEST_DIR}/usr/local/bin/bzip2recover"
system "strip -S #{CREW_DEST_DIR}/usr/local/lib/*"
system "mkdir", "-p", "#{CREW_DEST_DIR}#{CREW_LIB_PREFIX}"
system "cp", "-p", "libbz2.so.1.0.6", "#{CREW_DEST_DIR}#{CREW_LIB_PREFIX}"
system "ln", "-s", "libbz2.so.1.0.6", "#{CREW_DEST_DIR}#{CREW_LIB_PREFIX}/libbz2.so.1.0"
end
def self.check
......
require 'package'
class C_ares < Package
description 'c-ares is a C library for asynchronous DNS requests (including name resolves).'
homepage 'https://c-ares.haxx.se/'
version '1.13.0'
source_url 'https://c-ares.haxx.se/download/c-ares-1.13.0.tar.gz'
source_sha256 '03f708f1b14a26ab26c38abd51137640cb444d3ec72380b21b20f1a8d2861da7'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/c_ares-1.13.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/c_ares-1.13.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/c_ares-1.13.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/c_ares-1.13.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '750a615e4facc29c6bd14287bdd33b898e41ffaec0d58e572bd6b5f0091d7235',
armv7l: '750a615e4facc29c6bd14287bdd33b898e41ffaec0d58e572bd6b5f0091d7235',
i686: '33846c33b585cedb0f79614f0a7605417027317e1ba11b9817bd8399b310eea2',
x86_64: '2bbe81d4a4ca4c5ed396625f7b93ba876144fedec201d3f2093eecf718635c1e',
})
def self.build
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Cabal < Package
description 'Common Architecture for Building Applications and Libraries'
homepage 'https://www.haskell.org/cabal/'
version '2.0.0.1'
case ARCH
when 'i686'
source_url 'https://www.haskell.org/cabal/release/cabal-install-2.0.0.1/cabal-install-2.0.0.1-i386-unknown-linux.tar.gz'
source_sha256 '3198c04aeddc38847e4b25ad4590f17a9e5e41eba0b6f1c6fba997d7e73388d8'
when 'x86_64'
source_url 'https://www.haskell.org/cabal/release/cabal-install-2.0.0.1/cabal-install-2.0.0.1-x86_64-unknown-linux.tar.gz'
source_sha256 '915f9bc9944a6854ed9255c2a38cb18366fa94e5c7f584ebf139e829bda98764'
else
puts "#{ARCH} architecture not supported.".lightred
end
depends_on 'ghc'
def self.install
system "install -Dm755 cabal #{CREW_DEST_PREFIX}/bin/cabal"
end
end
require 'package'
class Cabextract < Package
description 'cabextract is Free Software for extracting Microsoft cabinet files, also called .CAB files.'
homepage 'https://www.cabextract.org.uk/'
version '1.6'
source_url 'https://www.cabextract.org.uk/cabextract-1.6.tar.gz'
source_sha256 'cee661b56555350d26943c5e127fc75dd290b7f75689d5ebc1f04957c4af55fb'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cabextract-1.6-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cabextract-1.6-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cabextract-1.6-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cabextract-1.6-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '2b80539b495ab1ed9a023da2b2d87310b1c58ceae177e6c541b93ccd77901517',
armv7l: '2b80539b495ab1ed9a023da2b2d87310b1c58ceae177e6c541b93ccd77901517',
i686: '77ce30a3079c392ca49760076c1efc99ceebaee932178434f8004a0bccee9a00',
x86_64: '75095476870a5fa3b4cb1d291f336b8132727ffbca7c35e0424aa2ccb38c4afd',
})
def self.build
system './configure'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Cadaver < Package
description 'cadaver is a command-line WebDAV client for Unix. It supports file upload, download, on-screen display, namespace operations (move/copy), collection creation and deletion, and locking operations.'
homepage 'http://www.webdav.org/cadaver/'
version '0.23.3'
source_url 'http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz'
source_sha256 'fd4ce68a3230ba459a92bcb747fc6afa91e46d803c1d5ffe964b661793c13fca'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cadaver-0.23.3-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cadaver-0.23.3-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cadaver-0.23.3-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cadaver-0.23.3-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'd9a7268a76a9c4f3968b27e3c90d281f8f1b10a77d2ffd1baea583747a55ccd3',
armv7l: 'd9a7268a76a9c4f3968b27e3c90d281f8f1b10a77d2ffd1baea583747a55ccd3',
i686: '2c87f25d8cddc458250816f2cd6eb9a65ea7c59f5ab1c2cd50a3bca58ef6910f',
x86_64: 'db2900a257601dbdaae05477c7eecfda2cf6ed8e7e91e42cedf0cd59887aa19c',
})
def self.build
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
......@@ -2,16 +2,39 @@ require 'package'
class Cairo < Package
description 'Cairo is a 2D graphics library with support for multiple output devices.'
homepage 'https://www.cairographics.org/'
version '1.14.8'
source_url 'https://www.cairographics.org/releases/cairo-1.14.8.tar.xz'
source_sha1 'c6f7b99986f93c9df78653c3e6a3b5043f65145e'
homepage 'https://www.cairographics.org'
version '1.14.12-1'
source_url 'https://www.cairographics.org/releases/cairo-1.14.12.tar.xz'
source_sha256 '8c90f00c500b2299c0a323dd9beead2a00353752b2092ead558139bd67f7bf16'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cairo-1.14.12-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cairo-1.14.12-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cairo-1.14.12-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cairo-1.14.12-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '39ed1c001a51c6041b8f6e8454cc9cf2563e9d992f124d5266ca384e4932bc92',
armv7l: '39ed1c001a51c6041b8f6e8454cc9cf2563e9d992f124d5266ca384e4932bc92',
i686: '6e37fb090daa853dd24857eddfdad7f613a48efadd203f6fb147758fb68b1b33',
x86_64: 'b36c865cef3deb8c3c52dd5b0ac51a3a9811a12ce91fde4196d6a2cb289f3faa',
})
depends_on 'libpng'
depends_on 'pixman'
depends_on 'fontconfig' # pango requires cairo with fontconfig
depends_on 'libtool'
depends_on 'mesa'
depends_on 'automake' => :build
def self.build
system "./configure"
system "./autogen.sh" # This fixes automake error (when we directly use configure)
system "./configure \
--prefix=#{CREW_PREFIX} \
--libdir=#{CREW_LIB_PREFIX} \
--enable-xlib \
--enable-xlib-xcb \
--enable-glesv2"
system "make"
end
......
require 'package'
class Cairomm < Package
description 'The Cairomm package provides a C++ interface to Cairo.'
homepage 'https://www.cairographics.org/'
version '1.12.2'
source_url 'https://www.cairographics.org/releases/cairomm-1.12.2.tar.gz'
source_sha256 '45c47fd4d0aa77464a75cdca011143fea3ef795c4753f6e860057da5fb8bd599'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cairomm-1.12.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cairomm-1.12.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cairomm-1.12.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cairomm-1.12.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '716198def65f7a922c3731bdb67e11734bfe48ce88c1387babe397cf173803d9',
armv7l: '716198def65f7a922c3731bdb67e11734bfe48ce88c1387babe397cf173803d9',
i686: '116e6672c979c5437e3b6f09d77115193abfdfea29571eeeea9c99e1203482de',
x86_64: '1f1d306f729cf04dd1d29979df6caefa5d8e6cfaa2dafd404a807d16b0f08a4b',
})
depends_on 'cairo'
depends_on 'libsigcplusplus'
def self.build
# fix the documents directory name
system "sed -e '/^libdocdir =/ s/$(book_name)/cairomm-1.12.2/' \
-i docs/Makefile.in"
system "./configure --prefix=#{CREW_PREFIX} --libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Camp < Package
description 'Server stack which includes httpd, percona_server and php'
homepage ''
version '1.0'
is_fake
depends_on 'httpd'
depends_on 'percona_server'
depends_on 'php' unless File.exists? "#{CREW_PREFIX}/bin/php"
end
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/oss_cbase.shtml'
version '1.3.7-2'
source_url 'http://www.hyperrealm.com/packages/cbase-1.3.7.tar.gz'
source_sha256 'c4d155686ac2e9d1480319de311967fadad745a6ab6971d53d495d9a9e52dc47'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cbase-1.3.7-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cbase-1.3.7-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cbase-1.3.7-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cbase-1.3.7-2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '7239675f8e4b748002410ec794cd23b0cdc6c81610eb4b8fa943ed8a3734c32d',
armv7l: '7239675f8e4b748002410ec794cd23b0cdc6c81610eb4b8fa943ed8a3734c32d',
i686: 'a1c2d4270c5efa6743cfe6c3166c62ec70d09c992492c1879eaac3df0a600f19',
x86_64: '48d4d2a501f9c1436eeb4f9352e5e27c1e53dd172cab362510e9c5f118cbc10c',
})
depends_on 'expat'
def self.build
# fix error on arm architecture
case ARCH
when 'armv7l','aarch64'
Dir.chdir("lib") do
system "sed -i '376c if (&vp == NULL)' strings.c" # change from if(!vp) to if (&vp == NULL), tested on armv7l
end
end
system "./configure --prefix=#{CREW_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Ccl < Package
description 'Clozure CL is a fast, mature, open source Common Lisp implementation.'
homepage 'https://ccl.clozure.com'
version '1.11'
# arm only has a 32-bit build in the archive
# intel has both 32-bit and 64-bit in the archive
case ARCH
when 'aarch64', 'armv7l'
source_url 'ftp://ftp.clozure.com/pub/release/1.11/ccl-1.11-linuxarm.tar.gz'
source_sha256 '64a1911fbe516b73964b377df360c3a40695c6155e0730a6590c67f1953a88f4'
when 'i686', 'x86_64'
source_url 'ftp://ftp.clozure.com/pub/release/1.11/ccl-1.11-linuxx86.tar.gz'
source_sha256 '08e885e8c2bb6e4abd42b8e8e2b60f257c6929eb34b8ec87ca1ecf848fac6d70'
end
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/ccl-1.11-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/ccl-1.11-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/ccl-1.11-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/ccl-1.11-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'cfb1be8fc272f1c2bdaaacecfc78fd5586d066f15a14343f30a4e8266b9762e8',
armv7l: 'cfb1be8fc272f1c2bdaaacecfc78fd5586d066f15a14343f30a4e8266b9762e8',
i686: 'bde1a888168ba4a8489186e2a365d0ce4400cec13f862e6761e0478a95ee0381',
x86_64: '526d1b580cd4e0295368dae45a165d082f8e717db7a4b4168be3fc4e3195c892',
})
def self.install
system "mkdir -p #{CREW_DEST_PREFIX}/share/ccl"
system "mkdir -p #{CREW_DEST_PREFIX}/bin"
FileUtils.cp_r Dir.pwd, "#{CREW_DEST_PREFIX}/share"
# the name of the repl binary and kernel image are different for each arch
case ARCH
when 'aarch64', 'armv7l'
system "ln -s #{CREW_PREFIX}/share/ccl/armcl #{CREW_DEST_PREFIX}/bin/ccl"
when 'i686'
system "ln -s #{CREW_PREFIX}/share/ccl/lx86cl #{CREW_DEST_PREFIX}/bin/ccl"
when 'x86_64'
system "ln -s #{CREW_PREFIX}/share/ccl/lx86cl64 #{CREW_DEST_PREFIX}/bin/ccl"
end
end
end
require 'package'
class Cdargs < Package
description 'Directory bookmarking system - Enhanced cd utilities'
homepage 'http://www.skamphausen.de/cgi-bin/ska/CDargs'
version '1.35'
source_url 'http://www.skamphausen.de/downloads/cdargs/cdargs-1.35.tar.gz'
source_sha256 'ee35a8887c2379c9664b277eaed9b353887d89480d5749c9ad957adf9c57ed2c'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cdargs-1.35-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cdargs-1.35-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cdargs-1.35-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cdargs-1.35-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '0914fa39e961340495be54984800dfc2e0dd65267985e0a6f3ceee95c03da61a',
armv7l: '0914fa39e961340495be54984800dfc2e0dd65267985e0a6f3ceee95c03da61a',
i686: 'b7f9f145e6ec4ddf18fb73fb87cb1c1b2a3b34736060746f191ee42644031d64',
x86_64: 'c8d830042023c48a5935b26992219233bf7e911b5e5194bda5191db27e2c036d',
})
depends_on 'ncurses'
def self.build
system "sed -i 's,#include <ncurses.h>,#include <#{CREW_PREFIX}/include/ncurses/ncurses.h>,' configure"
system "sed -i 's,# include <ncurses.h>,#include <#{CREW_PREFIX}/include/ncurses/ncurses.h>,' src/cdargs.cc"
system "./configure --prefix=#{CREW_PREFIX} --with-ncurses"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
......@@ -5,7 +5,20 @@ class Cdrkit < Package
homepage 'https://launchpad.net/cdrkit'
version '1.1.11'
source_url 'https://downloads.sourceforge.net/project/wodim/cdrkit/cdrkit_1.1.11.orig.tar.gz'
source_sha1 '3f7ddc06db0272942e1a4cd98c3c96462df77387'
source_sha256 'd1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cdrkit-1.1.11-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cdrkit-1.1.11-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cdrkit-1.1.11-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cdrkit-1.1.11-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '6d829e8a270b9c6966998adff36696336503223c0a524c67a4760965741bc3e2',
armv7l: '6d829e8a270b9c6966998adff36696336503223c0a524c67a4760965741bc3e2',
i686: 'a88e5fa4e900593f11ffc492f0be315856b076398294510ed72a638b485066b8',
x86_64: '29a22b6c7627aafed893dbe11d91c9d907c41461b76d3baa9d0da38cd228c51d',
})
depends_on 'cmake'
depends_on 'libcap'
......
require 'package'
class Cgroupfs_mount < Package
description 'Simple scripts to properly mount the cgroupfs hierarchy.'
homepage 'https://github.com/tianon/cgroupfs-mount'
version '1.4'
source_url 'https://github.com/tianon/cgroupfs-mount/archive/1.4.tar.gz'
source_sha256 'd6c8aff7af59c7d0082ee3018c97f73b0421e81a49bb28ad9f66a36da5cd6ec7'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/cgroupfs_mount-1.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/cgroupfs_mount-1.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/cgroupfs_mount-1.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/cgroupfs_mount-1.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '5291e3cba179034a52b508008b0b35fcb5d8a800a8e14068ade8d2c1feda8ee1',
armv7l: '5291e3cba179034a52b508008b0b35fcb5d8a800a8e14068ade8d2c1feda8ee1',
i686: '17411a50bef5f297e558686e86f3ee710b744fa3b78458fbaa9d90219bfa0df8',
x86_64: 'd01398e7d06e023f625bb36d5c80d20b25bd0db9d0d71d08bfa9e12c8cc36a2a',
})
depends_on 'compressdoc' => :build
def self.install
system "install -Dm755 cgroupfs-mount #{CREW_DEST_PREFIX}/bin/cgroupfs-mount"
system "install -Dm755 cgroupfs-umount #{CREW_DEST_PREFIX}/bin/cgroupfs-umount"
system "install -Dm644 cgroupfs-mount.8 #{CREW_DEST_PREFIX}/share/man/man8/cgroupfs-mount.8"
system "compressdoc --gzip -9 #{CREW_DEST_PREFIX}/share/man/man8"
end
end
......@@ -3,9 +3,22 @@ require 'package'
class Chicken < Package
description 'CHICKEN is practical and portable scheme system.'
homepage 'https://code.call-cc.org/'
version '4.12.0'
source_url 'https://code.call-cc.org/releases/4.12.0/chicken-4.12.0.tar.gz'
source_sha1 'f128b57d42ce6f1d4a56a372916e9e538ae1ceab'
version '4.13.0'
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"
......
require 'package'
class Choose < Package
description 'make choices on the command line'
homepage 'https://github.com/geier/choose'
version '0.1.0'
source_url 'https://github.com/geier/choose/archive/v0.1.0.tar.gz'
source_sha256 'd09a679920480e66bff36c76dd4d33e8ad739a53eace505d01051c114a829633'
depends_on 'python27' unless File.exists? "#{CREW_PREFIX}/bin/python"
def self.install
system "yes | pip install setuptools"
system "pip install urwid --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
system "install -Dm755 choose #{CREW_DEST_PREFIX}/bin/choose"
system "pip uninstall setuptools"
end
end
require 'package'
class Chromebeer < Package
description 'An opinionated bundle of "essential" Chromebrew packages.'
homepage ''
version '1.0'
is_fake
depends_on 'ascii'
depends_on 'bz2'
depends_on 'curl'
depends_on 'filecmd'
depends_on 'gawk'
depends_on 'gzsize'
depends_on 'lshw'
depends_on 'mediainfo'
depends_on 'mlocate'
depends_on 'psmisc'
depends_on 'rsync'
depends_on 'sysstat'
depends_on 'tree'
depends_on 'unzip'
depends_on 'zip'
depends_on 'manpages'
end
require 'package'
class Chromebrew_scripts < Package
description 'Useful bash utility scripts for Chrome/Chromium OS systems.'
homepage 'https://github.com/uberhacker/chromebrew-scripts'
version '1.1.0'
source_url 'https://github.com/uberhacker/chromebrew-scripts/archive/1.1.0.tar.gz'
source_sha256 'acf8f89ef3b8a04fc33bb5a94188687d0fdd2dd7b05102ad442a91019cab20fb'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/chromebrew_scripts-1.1.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/chromebrew_scripts-1.1.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/chromebrew_scripts-1.1.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/chromebrew_scripts-1.1.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '447d9faf3c89ce8f1b660948c147ce8d176e7a603c8d0c1e5d6fa141c7d42a8e',
armv7l: '447d9faf3c89ce8f1b660948c147ce8d176e7a603c8d0c1e5d6fa141c7d42a8e',
i686: 'd7dc131e574831c2a20bd4ef464e70edb213ce26d7da0ac00c5983366c95a7ea',
x86_64: 'a0131789ac972ebe470bf4a8d7768b6cd0b1044b9a32838b9341a40a40618527',
})
def self.install
system "install -Dm755 chromebrew #{CREW_DEST_PREFIX}/bin/chromebrew"
system "install -Dm755 powerwash #{CREW_DEST_PREFIX}/bin/powerwash"
system "install -Dm755 rootfs #{CREW_DEST_PREFIX}/bin/rootfs"
system "install -Dm755 rw #{CREW_DEST_PREFIX}/bin/rw"
end
end
require 'package'
class Chruby < Package
description 'Changes the current Ruby'
homepage 'https://github.com/postmodern/chruby'
version '0.3.9'
source_url 'https://github.com/postmodern/chruby/archive/v0.3.9.tar.gz'
source_sha256 '7220a96e355b8a613929881c091ca85ec809153988d7d691299e0a16806b42fd'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/chruby-0.3.9-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/chruby-0.3.9-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/chruby-0.3.9-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/chruby-0.3.9-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'dbd2de39de5e82f32af9659ff2b13827f06d4b6921c69bc2f7c8a2601f505257',
armv7l: 'dbd2de39de5e82f32af9659ff2b13827f06d4b6921c69bc2f7c8a2601f505257',
i686: '180c8642ca54c7372f4ddba770bec5791b3b158edbf91e1482330d5b523c3d81',
x86_64: 'b33bbb7216f5599f57b1a19e0db653345199a8818e27e41944f2b46fc580bc2d',
})
def self.build
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
def self.postinstall
puts
puts "To finish the installation, execute the following:".lightblue
puts "echo 'if [ -f #{CREW_PREFIX}/share/chruby/chruby.sh ]; then' >> ~/.bashrc".lightblue
puts "echo ' source #{CREW_PREFIX}/share/chruby/chruby.sh' >> ~/.bashrc".lightblue
puts "echo 'fi' >> ~/.bashrc".lightblue
puts "source ~/.bashrc".lightblue
puts
end
end
......@@ -3,11 +3,31 @@ require 'package'
class Clamav < Package
description 'ClamAV is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats.'
homepage 'https://www.clamav.net/'
version '0.99.2'
version '0.99.2-1'
source_url 'https://www.clamav.net/downloads/production/clamav-0.99.2.tar.gz'
source_sha1 'c1a47411834d8527f7b40727aebee63f01d488af'
source_sha256 '167bd6a13e05ece326b968fdb539b05c2ffcfef6018a274a10aeda85c2c0027a'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/clamav-0.99.2-1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/clamav-0.99.2-1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/clamav-0.99.2-1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/clamav-0.99.2-1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'bf8518c18e78b07483648ebd3e281ae3b49725e20b440dd56d896e92b8b29d7e',
armv7l: 'bf8518c18e78b07483648ebd3e281ae3b49725e20b440dd56d896e92b8b29d7e',
i686: 'c938db5fb8bd558dd96411073dc7dd552e1397fb40d6c4eef674bef36495e696',
x86_64: 'e5e1f2fe2dabc34cccd029e3918fb44d4d5f2f1efcdf1dfe217d7d8199ec688a',
})
depends_on 'patch'
depends_on 'autoconf'
def self.build
# Apply patch available at https://bugzilla.clamav.net/show_bug.cgi?id=11711.
# This will be fixed in next release.
system "curl -L 'https://bugzilla.clamav.net/attachment.cgi?id=7207' | patch -p0"
system "autoconf"
system "./configure"
system "make"
end
......
require 'package'
class Clang < Package
description 'C language family frontend for LLVM.'
homepage 'https://clang.llvm.org/'
version '5.0.1'
source_url 'https://releases.llvm.org/5.0.1/cfe-5.0.1.src.tar.xz'
source_sha256 '135f6c9b0cd2da1aff2250e065946258eb699777888df39ca5a5b4fe5e23d0ff'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/clang-5.0.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/clang-5.0.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/clang-5.0.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/clang-5.0.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '10b6e17be70dbb7ffd235f8ba8202365b371928ffe48b36c1e3c4d38ff743e46',
armv7l: '10b6e17be70dbb7ffd235f8ba8202365b371928ffe48b36c1e3c4d38ff743e46',
i686: '800cc05762df8508cba1696e26f5f1b38f35c823dc77f5e9bb9eb3fd01902489',
x86_64: '6512c4905caa1679ab201b31d2e978343f08eb56e0ca5b3006b8aed0c5dbe932',
})
depends_on 'cmake' => :build
depends_on 'llvm'
depends_on 'clang_libcpp'
depends_on 'clang_openmp'
depends_on 'llvm_compiler_rt'
depends_on 'llvm_polly'
depends_on 'llvm_unwind'
depends_on 'lld'
def self.build
Dir.mkdir 'mybuilddir'
Dir.chdir "mybuilddir" do
system "cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release .."
system "cmake --build . -- -j#{CREW_NPROC}"
end
end
def self.install
Dir.chdir "mybuilddir" do
system "cmake -DCMAKE_INSTALL_PREFIX=#{CREW_DEST_PREFIX} -P cmake_install.cmake"
FileUtils.cd("#{CREW_DEST_PREFIX}/bin") do
system "echo '#!/bin/bash' > clangppw"
system "echo 'GCCVERSION=`gcc --version | grep ^gcc | sed '\\''s/^.* //g'\\''`' >> clangppw"
system "echo 'TARGET=`gcc -dumpmachine`' >> clangppw"
system "echo '#{CREW_PREFIX}/bin/clang++ -I#{CREW_PREFIX}/include/c++/v1 -B#{CREW_PREFIX}/lib/gcc/${TARGET}/${GCCVERSION} -lc++ $@' >> clangppw"
system "chmod 755 clangppw"
system "echo '#!/bin/bash' > clangw"
system "echo 'GCCVERSION=`gcc --version | grep ^gcc | sed '\\''s/^.* //g'\\''`' >> clangw"
system "echo 'TARGET=`gcc -dumpmachine`' >> clangw"
system "echo '#{CREW_PREFIX}/bin/clang -B#{CREW_PREFIX}/lib/gcc/${TARGET}/${GCCVERSION} $@' >> clangw"
system "chmod 755 clangw"
end
end
end
end
require 'package'
class Clang_libcpp < Package
description 'Standard library for Clang5.'
homepage 'https://libcxx.llvm.org/'
version '5.0.1'
source_url 'https://releases.llvm.org/5.0.1/libcxx-5.0.1.src.tar.xz'
source_sha256 'fa8f99dd2bde109daa3276d529851a3bce5718d46ce1c5d0806f46caa3e57c00'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/clang_libcpp-5.0.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/clang_libcpp-5.0.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/clang_libcpp-5.0.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/clang_libcpp-5.0.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '0e133108ae8098f5b4f7f7d8bade54e7ff3fabf237f5abcf43129b36051d4cff',
armv7l: '0e133108ae8098f5b4f7f7d8bade54e7ff3fabf237f5abcf43129b36051d4cff',
i686: '7d05985319135a390385059ddc4ef7067398518fa8daaf6a672a68a3f5a08433',
x86_64: '3a3d97ee96bb2705e98bbac73905717e5ea257acc7ee20745f0644c7dc720eaa',
})
depends_on 'cmake' => :build
depends_on 'llvm'
def self.build
Dir.mkdir 'mybuilddir'
Dir.chdir "mybuilddir" do
system "cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release .."
system "cmake --build . -- -j#{CREW_NPROC}"
end
end
def self.install
Dir.chdir "mybuilddir" do
system "cmake -DCMAKE_INSTALL_PREFIX=#{CREW_DEST_PREFIX} -P cmake_install.cmake"
end
end
end
require 'package'
class Clang_openmp < Package
description 'The OpenMP subproject of LLVM contains the components required to build an executable OpenMP program that are outside the compiler itself.'
homepage 'https://openmp.llvm.org/'
version '5.0.1'
source_url 'https://releases.llvm.org/5.0.1/openmp-5.0.1.src.tar.xz'
source_sha256 'adb635cdd2f9f828351b1e13d892480c657fb12500e69c70e007bddf0fca2653'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/clang_openmp-5.0.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/clang_openmp-5.0.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/clang_openmp-5.0.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/clang_openmp-5.0.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'd9e49ff4e11df413cc68143cf951cd2e8261676ba8fcd8948e2947dc193a952c',
armv7l: 'd9e49ff4e11df413cc68143cf951cd2e8261676ba8fcd8948e2947dc193a952c',
i686: 'e462e46e77399edb8d59b11d45b1821ee759e59b289848014479e5fe8dfc7690',
x86_64: '367eabe360b8bf396c9c733bd7e177ea10c775b8f96d5b14be7a317bb7992f5d',
})
depends_on 'cmake' => :build
def self.build
Dir.mkdir 'mybuilddir'
Dir.chdir "mybuilddir" do
system "cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release .."
system "cmake --build . -- -j#{CREW_NPROC}"
end
end
def self.install
Dir.chdir "mybuilddir" do
system "cmake -DCMAKE_INSTALL_PREFIX=#{CREW_DEST_PREFIX} -P cmake_install.cmake"
end
end
end
require 'package'
class Clean < Package
description 'Clean is a program that searches for files identified by regular expressions and deletes them'
homepage 'https://sourceforge.net/projects/clean/'
version '3.4'
source_url 'http://downloads.sourceforge.net/project/clean/clean/3.4/clean-3.4.tar.bz2'
source_sha256 '761f3a9e1ed50747b6a62a8113fa362a7cc74d359ac6e8e30ba6b30d59115320'
def self.build
system "make"
end
def self.install
system "install -Dm755 -s clean #{CREW_DEST_PREFIX}/bin/clean"
system "install -Dm644 clean.1 #{CREW_DEST_PREFIX}/share/man/man1/clean.1"
end
end
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -3,17 +3,17 @@ require 'package'
class Cloog < Package
description 'Chunky Loop Generator which is used to perform optimization in gcc'
homepage 'https://www.cloog.org/'
version "0.18.4-cc1.3"
version '0.18.4-2'
binary_url ({
aarch64: 'https://github.com/jam7/chrome-cross/releases/download/v1.3/cloog-0.18.4-cc1.3-chromeos-armv7l.tar.xz',
armv7l: 'https://github.com/jam7/chrome-cross/releases/download/v1.3/cloog-0.18.4-cc1.3-chromeos-armv7l.tar.xz',
i686: 'https://github.com/jam7/chrome-cross/releases/download/v1.3/cloog-0.18.4-cc1.3-chromeos-i686.tar.xz',
x86_64: 'https://github.com/jam7/chrome-cross/releases/download/v1.3/cloog-0.18.4-cc1.3-chromeos-x86_64.tar.xz',
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew-cross/cloog-0.18.4-2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew-cross/cloog-0.18.4-2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew-cross/cloog-0.18.4-2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew-cross/cloog-0.18.4-2-chromeos-x86_64.tar.xz',
})
binary_sha1 ({
aarch64: 'e54784816f181c185dbd0eddc1b0c9f898db2caa',
armv7l: 'e54784816f181c185dbd0eddc1b0c9f898db2caa',
i686: '3409f9c55e187533308f4febee39651833f592ad',
x86_64: 'cb29abf230eff44903a9a727f901903cba8bd1c7',
binary_sha256 ({
aarch64: 'f79bede55ba092c133a26b03c79b71a4d9e7f46c7118308f9d182f3a2ed3f2c0',
armv7l: 'f79bede55ba092c133a26b03c79b71a4d9e7f46c7118308f9d182f3a2ed3f2c0',
i686: '7bf5c2b4eb9b0d27fe10c4da4315ffb767f22dcc0281803e1f38bfbf6cbb6c74',
x86_64: 'e5f20db359ef15b7881f0b15f25851a462fc06ccd5e17f23cfc420a6b29b79f6',
})
end
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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