Commit 2404635f authored by system_user's avatar system_user

Python to 2.7.12 with openssl support & readline to 6.3 to fix the undefined...

Python to 2.7.12 with openssl support & readline to 6.3 to fix the undefined symbol: rl_signal_event_hook problem
parent f91ff8de
require 'package' require 'package'
class Python27 < Package class Python27 < Package
version '2.7.10' version '2.7.12'
source_url 'https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz' # software source tarball url source_url 'https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tar.xz' # software source tarball url
source_sha1 '49089f1f6ab445dc8ace97beeb276095c4c8039b' # source tarball sha1 sum source_sha1 '05360b8ade117b35e266b2004a7f1f11250c6dcd' # source tarball sha1 sum
depends_on 'bz2' depends_on 'bz2'
depends_on 'ncurses' depends_on 'ncurses'
depends_on 'openssl_devel'
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 --prefix=/usr/local CPPFLAGS=\"-I/usr/local/include -I/usr/local/include/ncurses\" LDFLAGS=\"-L/usr/local/lib\" CFLAGS=\" -fPIC\"" system "./configure --prefix=/usr/local CPPFLAGS=\"-I/usr/local/include -I/usr/local/include/ncurses\" LDFLAGS=\"-L/usr/local/lib\" CFLAGS=\" -fPIC\""
......
require 'package' require 'package'
class Readline < Package class Readline < Package
version '6.2' version '6.3'
source_url 'http://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz'
source_sha1 '017b92dc7fd4e636a2b5c9265a77ccc05798c9e1'
binary_url({ depends_on 'buildessential'
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 def self.build
system "./configure" system "CC='gcc' ./configure"
system "make" system "make"
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