Sha256: f08b28a576fd3c6435fbb9fbd2a92f4e94eed86594ba2b00976bed1a70f4c9e3

Contents?: true

Size: 1.53 KB

Versions: 8

Compression:

Stored size: 1.53 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 "libtool"
default_version "2.4"

version "2.4" do
  source md5: "b32b04148ecdd7344abc6fe8bd1bb021"
end

version "2.4.2" do
  source md5: "d2f3b7d4627e69e13514a40e72a24d50"
end

source url: "http://ftp.gnu.org/gnu/libtool/libtool-#{version}.tar.gz"

relative_path "libtool-#{version}"

build do
  env = case platform
        when "aix"
        {
            "LDFLAGS" => "-L#{install_dir}/embedded/lib -Wl,-blibpath:#{install_dir}/embedded/lib:/usr/lib:/lib",
            "CFLAGS" => "-maix64 -O -I#{install_dir}/embedded/include",
            "OBJECT_MODE" => "64",
            "CC" => "gcc -maix64",
            "CXX" => "g++ -maix64",
        }
  end
  if platform == "aix"
    command "./configure --prefix=#{install_dir}/embedded --with-gcc", :env => env
    command "make", :env => env
  else
    command "./configure --prefix=#{install_dir}/embedded"
    command "make"
  end
  command "make install"
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
omnibus-3.2.2 spec/data/complicated/config/software/libtool.rb
omnibus-3.2.1 spec/data/complicated/config/software/libtool.rb
omnibus-3.2.0 spec/data/complicated/config/software/libtool.rb
omnibus-3.2.0.rc.3 spec/data/complicated/config/software/libtool.rb
omnibus-3.2.0.rc.2 spec/data/complicated/config/software/libtool.rb
omnibus-3.2.0.rc.1 spec/data/complicated/config/software/libtool.rb
omnibus-3.1.1 spec/data/complicated/config/software/libtool.rb
omnibus-3.1.0 spec/data/complicated/config/software/libtool.rb