From ea68550eccf1195a1022b2af99aebf4e8c78666b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 6 Sep 2014 01:35:49 -0500 Subject: [PATCH] Add Debian packaging for FFTS --- lib/ffts/debian/changelog | 5 ++++ lib/ffts/debian/compat | 1 + lib/ffts/debian/control | 23 +++++++++++++++++ lib/ffts/debian/copyright | 38 +++++++++++++++++++++++++++++ lib/ffts/debian/libffts-dev.install | 4 +++ lib/ffts/debian/libffts.install | 1 + lib/ffts/debian/rules | 25 +++++++++++++++++++ 7 files changed, 97 insertions(+) create mode 100644 lib/ffts/debian/changelog create mode 100644 lib/ffts/debian/compat create mode 100644 lib/ffts/debian/control create mode 100644 lib/ffts/debian/copyright create mode 100644 lib/ffts/debian/libffts-dev.install create mode 100644 lib/ffts/debian/libffts.install create mode 100755 lib/ffts/debian/rules diff --git a/lib/ffts/debian/changelog b/lib/ffts/debian/changelog new file mode 100644 index 0000000..a35d1f1 --- /dev/null +++ b/lib/ffts/debian/changelog @@ -0,0 +1,5 @@ +libffts (0.1-0ubuntu0) karmic; urgency=low + + * Karmic rebuild + + -- Timothy Pearson Thu, 02 July 2009 16:08:00 -0600 diff --git a/lib/ffts/debian/compat b/lib/ffts/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/lib/ffts/debian/compat @@ -0,0 +1 @@ +5 diff --git a/lib/ffts/debian/control b/lib/ffts/debian/control new file mode 100644 index 0000000..13b84e4 --- /dev/null +++ b/lib/ffts/debian/control @@ -0,0 +1,23 @@ +Source: libffts +Section: libs +Priority: optional +Maintainer: Timothy Pearson +Build-Depends: debhelper (>= 5), cdbs, automake, autoconf, libtool, libltdl-dev +Standards-Version: 3.8.4 + +Package: libffts +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: The Fastest Fourier Transform in the South shared library + Shared objects for the Fastest Fourier Transform in the South + . + libffts contains the library of libffts. + +Package: libffts-dev +Architecture: any +Depends: libffts (= ${binary:Version}) +Description: The Fastest Fourier Transform in the South shared library + Shared objects for the Fastest Fourier Transform in the South + . + libffts-dev contains development files and documentation. diff --git a/lib/ffts/debian/copyright b/lib/ffts/debian/copyright new file mode 100644 index 0000000..1f4d1b3 --- /dev/null +++ b/lib/ffts/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Timothy Pearson on +Sat, 06 Sep 2014 01:01:00 -0600. + +It was downloaded from http://anthonix.com/ffts/download.html + +Upstream Author: Anthony M. Blake + +copyright (C) 2014 Timothy Pearson + +License: + + This file is part of FFTS -- The Fastest Fourier Transform in the South + + Copyright (c) 2012, 2013 Anthony M. Blake + + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * 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. + * Neither the name of the organization nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 ANTHONY M. BLAKE 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. \ No newline at end of file diff --git a/lib/ffts/debian/libffts-dev.install b/lib/ffts/debian/libffts-dev.install new file mode 100644 index 0000000..8ec9dff --- /dev/null +++ b/lib/ffts/debian/libffts-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/include/* +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/lib/*.la +debian/tmp/usr/lib/pkgconfig/* diff --git a/lib/ffts/debian/libffts.install b/lib/ffts/debian/libffts.install new file mode 100644 index 0000000..c45ebcf --- /dev/null +++ b/lib/ffts/debian/libffts.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* diff --git a/lib/ffts/debian/rules b/lib/ffts/debian/rules new file mode 100755 index 0000000..83d494c --- /dev/null +++ b/lib/ffts/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk + +DEB_CONFIGURE_INCLUDEDIR := /usr/include +DEB_CONFIGURE_MANDIR := /usr/share/man +DEB_CONFIGURE_PREFIX := /usr/ +DEB_CONFIGURE_INFODIR := /usr/share/info + +cdbs_configure_flags := --enable-sse --enable-single --enable-shared --disable-rpath + +DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ + && echo xz || echo bzip2) + +post-patches:: debian/stamp-bootstrap + +debian/stamp-bootstrap: + ! [ -f /usr/share/libtool/ltmain.sh ] || \ + cp -f /usr/share/libtool/ltmain.sh ltmain.sh + ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ + cp -f /usr/share/libtool/config/ltmain.sh ltmain.sh + + touch debian/stamp-bootstrap