From 461c8b6aee6a2e943116d0716c6c7fa597dbb905 Mon Sep 17 00:00:00 2001 From: EricFromCanada Date: Tue, 5 Nov 2019 16:39:41 -0500 Subject: [PATCH] yacas 1.8.0 Closes #46351. Signed-off-by: FX Coudert --- Formula/yacas.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Formula/yacas.rb b/Formula/yacas.rb index 1506232f8c..b7a3ec07ee 100644 --- a/Formula/yacas.rb +++ b/Formula/yacas.rb @@ -1,8 +1,8 @@ class Yacas < Formula desc "General purpose computer algebra system" homepage "https://www.yacas.org/" - url "https://github.com/grzegorzmazur/yacas/archive/v1.6.1.tar.gz" - sha256 "6b94394f705bed70a9d104967073efd6c23e9eb1a832805c4d805ef875555ae5" + url "https://github.com/grzegorzmazur/yacas/archive/v1.8.0.tar.gz" + sha256 "25ebdafaec032eb4f39a12d87afc6cf9bf63ab952479a4839a71df92da5a981b" bottle do cellar :any @@ -19,11 +19,13 @@ class Yacas < Formula mkdir "build" do system "cmake", "..", "-G", "Xcode", "-DENABLE_CYACAS_GUI=OFF", "-DENABLE_CYACAS_KERNEL=OFF", *std_cmake_args - xcodebuild "-target", "ALL_BUILD", "-project", "YACAS.xcodeproj", + ln_s "../libyacas/Release", "cyacas/libyacas_mp/Release" + xcodebuild "-project", "yacas.xcodeproj", "-scheme", "ALL_BUILD", "-configuration", "Release", "SYMROOT=build/cyacas/libyacas" end bin.install "build/cyacas/libyacas/Release/yacas" - lib.install Dir["build/cyacas/libyacas/Release/{libyacas.a,yacas.framework}"] + lib.install "build/cyacas/libyacas/Release/libyacas.a", + "build/cyacas/libyacas/Release/libyacas_mp.a" pkgshare.install "scripts" end