Commit 85f6b7e9 authored by Michał Siwek's avatar Michał Siwek

Merge pull request #137 from thedamian/master

Sqlite -> 3.10 -=*=- Node -> 4.2.4 -=*=- Node_stable (5.4.1) -=*=- JDK8 download url fix (again) -=*=- faddee's GCC fix to install.sh
parents e322254d c1164b41
...@@ -103,6 +103,9 @@ wget -N --continue --no-check-certificate $URL/packages/linuxheaders.rb ...@@ -103,6 +103,9 @@ wget -N --continue --no-check-certificate $URL/packages/linuxheaders.rb
#install git #install git
(echo y;) | crew install git (echo y;) | crew install git
#Making GCC act like CC (For some npm packages out there)
ln -s /usr/local/bin/gcc /usr/local/bin/cc
#prepare sparse checkout .rb packages directory and do it #prepare sparse checkout .rb packages directory and do it
cd $CREW_LIB_PATH cd $CREW_LIB_PATH
git init git init
......
...@@ -4,7 +4,7 @@ class Jdk8 < Package ...@@ -4,7 +4,7 @@ class Jdk8 < Package
version '8.0.25' version '8.0.25'
binary_url ({ binary_url ({
i686: "https://www.dropbox.com/s/d1omw087ilkh5oq/jdk1.8.0_25_i686.tar.gz?dl=0", i686: "https://www.dropbox.com/s/d1omw087ilkh5oq/jdk1.8.0_25_i686.tar.gz?dl=0",
x86_64: "https://www.dropbox.com/s/my0ztzdngrjbsfh/jdk1.8.0_65_x86_64.tar.gz?dl=0" x86_64: "https://www.dropbox.com/s/ykw2jt797cpghfy/jdk1.8.0_65_x86_64.tar.gz?dl=0"
}) })
binary_sha1 ({ binary_sha1 ({
i686: "2f6fabc6e7b86fa2f21d19f9617d2641c5862a30", i686: "2f6fabc6e7b86fa2f21d19f9617d2641c5862a30",
......
require 'package' require 'package'
class Nodejs < Package class Nodejs < Package
version '4.2.3' version '4.2.4'
source_url 'https://nodejs.org/dist/v4.2.3/node-v4.2.3.tar.xz' source_url 'https://nodejs.org/dist/v4.2.4/node-v4.2.4.tar.gz'
source_sha1 '95c7b2aa36fcad2cb6513ca7f1af191ec95826da' source_sha1 '3cfef84f3a80b9e8835f8bee5a8209a4af8c52f2'
depends_on 'buildessential' depends_on 'buildessential'
depends_on 'python27' depends_on 'python27'
......
require 'package'
class Node_stable < Package
version '5.4.1'
source_url 'https://nodejs.org/dist/v5.4.1/node-v5.4.1.tar.gz'
source_sha1 '8055bb2bf30a44ed5aaf4b07e69709dd09ca3ebf'
depends_on 'buildessential'
depends_on 'python27'
def self.build
system "CC='gcc' python2.7 ./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package' # include package class file require 'package' # include package class file
class Sqlite < Package # name the package and make it a Package class instance class Sqlite < Package # name the package and make it a Package class instance
version '3.8.5' # software version version '3.10' # software version
source_url 'https://www.sqlite.org/2014/sqlite-autoconf-3080500.tar.gz' # software source tarball url source_url 'http://www.sqlite.org/2016/sqlite-autoconf-3100000.tar.gz' # software source tarball url
source_sha1 '7f667e10ccebc26ab2086b8a30cb0a600ca0acae' # source tarball sha1 sum source_sha1 '7be6e6869d0d2d9fe3df71b5c65f065dd2325f58' # source tarball sha1 sum
def self.build # self.build contains commands needed to build the software from source def self.build # self.build contains commands needed to build the software from source
system "./configure" system "./configure"
system "make" # ordered chronologically system "make" # ordered chronologically
......
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