Sha256: c1b2739bc3ea62a3e4f2f269d45f449e18d99c54a0dd371b72cfd7bbc352019e
Contents?: true
Size: 1.91 KB
Versions: 1
Compression:
Stored size: 1.91 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 "libiconv" default_version "1.14" dependency "libgcc" source :url => "http://ftp.gnu.org/pub/gnu/libiconv/libiconv-#{version}.tar.gz", :md5 => 'e34509b1623cec449dfeb73d7ce9c6c6' relative_path "libiconv-#{version}" env = case platform when "aix" { "CC" => "xlc -q64", "CXX" => "xlC -q64", "LDFLAGS" => "-q64 -Wl,-blibpath:/usr/lib:/lib", "CFLAGS" => "-O -q64 -I#{install_dir}/embedded/include", "CXXFLAGS" => "-O -q64 -I#{install_dir}/embedded/include", "LD" => "ld -b64", "OBJECT_MODE" => "64", "ARFLAGS" => "-X64 cru " } else { "CFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", "LD_RUN_PATH" => "#{install_dir}/embedded/lib" } end if platform == "solaris2" env.merge!({"LDFLAGS" => "-R#{install_dir}/embedded/lib -L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include -static-libgcc", "LD_OPTIONS" => "-R#{install_dir}/embedded/lib"}) end build do command "./configure --prefix=#{install_dir}/embedded", :env => env command "make -j #{workers}", :env => env command "make -j #{workers} install-lib libdir=#{install_dir}/embedded/lib includedir=#{install_dir}/embedded/include", :env => env end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
omnibus-3.2.2 | spec/data/complicated/config/software/libiconv.rb |