Commit 58279643 authored by system_user's avatar system_user

New branch wit just node updates

parent 2404635f
require 'package'
class Libtool < Package
version '2.4.6'
source_url 'http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz'
source_sha1 '25b6931265230a06f0fc2146df64c04e5ae6ec33'
depends_on 'buildessential'
def self.build
system "./configure" #--libdir=/usr/local/lib#{SHORTARCH}/ CC=\"gcc -m#{SHORTARCH}\" CFLAGS=\" -fPIC\""
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Python27 < Package
version '2.7.12'
source_url 'https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tar.xz' # software source tarball url
source_sha1 '05360b8ade117b35e266b2004a7f1f11250c6dcd' # source tarball sha1 sum
version '2.7.10'
source_url 'https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz' # software source tarball url
source_sha1 '49089f1f6ab445dc8ace97beeb276095c4c8039b' # source tarball sha1 sum
depends_on 'bz2'
depends_on 'ncurses'
depends_on 'openssl_devel'
def self.build # self.build contains commands needed to build the software from source
system "./configure --prefix=/usr/local CPPFLAGS=\"-I/usr/local/include -I/usr/local/include/ncurses\" LDFLAGS=\"-L/usr/local/lib\" CFLAGS=\" -fPIC\""
......
require 'package'
class Readline < Package
version '6.3'
source_url 'http://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz'
source_sha1 '017b92dc7fd4e636a2b5c9265a77ccc05798c9e1'
version '6.2'
depends_on 'buildessential'
binary_url({
x86_64: "https://dl.dropboxusercontent.com/s/v8xva6e4u3tvkaw/readline-6.2-chromeos-x86_64.tar.gz?token_hash=AAHOv1kLiv7xzDkYEZCSB_3ShK0n_7B4m2dNGHPnn2fZIg&dl=1"
})
binary_sha1({
x86_64: '621c2538b452be33cca507110ccfd4144c61edd2'
})
depends_on 'buildessential' #until binary for i686 provided
def self.build
system "CC='gcc' ./configure"
system "./configure"
system "make"
end
......
require 'package'
class Unzip < Package
version '6.0'
source_url 'http://pkgs.fedoraproject.org/repo/pkgs/unzip/unzip60.tar.gz/62b490407489521db863b523a7f86375/unzip60.tar.gz'
source_sha1 'abf7de8a4018a983590ed6f5cbd990d4740f8a22'
depends_on 'buildessential'
def self.build
system "make -f unix/Makefile generic"
end
def self.install
system "make prefix=/usr/local MANDIR=/usr/local/tmp/unzip-man -f unix/Makefile install"
#remove the man pages we couldn't install
system "rm -r -f /usr/local/tmp/unzipman"
end
end
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