Commit accf3b39a32575dc9ef126d444b3b25c54148e4f
1 parent
1ed69564
Exists in
master
and in
17 other branches
Add git software definition
Showing
2 changed files
with
34 additions
and
0 deletions
Show diff stats
config/projects/gitlab.rb
... | ... | @@ -0,0 +1,33 @@ |
1 | +name "git" | |
2 | +version "1.0.0" | |
3 | + | |
4 | +dependency "zlib" | |
5 | +dependency "openssl" | |
6 | +dependency "curl" | |
7 | + | |
8 | +source :url => "https://git-core.googlecode.com/files/git-1.8.5.3.tar.gz", | |
9 | + :md5 => "57b966065882f83ef5879620a1e329ca" | |
10 | + | |
11 | +relative_path 'git-1.8.5.3' | |
12 | + | |
13 | +env = { | |
14 | + "LDFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", | |
15 | + "CFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", | |
16 | + "LD_RUN_PATH" => "#{install_dir}/embedded/lib", | |
17 | + "NO_PERL" => "1", | |
18 | + "NO_EXPAT" => "1", | |
19 | + "NO_TCLTK" => "1", | |
20 | + "NO_GETTEXT" => "1", | |
21 | + "NO_PYTHON" => "1" | |
22 | +} | |
23 | + | |
24 | +build do | |
25 | + command ["./configure", | |
26 | + "--prefix=#{install_dir}/embedded", | |
27 | + "--with-curl=#{install_dir}/embedded", | |
28 | + "--with-ssl=#{install_dir}/embedded", | |
29 | + "--with-zlib=#{install_dir}/embedded"].join(" "), :env => env | |
30 | + | |
31 | + command "make -j #{max_build_jobs}", :env => env | |
32 | + command "make install" | |
33 | +end | ... | ... |