Sha256: 105f557975bdff778b717e5a1faff8bd92eb2e4d247ecc05c726a61911b02fad

Contents?: true

Size: 1.34 KB

Versions: 6

Compression:

Stored size: 1.34 KB

Contents

#
# Copyright 2015 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.
#
# expeditor/ignore: deprecated 2021-04

name "figlet"
default_version "2.2.5"

version("2.2.5") { source md5: "eaaeb356007755c9770a842aefd8ed5f" }

source url: "https://github.com/cmatsuoka/figlet/archive/#{version}.tar.gz"

relative_path "figlet-#{version}"

build do
  env = with_standard_compiler_flags(with_embedded_path)
  env["DEFAULTFONTDIR"] = "#{install_dir}/share/figlet/fonts"
  env["prefix"] = "#{install_dir}/embedded"

  if aix?
    # give us /opt/freeware/bin/patch
    env["PATH"] = "/opt/freeware/bin:#{env["PATH"]}"
    env["CC"] = "cc_r -q64"
    env["LD"] = "cc_r -q64"
    patch source: "aix-figlet-cdefs.patch", plevel: 0, env: env
  end

  mkdir "#{install_dir}/share/figlet/fonts"

  make "-j #{workers}", env: env
  make "install -j #{workers}", env: env
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
omnibus-software-23.7.295 config/software/figlet.rb
omnibus-software-23.6.292 config/software/figlet.rb
omnibus-software-23.6.291 config/software/figlet.rb
omnibus-software-23.2.283 config/software/figlet.rb
omnibus-software-23.2.281 config/software/figlet.rb
omnibus-software-22.11.239 config/software/figlet.rb