Files
chromebrew/packages/python34.rb
Fred Clift a092feab70 openssl-devel - dev headers to match system install
An openssl-devel package that has just the headers so that
sofware can build and link against the chromeos supplied openssl.
This would make it ok to add openssl back as a dependency for libevent
and it makes the python-from-source recipies like with openssl right
so you can install and use pip.
2016-06-02 15:17:49 -06:00

19 lines
894 B
Ruby

require 'package'
class Python34 < Package
version '3.4.1'
source_url 'https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz' # software source tarball url
source_sha1 'e8c1bd575a6ccc2a75f79d9d094a6a29d3802f5d' # source tarball sha1 sum
depends_on 'openssl-devel'
def self.build # self.build contains commands needed to build the software from source
system "./configure"
system "make" # ordered chronologically
end
def self.install # self.install contains commands needed to install the software on the target system
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system
end
end