Browse code

pkg/kamailio/alpine: Added app-ruby package #1761 [skip ci]

Sergey Safarov authored on 12/12/2018 19:23:06
Showing 1 changed files
... ...
@@ -29,7 +29,7 @@ makedepends="bison db-dev flex freeradius-client-dev expat-dev lksctp-tools-dev
29 29
 	libxml2-dev curl-dev unixodbc-dev confuse-dev ncurses-dev sqlite-dev
30 30
 	lua-dev openldap-dev openssl-dev net-snmp-dev libuuid libev-dev
31 31
 	jansson-dev json-c-dev libevent-dev linux-headers libmemcached-dev
32
-	rabbitmq-c-dev hiredis-dev libmaxminddb-dev libunistring-dev"
32
+	rabbitmq-c-dev hiredis-dev libmaxminddb-dev libunistring-dev ruby-dev"
33 33
 install="$pkgname.pre-install $pkgname.pre-upgrade"
34 34
 
35 35
 # secfixes:
... ...
@@ -162,6 +162,9 @@ _mod_list_perl="app_perl db_perlvdb"
162 162
 # - modules depending on python library
163 163
 _mod_list_python="app_python"
164 164
 
165
+# - modules depending on ruby library
166
+_mod_list_ruby="app_ruby"
167
+
165 168
 # - modules depending on rabbitmq
166 169
 _mod_list_rabbitmq="rabbitmq"
167 170
 
... ...
@@ -243,7 +246,7 @@ for _i in db postgres sqlite dbtext mysql \
243 246
 	ldap utils tls presence lua ims outbound debugger \
244 247
 	extras json websocket authephemeral \
245 248
 	uuid ev memcached redis geoip2 jansson sqlang sipdump \
246
-	jsdt http_async kazoo rabbitmq sctp radius perl python; do
249
+	jsdt http_async kazoo rabbitmq sctp radius perl python ruby; do
247 250
 
248 251
    subpackages="$subpackages $pkgname-$_i"
249 252
    eval "_modules=\"\$_modules \$_mod_list_$_i\""
... ...
@@ -533,6 +536,11 @@ python() {
533 536
 		"$_mod_list_python"
534 537
 }
535 538
 
539
+ruby() {
540
+	_generic_pkg "Ruby extensions for Kamailio" \
541
+		"$_mod_list_ruby"
542
+}
543
+
536 544
 sqlang() {
537 545
 	_generic_pkg "Squirrel Language (SQLang) for Kamailio" \
538 546
 		"$_mod_list_sqlang"