Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
52c15600
Commit
52c15600
authored
Nov 17, 2014
by
Jake Waksbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python27 with bz2, _curses, and _curses_panel modules
parent
71e2c2f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
packages/bz2.rb
packages/bz2.rb
+15
-0
packages/python27.rb
packages/python27.rb
+4
-1
No files found.
packages/bz2.rb
0 → 100644
View file @
52c15600
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
packages/python27.rb
View file @
52c15600
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment