Sha256: 9ab99633a7a18dc2bf188995ecdab67d58a2949450c9c777766e3498096df40b

Contents?: true

Size: 1.55 KB

Versions: 25

Compression:

Stored size: 1.55 KB

Contents

#
# Copyright 2012-2014 Chef Software, Inc.
#
# 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"

license "GPL-2.0"
license_file "COPYING"

# NOTE: 2.4.6 2.4.2 do not compile on solaris2 yet
version("2.4.6") { source md5: "addf44b646ddb4e3919805aa88fa7c5e" }
version("2.4.2") { source md5: "d2f3b7d4627e69e13514a40e72a24d50" }
version("2.4")   { source md5: "b32b04148ecdd7344abc6fe8bd1bb021" }

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

relative_path "libtool-#{version}"

dependency "config_guess"

build do
  env = with_standard_compiler_flags(with_embedded_path)

  # AIX's old version of patch doesn't like the config.guess patch here
  unless aix?
    # Update config.guess to support newer platforms (like aarch64)
    if version == "2.4"
      update_config_guess
      update_config_guess(target: "libltdl/config")
    end
  end

  if aix?
    env["M4"] = "/opt/freeware/bin/m4"
  end

  command "./configure" \
          " --prefix=#{install_dir}/embedded", env: env

  make env: env
  make "install", env: env
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
clusterlb-0.1.32 omnibus/config/software/libtool.rb
clusterlb-0.1.31 omnibus/config/software/libtool.rb
clusterlb-0.1.30 omnibus/config/software/libtool.rb
clusterlb-0.1.29 omnibus/config/software/libtool.rb
clusterlb-0.1.28 omnibus/config/software/libtool.rb
clusterlb-0.1.27 omnibus/config/software/libtool.rb
clusterlb-0.1.26 omnibus/config/software/libtool.rb
clusterlb-0.1.25 omnibus/config/software/libtool.rb
clusterlb-0.1.24 omnibus/config/software/libtool.rb
clusterlb-0.1.23 omnibus/config/software/libtool.rb
clusterlb-0.1.22 omnibus/config/software/libtool.rb
clusterlb-0.1.21 omnibus/config/software/libtool.rb
clusterlb-0.1.20 omnibus/config/software/libtool.rb
clusterlb-0.1.19 omnibus/config/software/libtool.rb
clusterlb-0.1.17 omnibus/config/software/libtool.rb
clusterlb-0.1.16 omnibus/config/software/libtool.rb
clusterlb-0.1.15 omnibus/config/software/libtool.rb
clusterlb-0.1.14 omnibus/config/software/libtool.rb
clusterlb-0.1.13 omnibus/config/software/libtool.rb
clusterlb-0.1.12 omnibus/config/software/libtool.rb