From 451c86af3a1cdebae0f386b23e6b63f7a565eda6 Mon Sep 17 00:00:00 2001 From: ewilly Date: Sun, 29 Jan 2023 20:52:46 +0100 Subject: [PATCH] Remove libffi compilation --- scripts/_common.sh | 19 ------------------- scripts/install | 3 --- scripts/upgrade | 3 --- 3 files changed, 25 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index bab540e..fe33e7f 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -41,25 +41,6 @@ myynh_create_dir () { [ -d "$1" ] || mkdir -p "$1" } -myynh_compile_libffi () { - ynh_print_info --message="Building libffi..." - - # Download - wget "https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz" 2>&1 - - # Extract - tar zxf libffi-3.3.tar.gz - - # Install - cd libffi-3.3 - ynh_exec_warn_less ./configure - ynh_exec_warn_less make install - ldconfig - - #Exit - cd .. -} - # Install specific python version # usage: myynh_install_python --python="3.8.6" # | arg: -p, --python= - the python version to install diff --git a/scripts/install b/scripts/install index 5542350..368b2bf 100644 --- a/scripts/install +++ b/scripts/install @@ -79,9 +79,6 @@ ynh_script_progression --message="Installing dependencies..." ynh_install_app_dependencies $pkg_dependencies -# Install libffi-3.3 if libffi.so.7 is missing (buster) -[[ $(ldconfig -p | grep libffi.so.7) ]] || myynh_compile_libffi - myynh_install_python --python="$py_required_version" #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 83c9c45..89ee4b2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -95,9 +95,6 @@ ynh_script_progression --message="Upgrading dependencies..." ynh_install_app_dependencies $pkg_dependencies -# Install libffi-3.3 if libffi.so.7 is missing (buster) -[[ $(ldconfig -p | grep libffi.so.7) ]] || myynh_compile_libffi - #================================================= # UPDATE A CONFIG FILE #=================================================