Sha256: 9256b5b7a26ef05c60528d9e67715cd7d5d2328d7fc25e9bc552e84421579500

Contents?: true

Size: 1.49 KB

Versions: 1

Compression:

Stored size: 1.49 KB

Contents

#
# Copyright 2014-2019 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 2022-12

name "mpc"
default_version "1.3.1"

dependency "gmp"
dependency "mpfr"

license "LGPL-3.0-or-later"
license_file "COPYING.LESSER"

# version_list: url=https://ftp.gnu.org/gnu/mpc/ filter=*.tar.gz

version("1.3.1") { source sha256: "ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8" }
version("1.2.1") { source sha256: "17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459" }
version("1.1.0") { source sha256: "6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e" }

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

relative_path "mpc-#{version}"

build do
  env = with_standard_compiler_flags(with_embedded_path)

  configure_command = ["./configure",
                       "--prefix=#{install_dir}/embedded"]

  command configure_command.join(" "), env: env
  make "-j #{workers}", env: env
  make "-j #{workers} install", env: env
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omnibus-software-23.2.281 config/software/mpc.rb