summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBradley Sepos <[email protected]>2018-06-01 17:08:13 -0400
committerBradley Sepos <[email protected]>2018-06-17 00:23:34 -0400
commitca57c61aab7e10aa809ec84d3076a07c63bcb410 (patch)
tree3ca055d3582765b071517530feaad40e675c6890 /scripts
parente910330e6a022f8267b61be940fc03a01fee2109 (diff)
contrib: gtk: libhb: make: scripts: Remove yasm contrib.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mac-toolchain-build16
1 files changed, 1 insertions, 15 deletions
diff --git a/scripts/mac-toolchain-build b/scripts/mac-toolchain-build
index c1f4ec995..56120629c 100755
--- a/scripts/mac-toolchain-build
+++ b/scripts/mac-toolchain-build
@@ -34,7 +34,7 @@ function mac_toolchain_build {
MAKEJOBS="4"
fi
SUDO=
- TOTAL=7
+ TOTAL=6
# functions
function print_fail_and_exit {
@@ -89,9 +89,6 @@ function mac_toolchain_build {
printf "Downloading [%02i/%02i] %s " "6" "${TOTAL}" "nasm 2.13.02"
curl -Lf --connect-timeout 30 https://www.nasm.us/pub/nasm/releasebuilds/2.13.02/nasm-2.13.02.tar.bz2 -o "nasm-2.13.02.tar.bz2" >/dev/null 2>&1 || print_fail_and_exit
echo -en "${CREL}"
- printf "Downloading [%02i/%02i] %s " "7" "${TOTAL}" "yasm 1.3.0"
- curl -Lf --connect-timeout 30 https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz -o "yasm-1.3.0.tar.gz" >/dev/null 2>&1 || print_fail_and_exit
- echo -en "${CREL}"
printf "Downloading [%02i/%02i] complete.\n" "${TOTAL}" "${TOTAL}"
# autoconf
@@ -160,17 +157,6 @@ function mac_toolchain_build {
${SUDO} make install >>../nasm-2.13.02.log 2>&1 || print_fail_and_exit
echo -en "${CREL}"
- # yasm
- cd "${TEMP_DIR}"
- printf "Building [%02i/%02i] %s " "7" "${TOTAL}" "yasm 1.3.0"
- [[ "${SUDO}" != "" ]] && ${SUDO} -v
- tar -xf yasm-1.3.0.tar.gz >/dev/null 2>&1 || print_fail_and_exit
- cd yasm-1.3.0 >/dev/null 2>&1 || print_fail_and_exit
- ./configure --prefix="${PREFIX}" >../yasm-1.3.0.log 2>&1 || print_fail_and_exit
- make --jobs="${MAKEJOBS}" >>../yasm-1.3.0.log 2>&1 || print_fail_and_exit
- ${SUDO} make install >>../yasm-1.3.0.log 2>&1 || print_fail_and_exit
- echo -en "${CREL}"
-
# done
printf "Building [%02i/%02i] complete.\n" "${TOTAL}" "${TOTAL}"
rm -rf "${TEMP_DIR}"