diff --git a/conf/armv7_buster.src b/conf/armv7_buster.src new file mode 100644 index 0000000..d41dcf9 --- /dev/null +++ b/conf/armv7_buster.src @@ -0,0 +1,11 @@ +SOURCE_URL=https://github.com/Josue-T/pgadmin_python_build/releases/download/v4-4.22/pgadmin_4-4.22-buster-bin1_armv7l.tar.gz +SOURCE_SUM=f996452df4925001a855270a125870f20afe4df68772936db8ea21604fc2c324 +# (Optional) Program to check the integrity (sha256sum, md5sum...) +# default: sha256 +SOURCE_SUM_PRG=sha256sum +# (Optional) Archive format +# default: tar.gz +SOURCE_FORMAT=tar.gz +# (Optional) Put false if sources are directly in the archive root +# default: true +SOURCE_IN_SUBDIR=true diff --git a/scripts/_common.sh b/scripts/_common.sh index 72668dd..1c90902 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -33,7 +33,7 @@ install_source() { ynh_secure_remove --file=$final_path/lib ynh_secure_remove --file=$final_path/include ynh_secure_remove --file=$final_path/share - ynh_setup_source --dest_dir $final_path/ --source_id "armv7_stretch" + ynh_setup_source --dest_dir $final_path/ --source_id "armv7_$(lsb_release --codename --short)" else # Install virtualenv if it don't exist test -e $final_path/bin/python3 || python3 -m venv $final_path