]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add starting framework for debian packaging
authorMichael Jerris <mike@jerris.com>
Tue, 9 Oct 2007 17:25:56 +0000 (17:25 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 9 Oct 2007 17:25:56 +0000 (17:25 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5832 d0543943-73ff-0310-b7d9-9358b9ac24b2

debian/changelog [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/files [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/substvars [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..ddce9c6
--- /dev/null
@@ -0,0 +1,5 @@
+freeswitch (1.0~beta1-1) unstable; urgency=low
+
+  * New packages.
+
+ -- Robert McQueen <robot101@debian.org>  Sun, 12 Nov 2006 17:32:23 -0500
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..df9704d
--- /dev/null
@@ -0,0 +1,11 @@
+Source: freeswitch
+Maintainer: Michael Jerris <mike@jerris.com>
+Section: net
+Priority: optional
+Build-Depends: automake, autoconf, libtool
+
+Package: freeswitch
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: it is the winning
+ lalal fixme
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..e6f54af
--- /dev/null
@@ -0,0 +1 @@
+Freeswitch has lots of stuff. Some is MPL. See /usr/share/common-licenses/* for more.
diff --git a/debian/files b/debian/files
new file mode 100644 (file)
index 0000000..ee0f9dc
--- /dev/null
@@ -0,0 +1 @@
+freeswitch_1.0~beta1-1_i386.deb net optional
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..6881fc2
--- /dev/null
@@ -0,0 +1,76 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# This file is public domain software, originally written by Joey Hess. 
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+
+       # Add here commands to compile the package.
+       ./bootstrap.sh
+       ./configure
+       $(MAKE)
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+
+       # Add here commands to clean up after the build process.
+       -$(MAKE) clean megaclean
+
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Add here commands to install the package into debian/<packagename>
+       $(MAKE) install DESTDIR=`pwd`/debian/tmp
+
+# 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_installcatalogs
+#      dh_installpam
+#      dh_installmime
+#      dh_installinit
+#      dh_installcron
+#      dh_installinfo
+#      dh_undocumented
+       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
diff --git a/debian/substvars b/debian/substvars
new file mode 100644 (file)
index 0000000..6229324
--- /dev/null
@@ -0,0 +1 @@
+shlibs:Depends=libc6 (>= 2.3.6-6), libdb4.4, libgcc1 (>= 1:4.1.1-12), libsasl2-2, libssl0.9.8 (>= 0.9.8c-1), libstdc++6 (>= 4.1.1-12), libuuid1, zlib1g (>= 1:1.2.1)