From 1a0562e7b4de41d02bb6b830eb9d9ec05ab378bf Mon Sep 17 00:00:00 2001 From: hobbes1069 Date: Fri, 11 Sep 2015 21:31:44 +0000 Subject: [PATCH] Add debian packaging files to freedv-dev. git-svn-id: https://svn.code.sf.net/p/freetel/code@2315 01035d8c-6547-0410-b346-abe4f91aad63 --- freedv-dev/debian/changelog | 5 +++++ freedv-dev/debian/compat | 1 + freedv-dev/debian/control | 19 +++++++++++++++++++ freedv-dev/debian/copyright | 38 +++++++++++++++++++++++++++++++++++++ freedv-dev/debian/docs | 3 +++ freedv-dev/debian/format | 1 + freedv-dev/debian/rules | 30 +++++++++++++++++++++++++++++ 7 files changed, 97 insertions(+) create mode 100644 freedv-dev/debian/changelog create mode 100644 freedv-dev/debian/compat create mode 100644 freedv-dev/debian/control create mode 100644 freedv-dev/debian/copyright create mode 100644 freedv-dev/debian/docs create mode 100644 freedv-dev/debian/format create mode 100644 freedv-dev/debian/rules diff --git a/freedv-dev/debian/changelog b/freedv-dev/debian/changelog new file mode 100644 index 00000000..ddfe80b5 --- /dev/null +++ b/freedv-dev/debian/changelog @@ -0,0 +1,5 @@ +freedv (1.0-150830) unstable; urgency=low + + * Subversion snapshot of tag 1.0. + + -- Stuart Longland Sun, 30 Aug 2015 09:01:13 +1000 diff --git a/freedv-dev/debian/compat b/freedv-dev/debian/compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/freedv-dev/debian/compat @@ -0,0 +1 @@ +9 diff --git a/freedv-dev/debian/control b/freedv-dev/debian/control new file mode 100644 index 00000000..4a1dcd6e --- /dev/null +++ b/freedv-dev/debian/control @@ -0,0 +1,19 @@ +Source: freedv +Section: main +Priority: optional +Maintainer: Stuart Longland +Build-Depends: debhelper (>= 9), cmake, libcodec2-dev, libgtk2.0-dev, + libhamlib-dev, libsamplerate-dev, libasound2-dev, libao-dev, libgsm1-dev, + portaudio19-dev, libsox-dev, libsndfile1-dev, libwxgtk3.0-dev +Standards-Version: 3.9.5 +Homepage: http://www.freedv.org +#Vcs-Git: git://anonscm.debian.org/collab-maint/freedv.git +#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/freedv.git;a=summary + +Package: freedv +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libcodec2 +Description: FreeDV: Open-Source Digital Voice modem + FreeDV is a digital voice modem that can transmit voice-quality + audio digitally over HF radio links in as little as 1.25kHz + bandwidth in varying conditions. diff --git a/freedv-dev/debian/copyright b/freedv-dev/debian/copyright new file mode 100644 index 00000000..b55a293b --- /dev/null +++ b/freedv-dev/debian/copyright @@ -0,0 +1,38 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: freedv +Source: + +Files: * +Copyright: + +License: + + + . + + +# 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 unknown +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 + . + 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. diff --git a/freedv-dev/debian/docs b/freedv-dev/debian/docs new file mode 100644 index 00000000..acfbcb33 --- /dev/null +++ b/freedv-dev/debian/docs @@ -0,0 +1,3 @@ +credits.txt +README.txt +README.txt diff --git a/freedv-dev/debian/format b/freedv-dev/debian/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/freedv-dev/debian/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/freedv-dev/debian/rules b/freedv-dev/debian/rules new file mode 100644 index 00000000..77176d31 --- /dev/null +++ b/freedv-dev/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + + +# main packaging script based on dh7 syntax +%: + dh $@ + +# debmake generated override targets +# This is example for Cmake (See http://bugs.debian.org/641051 ) +override_dh_auto_configure: + dh_auto_configure -- \ + -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \ + -DUSE_STATIC_CODEC2=FALSE \ + -DUSE_STATIC_SPEEXDSP=FALSE -- 2.25.1