FS-5936 ESL.pm packaged for Debian

This commit is contained in:
Stanislav Sinyagin 2016-05-03 00:39:46 +02:00
parent 8e112294bf
commit 135d13a0a1
3 changed files with 15 additions and 2 deletions

13
debian/bootstrap.sh vendored
View File

@ -361,11 +361,20 @@ Description: Cross-Platform Scalable Multi-Protocol Soft Switch
Package: python-esl
Section: python
Architecture: any
Depends: \${shlibs:Depends}, \${misc:Depends}, \${python:Depends}
Depends: \${shlibs:Depends}, \${misc:Depends}, \${python:Depends}, freeswitch-mod-esl (= \${binary:Version})
Description: Cross-Platform Scalable Multi-Protocol Soft Switch
$(debian_wrap "${fs_description}")
.
This package contains the FreeSWITCH core library.
This package contains the Python binding for FreeSWITCH Event Socket Library (ESL).
Package: libesl-perl
Section: perl
Architecture: any
Depends: \${shlibs:Depends}, \${misc:Depends}, \${perl:Depends}, freeswitch-mod-esl (= \${binary:Version})
Description: Cross-Platform Scalable Multi-Protocol Soft Switch
$(debian_wrap "${fs_description}")
.
This package contains the Perl binding for FreeSWITCH Event Socket Library (ESL).
Package: freeswitch-meta-bare
Architecture: any

2
debian/libesl-perl.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/lib/*/perl/5.*/ESL.*
usr/lib/*/perl/5.*/ESL/*.*

2
debian/rules vendored
View File

@ -85,6 +85,7 @@ override_dh_auto_configure: .stamp-configure
@$(call show_vars)
make -j$(NJOBS)
make -C libs/esl pymod
make -C libs/esl perlmod
touch $@
override_dh_auto_build: .stamp-build
@ -98,6 +99,7 @@ override_dh_strip:
override_dh_auto_install:
dh_auto_install
dh_auto_install -- -C libs/esl pymod-install
dh_auto_install -- -C libs/esl perlmod-install
rm -f debian/tmp/usr/share/freeswitch/grammar/model/communicator/COPYING
override_dh_installinit: