Commits

J.A. Roberts Tunney committed d1a377a

add debian packaging stuff

Comments (0)

Files changed (16)

debian/README.Debian

+libsoundtouch4c for Debian
+--------------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- J.A. Roberts Tunney <jtunney@lobstertech.com>  Mon, 15 Mar 2010 23:28:45 -0400
+libsoundtouch4c (0.5b-1) unstable; urgency=low
+
+  * Initial release
+
+ -- J.A. Roberts Tunney <jtunney@lobstertech.com>  Mon, 15 Mar 2010 23:28:45 -0400
+Source: libsoundtouch4c
+Priority: extra
+Maintainer: J.A. Roberts Tunney <jtunney@lobstertech.com>
+Build-Depends: debhelper (>= 7), autotools-dev, libsoundtouch-dev, rst2man, mercurial
+Standards-Version: 3.8.3
+Section: libs
+Homepage: http://lobstertech.com/2006/aug/23/soundtouch4c/
+
+Package: libsoundtouch4c-dev
+Section: libdevel
+Architecture: any
+Depends: libsoundtouch4c1 (= ${binary:Version})
+Description: Development headers/docs for libsoundtouch4c
+
+Package: libsoundtouch4c1
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libsoundtouch1c2
+Description: Use SoundTouch DSP routines without C++
+ This library provides a simple wrapper around the SoundTouch C++ API
+ so you can write C code to access soundtouch audio manipulation
+ routines.
+This package was debianized by:
+
+    J.A. Roberts Tunney <jtunney@lobstertech.com> on Mon, 15 Mar 2010 23:28:45 -0400
+
+It was downloaded from:
+
+    <http://bitbucket.org/jart/asterisk-voicechanger/src/>
+
+Upstream Author(s):
+
+    J.A. Roberts Tunney <jtunney@lobstertech.com>
+
+Copyright:
+
+    Copyright (C) 2010 Lobstertech, Inc.
+
+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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is:
+
+    Copyright (C) 2010 J.A. Roberts Tunney <jtunney@lobstertech.com>
+
+and is licensed under the GPL version 3, 
+see `/usr/share/common-licenses/GPL-3'.
+usr/bin
+usr/sbin
+ChangeLog
+README

debian/libsoundtouch4c-dev.dirs

+usr/lib
+usr/lib/pkgconfig
+usr/include
+usr/share/aclocal

debian/libsoundtouch4c-dev.install

+debian/tmp/usr/include/*
+debian/tmp/usr/lib/lib*.a
+debian/tmp/usr/lib/lib*.so
+debian/tmp/usr/lib/pkgconfig/*
+debian/tmp/usr/lib/*.la
+debian/tmp/usr/share/aclocal/*

debian/libsoundtouch4c-dev.manpages

+soundtouch4c.7

debian/libsoundtouch4c-dev.substvars

+misc:Depends=

debian/libsoundtouch4c1.dirs

+usr/lib

debian/libsoundtouch4c1.install

+debian/tmp/usr/lib/lib*.so.*

debian/libsoundtouch4c1.substvars

+shlibs:Depends=libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libsoundtouch1c2 (>= 1.3.1), libstdc++6 (>= 4.1.1)
+misc:Depends=
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# 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)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+
+
+
+# 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 src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+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
+	./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+build-stamp:  config.status 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f config.sub config.guess
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep  
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+
+# Build architecture-independent files here.
+binary-indep: install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	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 
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+http://lobstertech.com/2006/aug/23/soundtouch4c/ libsoundtouch4c-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/libsoundtouch4c-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/libsoundtouch4c-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for devscripts >= 2.9
+# http://sf.net/libsoundtouch4c/libsoundtouch4c-(.*)\.tar\.gz
+
+# Uncomment to find new files on GooglePages
+# http://example.googlepages.com/foo.html libsoundtouch4c-(.*)\.tar\.gz