mirror of
https://github.com/YunoHost-Apps/prosody_ynh.git
synced 2024-09-03 20:15:57 +02:00
commit
3227473db3
6 changed files with 12 additions and 6 deletions
|
@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
Prosody is a modern XMPP communication server. It aims to be easy to set up and configure, and efficient with system resources. Additionally, for developers it aims to be easy to extend and give a flexible system on which to rapidly develop added functionality, or prototype new protocols.
|
||||
|
||||
|
||||
**Shipped version:** 0.12.3~ynh1
|
||||
**Shipped version:** 0.12.3~ynh2
|
||||
## Disclaimers / important information
|
||||
|
||||
* Prosody will not replace the XMPP service Metronome integrated in YunoHost, it has been implemented for some specific apps that require Prosody
|
||||
|
|
|
@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
|||
Prosody is a modern XMPP communication server. It aims to be easy to set up and configure, and efficient with system resources. Additionally, for developers it aims to be easy to extend and give a flexible system on which to rapidly develop added functionality, or prototype new protocols.
|
||||
|
||||
|
||||
**Version incluse :** 0.12.3~ynh1
|
||||
**Version incluse :** 0.12.3~ynh2
|
||||
## Avertissements / informations importantes
|
||||
|
||||
* Prosody will not replace the XMPP service Metronome integrated in YunoHost, it has been implemented for some specific apps that require Prosody
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"description": {
|
||||
"en": "a modern XMPP communication server"
|
||||
},
|
||||
"version": "0.12.3~ynh1",
|
||||
"version": "0.12.3~ynh2",
|
||||
"url": "https://prosody.im/",
|
||||
"upstream": {
|
||||
"license": "MIT",
|
||||
|
|
|
@ -4,8 +4,14 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
if [[ $(lsb_release --codename --short) == "bookworm" ]]; then
|
||||
luaversion="5.4"
|
||||
else
|
||||
luaversion="5.2"
|
||||
fi
|
||||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="gawk icu-devtools libicu-dev libidn11-dev|libidn-dev liblua5.4-dev libncurses-dev libpkgconf3 libreadline-dev libsigsegv2 libssl-dev libyaml-dev lua-busted lua-cliargs lua-dkjson lua-expat lua-inifile lua-luassert lua-mediator lua-penlight lua-say lua-system lua-term lua-yaml lua5.4 pkg-config|pkgconf-bin txt2man"
|
||||
pkg_dependencies="libicu-dev libidn11-dev|libidn-dev liblua${luaversion}-dev libssl-dev lua-busted lua${luaversion} lua${luaversion}-expat lua${luaversion}-socket openssl txt2man lua${luaversion}-sec lua${luaversion}-unbound"
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -103,7 +103,7 @@ ynh_setup_source --dest_dir="$builddir"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Building Prosody..."
|
||||
|
||||
update-alternatives --set lua-interpreter /usr/bin/lua5.4
|
||||
update-alternatives --set lua-interpreter /usr/bin/lua${luaversion}
|
||||
|
||||
pushd "$builddir"
|
||||
./configure --prefix=/usr
|
||||
|
|
|
@ -103,7 +103,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
|||
then
|
||||
ynh_script_progression --message="Building Prosody..."
|
||||
|
||||
update-alternatives --set lua-interpreter /usr/bin/lua5.4
|
||||
update-alternatives --set lua-interpreter /usr/bin/lua${luaversion}
|
||||
|
||||
pushd "$builddir"
|
||||
./configure --prefix=/usr
|
||||
|
|
Loading…
Add table
Reference in a new issue