From c4c541cee1c5cb22a2cc61a000ccc8d68c5f26d1 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 31 May 2012 23:43:51 +0000 Subject: [PATCH] Initial ngcp-mediaproxy-ng-dev packaging This package provides the base for compiling mediaproxy's redis stuff as shared library. TODO: get rid of kernel-module/xt_MEDIAPROXY.h in debian/ngcp-mediaproxy-ng-dev.install once call.h doesn't depend on xt_MEDIAPROXY.h anymore (Richard is aware of it) From: Michael Prokop --- debian/control | 11 +++++++++++ debian/ngcp-mediaproxy-ng-dev.install | 3 +++ debian/rules | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 debian/ngcp-mediaproxy-ng-dev.install diff --git a/debian/control b/debian/control index 8fc2c85a1..c01a0a853 100644 --- a/debian/control +++ b/debian/control @@ -47,3 +47,14 @@ Description: IPtables kernel module for the NGCP media proxy - DKMS. Provides the kernel-space part of the NGCP media proxy for high- performance packet forwarding. This package contains the source to be built with dkms. + +Package: ngcp-mediaproxy-ng-dev +Architecture: all +Section: libdevel +Depends: debhelper (>= 5), ${misc:Depends} +Description: Development files for mediaproxy-ng + This package provides the header files of the mediaproxy-ng + software. + . + Install this package if you wish to develop your own programs using + mediaproxy-ng. diff --git a/debian/ngcp-mediaproxy-ng-dev.install b/debian/ngcp-mediaproxy-ng-dev.install new file mode 100644 index 000000000..85f215686 --- /dev/null +++ b/debian/ngcp-mediaproxy-ng-dev.install @@ -0,0 +1,3 @@ +daemon/*.h /usr/include/mediaproxy-ng/ +# FIXME - remove dependency +kernel-module/xt_MEDIAPROXY.h /usr/include/mediaproxy-ng/ diff --git a/debian/rules b/debian/rules index 8a98bcf93..1e7901766 100755 --- a/debian/rules +++ b/debian/rules @@ -102,7 +102,7 @@ binary-arch: install \ # Build architecture independant packages binary-indep: build install \ - ngcp-mediaproxy-ng-daemon ngcp-mediaproxy-ng-kernel-dkms ngcp-mediaproxy-ng-kernel-source + ngcp-mediaproxy-ng-daemon ngcp-mediaproxy-ng-kernel-dkms ngcp-mediaproxy-ng-kernel-source ngcp-mediaproxy-ng-dev binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install kdist kdist_configure kdist_image kdist_clean