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
76386a17
Commit
76386a17
authored
Jul 29, 2016
by
system_user
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
had deleted python27 by mistake
parent
cc76ab55
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
packages/python27.rb
packages/python27.rb
+19
-0
No files found.
packages/python27.rb
0 → 100644
View file @
76386a17
require
'package'
class
Python27
<
Package
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'
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
"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
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