]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6972 Packaging a version of the python ESL wrapper for python.
authorFederico Castro <fcastro@indicium.com.ar>
Fri, 21 Aug 2015 13:27:59 +0000 (10:27 -0300)
committerFederico Castro <fcastro@indicium.com.ar>
Fri, 21 Aug 2015 13:27:59 +0000 (10:27 -0300)
debian/bootstrap.sh
debian/python-esl.install [new file with mode: 0644]
debian/rules

index 47cbb30953b358ee3606245bb6fe5d5a93abdc6c..12c8f4b4355740238480d308ab68d1cad77c9919 100755 (executable)
@@ -306,7 +306,7 @@ Build-Depends:
 # configure options
  libssl-dev, unixodbc-dev, libpq-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
  doxygen,
 # 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.
 
+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
 Architecture: any
 Depends: \${misc:Depends}, freeswitch (= \${binary:Version})
diff --git a/debian/python-esl.install b/debian/python-esl.install
new file mode 100644 (file)
index 0000000..5822031
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/python*/*-packages/_ESL.so
+usr/lib/python*/*-packages/ESL.py
index d1be8edc8898d19e45faf46a8f5b9b95e2904400..46f1f9a221e8b97076bfb743979282c9382c8584 100755 (executable)
@@ -84,6 +84,7 @@ override_dh_auto_configure: .stamp-configure
 .stamp-build: .stamp-configure
        @$(call show_vars)
        make -j$(NJOBS)
+       make -C libs/esl pymod
        touch $@
 
 override_dh_auto_build: .stamp-build
@@ -96,6 +97,7 @@ override_dh_strip:
 
 override_dh_auto_install:
        dh_auto_install
+       dh_auto_install -- -C libs/esl pymod-install
        mkdir -p debian/tmp/lib/systemd/system
        install -m0644 debian/freeswitch-systemd.freeswitch.service debian/tmp/lib/systemd/system/freeswitch.service