Created
February 14, 2014 19:28
-
-
Save nmilford/9007459 to your computer and use it in GitHub Desktop.
Omnibus Software Def for git.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name "git" | |
| version "1.8.5.5" | |
| dependency "perl-extutils-makemaker" | |
| dependency "perl-extutils-cbuilder" | |
| dependency "openssl" | |
| dependency "zlib" | |
| source :url => "https://codeload.github.com/git/git/tar.gz/v#{version}", | |
| :md5 => "6fc7e806e30c0d429414ed23bfb9c18d" | |
| relative_path "#{name}-#{version}" | |
| prefix="#{install_dir}/embedded" | |
| libdir="#{prefix}/lib" | |
| env = { | |
| "LDFLAGS" => "-L#{libdir} -I#{prefix}/include", | |
| "CFLAGS" => "-L#{libdir} -I#{prefix}/include -fPIC", | |
| "LD_RUN_PATH" => libdir | |
| } | |
| build do | |
| configure_command = ["./configure", | |
| "--prefix=#{install_dir}/embedded"] | |
| # "--with-zlib=/opt/ronin/embedded/lib/", | |
| # "--with-openssl=/opt/ronin/embedded/lib/"] | |
| make_binary = 'make' | |
| command "tar zxvf v#{version} -C .." | |
| command "#{make_binary} configure" | |
| command configure_command.join(" ") | |
| command "#{make_binary} -j #{max_build_jobs}", :env => env | |
| command "#{make_binary} -j #{max_build_jobs} install", :env => env | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name "perl-extutils-cbuilder" | |
| version "0.280212" | |
| dependency "perl" | |
| source :url => "http://www.cpan.org/authors/id/A/AM/AMBS/ExtUtils/ExtUtils-CBuilder-#{version}.tar.gz", | |
| :md5 => "ad16f5a5fa2bee90a00b6494b00eb2d9" | |
| relative_path "ExtUtils-CBuilder-#{version}" | |
| build do | |
| command "#{install_dir}/embedded/bin/perl Makefile.PL INSTALL_BASE=#{install_dir}/embedded" | |
| command "make" | |
| command "make install" | |
| end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment