Browse Source

Merge pull request #3 from bmanojlovic/master

debian packaging files
fix_issue_4
Matteo 10 years ago
parent
commit
8df560e49a
9 changed files with 91 additions and 0 deletions
  1. +5
    -0
      debian/changelog
  2. +1
    -0
      debian/compat
  3. +21
    -0
      debian/control
  4. +38
    -0
      debian/copyright
  5. +1
    -0
      debian/docs
  6. +1
    -0
      debian/freeswitch-mod-bcg729.install
  7. +1
    -0
      debian/freeswitch-mod-bcg729.lintian-overrides
  8. +22
    -0
      debian/rules
  9. +1
    -0
      debian/source/format

+ 5
- 0
debian/changelog View File

@ -0,0 +1,5 @@
freeswitch-mod-bcg729 (0.0.1-1) unstable; urgency=low
* Initial release
-- Boris Manojlovic <boris@steki.net> Fri, 30 Oct 2015 13:57:41 +0000

+ 1
- 0
debian/compat View File

@ -0,0 +1 @@
9

+ 21
- 0
debian/control View File

@ -0,0 +1,21 @@
Source: freeswitch-mod-bcg729
Section: comm
Priority: optional
Maintainer: Boris Manojlovic <boris@steki.net>
Build-Depends: debhelper (>= 9),
# bcg729 strange requirement really :)
libbcg729-dev,
# freeswitch development files
libfreeswitch-dev
Standards-Version: 3.9.5
Homepage: https://github.com/xadhoom/mod_bcg729
Vcs-Git: https://github.com/xadhoom/mod_bcg729.git
Vcs-Browser: https://github.com/xadhoom/mod_bcg729
Package: freeswitch-mod-bcg729
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends},
freeswitch (>= 1.4.23),
libbcg729-0
Description: Freeswitch G729 module
mod_bcg729 is G729 codec package

+ 38
- 0
debian/copyright View File

@ -0,0 +1,38 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: freeswitch-mod-bcg729
Source: <url://example.com>
Files: *
Copyright: <years> <put author's name and email here>
<years> <likewise for another author>
License: <special license>
<Put the license of the package here indented by 1 space>
<This follows the format of Description: lines in control file>
.
<Including paragraphs>
# If you want to use GPL v2 or later for the /debian/* files use
# the following clauses, or change it to suit. Delete these two lines
Files: debian/*
Copyright: 2015 Boris Manojlovic <boris@steki.net>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid to pick license terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.

+ 1
- 0
debian/docs View File

@ -0,0 +1 @@
README.md

+ 1
- 0
debian/freeswitch-mod-bcg729.install View File

@ -0,0 +1 @@
/usr/lib/freeswitch/mod/mod_bcg729.so

+ 1
- 0
debian/freeswitch-mod-bcg729.lintian-overrides View File

@ -0,0 +1 @@
#

+ 22
- 0
debian/rules View File

@ -0,0 +1,22 @@
#!/usr/bin/make -f
DH_VERBOSE = 1
export ADD_CFLAGS=-fomit-frame-pointer -fno-exceptions -Wall -std=c99 -pedantic
export ADD_LIBS=-lm -lbcg729
# main packaging script based on dh7 syntax
%:
dh $@
.stamp-build:
fsxs compile --add-cflags="$(ADD_CFLAGS)" mod_bcg729.c
fsxs link --add-libs="$(ADD_LIBS)" mod_bcg729.so mod_bcg729.o
override_dh_auto_build: .stamp-build
override_dh_auto_install:
fsxs install --destdir="debian/tmp/" mod_bcg729.so
override_dh_auto_clean:
rm -f mod_bcg729.o
rm -f mod_bcg729.so

+ 1
- 0
debian/source/format View File

@ -0,0 +1 @@
3.0 (quilt)

Loading…
Cancel
Save