Commit 52c15600 authored by Jake Waksbaum's avatar Jake Waksbaum

python27 with bz2, _curses, and _curses_panel modules

parent 71e2c2f3
require 'package'
class Bz2 < Package
version '1.4.17'
source_url 'http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz'
source_sha1 '3f89f861209ce81a6bab1fd1998c0ef311712002'
def self.build
system "make -f Makefile-libbz2_so"
end
def self.install
system "make", "PREFIX=#{CREW_DEST_DIR}/usr/local", "install"
end
end
......@@ -5,8 +5,11 @@ class Python27 < Package
source_url 'https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz' # software source tarball url
source_sha1 '511960dd78451a06c9df76509635aeec05b2051a' # source tarball sha1 sum
depends_on 'bz2'
depends_ on 'ncurses'
def self.build # self.build contains commands needed to build the software from source
system "./configure"
system "./configure --prefix=/usr/local CPPFLAGS=\"-I/usr/local/include -I/usr/local/include/ncurses\" LDFLAGS=\"-L/usr/local/lib\" CFLAGS=\" -fPIC\""
system "make" # ordered chronologically
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