-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[macOS] Pin version for tcl/tk and pkg-config
- Loading branch information
1 parent
c8606f6
commit 271fd23
Showing
1 changed file
with
3 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,15 +7,9 @@ | |
source ~/utils/utils.sh | ||
|
||
echo "Installing pkg-config..." | ||
pkg_config_tar=$(download_with_retry "https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz") | ||
pkg_config_sha256="6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591" | ||
use_checksum_comparison $pkg_config_tar $pkg_config_sha256 | ||
# Extract the tarball and get the directory name | ||
tar -xzf "$pkg_config_tar" | ||
pkg_config=$(tar -tf "$pkg_config_tar" | head -1 | cut -f1 -d"/") | ||
install "$pkg_config" /usr/local/bin/pkg-config | ||
|
||
# Create a symlink to /usr/local/bin | ||
ln -sf $(which pkg-config) /usr/local/bin/pkg-config | ||
brew tap-new my-org/old-formulas | ||
brew extract pkg-config my-org/old-formulas --version=0.29.2 | ||
brew install my-org/old-formulas/[email protected] | ||
|
||
invoke_tests "Common" "pkg-config" |