From ea68550eccf1195a1022b2af99aebf4e8c78666b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 6 Sep 2014 01:35:49 -0500 Subject: Add Debian packaging for FFTS --- lib/ffts/debian/rules | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 lib/ffts/debian/rules (limited to 'lib/ffts/debian/rules') 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 -- cgit v1.2.3