Merge pull request #831 in FS/freeswitch from ~SSINYAGIN/freeswitch:bugfix/FS-5936-esl.pm-not-included-in-debian-packages to master

* commit '135d13a0a106e883e493a610d4e0c49bc5ccc352':
  FS-5936 ESL.pm packaged for Debian
This commit is contained in:
William King 2016-05-02 17:48:33 -05:00
commit 3c99e139a0
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: