diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-06 01:35:49 -0500 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-06 01:35:49 -0500 |
| commit | ea68550eccf1195a1022b2af99aebf4e8c78666b (patch) | |
| tree | 44295ec08cd89375b5fbf4b07604e653f93b8023 /lib/ffts/debian/rules | |
| parent | 14d918151bd447d854c3d0b34a9d542a5dff38ff (diff) | |
| download | ulab-ea68550eccf1195a1022b2af99aebf4e8c78666b.tar.gz ulab-ea68550eccf1195a1022b2af99aebf4e8c78666b.zip | |
Add Debian packaging for FFTS
Diffstat (limited to 'lib/ffts/debian/rules')
| -rwxr-xr-x | lib/ffts/debian/rules | 25 |
1 files changed, 25 insertions, 0 deletions
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 |
