diff --git a/debian/bootstrap.sh b/debian/bootstrap.sh index 2506fae85a..ec461cd253 100755 --- a/debian/bootstrap.sh +++ b/debian/bootstrap.sh @@ -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 diff --git a/debian/libesl-perl.install b/debian/libesl-perl.install new file mode 100644 index 0000000000..bd9a871e7c --- /dev/null +++ b/debian/libesl-perl.install @@ -0,0 +1,2 @@ +usr/lib/*/perl/5.*/ESL.* +usr/lib/*/perl/5.*/ESL/*.* diff --git a/debian/rules b/debian/rules index 872b1724e1..f890165553 100755 --- a/debian/rules +++ b/debian/rules @@ -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: