[Pkg-voip-commits] r6101 - in /tools/builder/zaptel-modules: ./ debian/ debian/changelog debian/control debian/copyright debian/rules
tzafrir-guest at alioth.debian.org
tzafrir-guest at alioth.debian.org
Wed Aug 27 13:19:21 UTC 2008
Author: tzafrir-guest
Date: Wed Aug 27 13:19:20 2008
New Revision: 6101
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6101
Log:
Initial version of the helper package zaptel-modules .
Added:
tools/builder/zaptel-modules/
tools/builder/zaptel-modules/debian/
tools/builder/zaptel-modules/debian/changelog
tools/builder/zaptel-modules/debian/control
tools/builder/zaptel-modules/debian/copyright
tools/builder/zaptel-modules/debian/rules (with props)
Added: tools/builder/zaptel-modules/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/tools/builder/zaptel-modules/debian/changelog?rev=6101&op=file
==============================================================================
--- tools/builder/zaptel-modules/debian/changelog (added)
+++ tools/builder/zaptel-modules/debian/changelog Wed Aug 27 13:19:20 2008
@@ -1,0 +1,11 @@
+zaptel-modules (1.1) unstable; urgency=low
+
+ * Building 2.6.12 kernels as well.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Mon, 30 Oct 2006 11:36:22 +0200
+
+zaptel-modules (1.0) unstable; urgency=low
+
+ * Initial package release.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Mon, 7 Aug 2006 11:28:46 +0300
Added: tools/builder/zaptel-modules/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/tools/builder/zaptel-modules/debian/control?rev=6101&op=file
==============================================================================
--- tools/builder/zaptel-modules/debian/control (added)
+++ tools/builder/zaptel-modules/debian/control Wed Aug 27 13:19:20 2008
@@ -1,0 +1,16 @@
+Source: zaptel-modules
+Section: devel
+Priority: extra
+Maintainer: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+Build-Depends-Indep: debhelper, zaptel-source, kernel-headers-2.6.8-3-386, kernel-headers-2.6.8-3-686, kernel-headers-2.6.8-3-686-smp, kernel-headers-2.6.8-3-k7, kernel-headers-2.6.8-3-k7-smp, kernel-headers-2.6.12-1-386, kernel-headers-2.6.12-1-686, kernel-headers-2.6.12-1-k7, kernel-headers-2.6.12-1-rapidbox2
+Standards-Version: 3.6.1
+Architecture: all
+
+Package: zaptel-modules-dummy
+Section: devel
+Priority: extra
+Architecture: all
+Description: dummy package to be "generated" by zaptel-modules
+ A dummy package generated as part of the build process of the
+ zaptel-modules-* packages. There is no point installing it.
+
Added: tools/builder/zaptel-modules/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-voip/tools/builder/zaptel-modules/debian/copyright?rev=6101&op=file
==============================================================================
--- tools/builder/zaptel-modules/debian/copyright (added)
+++ tools/builder/zaptel-modules/debian/copyright Wed Aug 27 13:19:20 2008
@@ -1,0 +1,23 @@
+Written by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+(C) Xorcom Inc. <support at xorcom.com>, 2006
+
+License:
+
+ 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 package; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
Added: tools/builder/zaptel-modules/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/tools/builder/zaptel-modules/debian/rules?rev=6101&op=file
==============================================================================
--- tools/builder/zaptel-modules/debian/rules (added)
+++ tools/builder/zaptel-modules/debian/rules Wed Aug 27 13:19:20 2008
@@ -1,0 +1,103 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+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
+
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//')
+
+FILENAME := libpri_$(UPVERSION).orig.tar.gz
+URL := http://ftp2.digium.com/pub/libpri/releases/libpri-$(UPVERSION).tar.gz
+
+# shared library versions, option 1
+#version=2.0.5
+#major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+version=`ls lib*.so.* | \
+ awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+major=`ls lib*.so.* | \
+ awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch $@
+
+# set ZAP_MOD_NO_BUILD=1 to avoid the actual build
+# (useful to debug the dummy package)
+build: build-stamp
+build-stamp: configure-stamp
+ dh_testdir
+
+ifndef ZAP_MOD_NO_BUILD
+ SIGNCHANGES=1 DEBSIGNCOMMAND=not_an_executable \
+ m-a -u . -i -t -f \
+ -k "`echo /usr/src/kernel-headers-2.*.*-*-* | grep -v '*'`" \
+ build zaptel >../zaptel-modules-buildlog
+endif
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ rm -f zaptel-modules*.deb zaptel-modules*.changes
+ rm -rf usr_src var_cache_modass
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ # embed the built packages into the dummy package
+ # in order to copy them out of the build environment
+ dh_installdirs usr/share/zaptel
+ dh_install *.deb *.changes usr/share/zaptel
+
+ # Add here commands to install the package into 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_movefiles
+ #
+ dh_installchangelogs
+ dh_installdocs
+ ##dh_installexamples
+ ##dh_installman
+ ##dh_strip
+ dh_compress
+ #dh_fixperms
+ #dh_makeshlibs -V
+ dh_installdeb
+ ##dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
Propchange: tools/builder/zaptel-modules/debian/rules
------------------------------------------------------------------------------
svn:executable = *
More information about the Pkg-voip-commits
mailing list