FS-6972 Packaging a version of the python ESL wrapper for python.

This commit is contained in:
Federico Castro 2015-08-21 10:27:59 -03:00
parent d262f07d0f
commit e5d247df29
3 changed files with 14 additions and 1 deletions

11
debian/bootstrap.sh vendored
View File

@ -306,7 +306,7 @@ Build-Depends:
# configure options # configure options
libssl-dev, unixodbc-dev, libpq-dev, libssl-dev, unixodbc-dev, libpq-dev,
libncurses5-dev, libjpeg62-turbo-dev | libjpeg62-dev | libjpeg8-dev, libncurses5-dev, libjpeg62-turbo-dev | libjpeg62-dev | libjpeg8-dev,
python-dev, erlang-dev, python-dev, python-all-dev, python-support (>= 0.90), erlang-dev,
# documentation # documentation
doxygen, doxygen,
# for APR (not essential for build) # for APR (not essential for build)
@ -366,6 +366,15 @@ Description: Cross-Platform Scalable Multi-Protocol Soft Switch
. .
This package contains the FreeSWITCH core library. This package contains the FreeSWITCH core library.
Package: python-esl
Section: python
Architecture: any
Depends: \${shlibs:Depends}, \${misc:Depends}, \${python:Depends}
Description: Cross-Platform Scalable Multi-Protocol Soft Switch
$(debian_wrap "${fs_description}")
.
This package contains the FreeSWITCH core library.
Package: freeswitch-meta-bare Package: freeswitch-meta-bare
Architecture: any Architecture: any
Depends: \${misc:Depends}, freeswitch (= \${binary:Version}) Depends: \${misc:Depends}, freeswitch (= \${binary:Version})

2
debian/python-esl.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/lib/python*/*-packages/_ESL.so
usr/lib/python*/*-packages/ESL.py

2
debian/rules vendored
View File

@ -84,6 +84,7 @@ override_dh_auto_configure: .stamp-configure
.stamp-build: .stamp-configure .stamp-build: .stamp-configure
@$(call show_vars) @$(call show_vars)
make -j$(NJOBS) make -j$(NJOBS)
make -C libs/esl pymod
touch $@ touch $@
override_dh_auto_build: .stamp-build override_dh_auto_build: .stamp-build
@ -96,6 +97,7 @@ override_dh_strip:
override_dh_auto_install: override_dh_auto_install:
dh_auto_install dh_auto_install
dh_auto_install -- -C libs/esl pymod-install
mkdir -p debian/tmp/lib/systemd/system mkdir -p debian/tmp/lib/systemd/system
install -m0644 debian/freeswitch-systemd.freeswitch.service debian/tmp/lib/systemd/system/freeswitch.service install -m0644 debian/freeswitch-systemd.freeswitch.service debian/tmp/lib/systemd/system/freeswitch.service