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
0ecc80ff
Commit
0ecc80ff
authored
Aug 02, 2014
by
Michał Siwek
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'appelgriebsch-python34'
parents
25f83d89
1ca1ed4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
crew
crew
+4
-0
packages/python34.rb
packages/python34.rb
+16
-0
No files found.
crew
View file @
0ecc80ff
...
...
@@ -34,6 +34,10 @@ end
def
list_packages
Find
.
find
(
CREW_LIB_PATH
+
'packages'
)
do
|
filename
|
Find
.
find
(
CREW_CONFIG_PATH
+
'meta/'
)
do
|
packageList
|
packageName
=
File
.
basename
filename
,
'.rb'
print
'(i) '
if
packageList
==
CREW_CONFIG_PATH
+
'meta/'
+
packageName
+
'.filelist'
end
puts
File
.
basename
filename
,
'.rb'
if
File
.
extname
(
filename
)
==
'.rb'
end
end
...
...
packages/python34.rb
0 → 100644
View file @
0ecc80ff
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
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
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