From b56d3a0981d8f832314c7a991908c3979f4b5fbe Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 12 Feb 2006 10:47:43 +0000 Subject: add debianization git-svn-id: file:///home/lennart/svn/public/ivcall/trunk@25 e0b13411-74c3-0310-b366-a0654dd0340f --- debian/changelog | 6 ++++ debian/compat | 1 + debian/control | 19 ++++++++++ debian/copyright | 11 ++++++ debian/dirs | 1 + debian/docs | 1 + debian/files | 1 + debian/rules | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 147 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/docs create mode 100644 debian/files create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..ef8a620 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +ivcall (0.4-1) unstable; urgency=low + + * Initial Release. + + -- Lennart Poettering Sun, 12 Feb 2006 11:34:30 +0100 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..8636993 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: ivcall +Section: utils +Priority: optional +Maintainer: Lennart Poettering +Build-Depends: debhelper (>= 4.0.0), libspandsp-dev, xmltoman, lynx +Standards-Version: 3.6.0 + +Package: ivcall +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A small utility which may be used to make automated telephone calls with your isdn4linux supported ISDN card + Outgoing calls are supported as well as incoming calls. The audio + data recieved from the peer is written to STDOUT, audio data read + from STDIN is send to the peer. The audio data is in raw 8 bit uLaw 8 + KHz format, without any headers. + . + Since release 0.4 ivcall supports sending and receiving facsimiles + using spandsp as software modem for 9600bps connections (just fax, no + data connections). diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..3cb17b5 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,11 @@ +This package was debianized by Lennart Poettering . + +It was downloaded from http://0pointer.de/lennart/projects/ivcall/ + +Upstream Author: Lennart Poettering + +Copyright: + +You are free to distribute this software under the terms of the GNU General +Public License. On Debian systems, the complete text of the GNU General Public +License can be found in the file `/usr/share/common-licenses/GPL'. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/bin diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..afe6da2 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +doc/README diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..c450968 --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +ivcall_0.4-1_i386.deb utils optional diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2dc3bf7 --- /dev/null +++ b/debian/rules @@ -0,0 +1,107 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + # Add here commands to configure the package. + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/ivcall.sgml > ivcall.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/ivcall. + $(MAKE) install DESTDIR=$(CURDIR)/debian/ivcall + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs +# dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install -- cgit