summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-02-12 10:47:43 +0000
committerLennart Poettering <lennart@poettering.net>2006-02-12 10:47:43 +0000
commitb56d3a0981d8f832314c7a991908c3979f4b5fbe (patch)
tree68c362c7222455cd069bea8b8cb3bd17692e9586
parent559186a0cd3f2cde3ef10924b89842076f1e6940 (diff)
add debianization
git-svn-id: file:///home/lennart/svn/public/ivcall/trunk@25 e0b13411-74c3-0310-b366-a0654dd0340f
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat1
-rw-r--r--debian/control19
-rw-r--r--debian/copyright11
-rw-r--r--debian/dirs1
-rw-r--r--debian/docs1
-rw-r--r--debian/files1
-rwxr-xr-xdebian/rules107
8 files changed, 147 insertions, 0 deletions
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 <mzqrovna@0pointer.net> 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 <mzqrovna@0pointer.net>
+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 <mzqrovna@0pointer.net>.
+
+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