Sha256: 3e766a845c4b1ebb45b1bdd01636d8fb03b389e481e31d4f759423934504ddf5
Contents?: true
Size: 1.58 KB
Versions: 7
Compression:
Stored size: 1.58 KB
Contents
# # Copyright:: Copyright (c) 2012-2014 Chef Software, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # name "rsync" default_version "3.0.9" dependency "popt" source :url => "http://rsync.samba.org/ftp/rsync/src/rsync-3.0.9.tar.gz", :md5 => "5ee72266fe2c1822333c407e1761b92b" relative_path "rsync-3.0.9" env = case platform when "solaris2" { "LDFLAGS" => "-R #{install_dir}/embedded/lib -L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", "CFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include -static-libgcc", "LD_RUN_PATH" => "#{install_dir}/embedded/lib" } else { "LDFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", "CFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", "LD_RUN_PATH" => "#{install_dir}/embedded/lib" } end build do command "./configure --prefix=#{install_dir}/embedded --disable-iconv", :env => env command "make -j #{max_build_jobs}", :env => env command "make install" end
Version data entries
7 entries across 7 versions & 1 rubygems