From 49125b7410ef805e2925f87656b91c7aee0f168c Mon Sep 17 00:00:00 2001 From: Kevin Rosenberg Date: Mon, 3 Aug 2009 11:09:19 -0600 Subject: [PATCH] Convert to Debian package --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 19 +++++++++++++++++++ debian/copyright | 36 ++++++++++++++++++++++++++++++++++++ debian/rules | 44 ++++++++++++++++++++++++++++++++++++++++++++ debian/upload.sh | 3 +++ debian/watch | 2 ++ 7 files changed, 110 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100755 debian/upload.sh create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d407dcb --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +cl-fftw3 (1.0-1) unstable; urgency=low + + * Initial upload + + -- Kevin M. Rosenberg Mon, 03 Aug 2009 11:02:42 -0600 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c52f39c --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: cl-fftw3 +Section: lisp +Priority: optional +Maintainer: Kevin M. Rosenberg +Build-Depends-Indep: dh-lisp +Build-Depends: debhelper (>= 7.0.0) +Standards-Version: 3.8.2.0 +Homepage: http://files.b9.com/cl-fftw3/ +Vcs-Git: git://git.b9.com/cl-fftw3.git +Vcs-Browser: http://git.b9.com/?p=cl-fftw3.git + +Package: cl-fftw3 +Architecture: all +Depends: ${misc:Depends}, libfftw3-dev, cl-kmrcl, cl-cffi +Description: Common Lisp package for using the FFTW3 library + This package provides an interface for Common Lisp programs to use + the FFTW3 Fourier transform library. A number of higher-level interfaces + has been added in addition to the native interface to the FFTW3 + C-based library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..fce7956 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Kevin M. Rosenberg in +Aug 2009. + +It was downloaded from http://files.b9.com/cl-fftw3/ + +Upstream Author: Kevin M. Rosenberg + +Copyright: + +Copyright (c) 2008-2009 by Kevin Rosenberg + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the Authors may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c847ef9 --- /dev/null +++ b/debian/rules @@ -0,0 +1,44 @@ +#!/usr/bin/make -f + +pkg := cl-fftw3 +debpkg := cl-fftw3 + +clc-source := usr/share/common-lisp/source +clc-systems := usr/share/common-lisp/systems +clc-files := $(clc-source)/$(pkg) +doc-dir := usr/share/doc/$(debpkg) + +build: + +clean: + dh_testdir + dh_testroot + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + dh_install $(pkg).asd $(clc-files) + dh_install *.lisp $(clc-files) + +binary-indep: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_lisp + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-indep + + +.PHONY: build clean binary-indep binary-arch binary install diff --git a/debian/upload.sh b/debian/upload.sh new file mode 100755 index 0000000..ad50ce2 --- /dev/null +++ b/debian/upload.sh @@ -0,0 +1,3 @@ +#!/bin/bash -e + +dup cl-base64 -Ufiles.b9.com -D/home/ftp/cl-base64 -C"(umask 022; /home/kevin/bin/remove-old-versions cl-base64 latest)" -su $* diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..85f27ea --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://files.b9.com/cl-fftw3/cl-fftw3-(\d+.*)\.tar\.gz -- 2.34.1