It looks like GNUInstallDirs, which determines CMAKE_INSTALL_LIBDIR, was
not working on Ubuntu 12.04.
This change introduces the use of a CMAKE_INSTALL_LIBDIR override, and
uses this in debian/rules to specify the value extracted from
dpkg-architecture.
A little more lightweight than the doxygen approach,
and keeps the documentation harmonized with --help.
h/t to A. Maitland Bottoms for pointing me to this.
How to build the .debs:
wget https://github.com/Nuand/bladeRF/archive/master.tar.gz
tar -zxvf master.tar.gz
cd bladeRF-master
debuild -i -us -uc -b
Caveat: once we get into a groove release-wise, we'll need to remember
to update debian/changelog (look at the 'dch' command)
This produces three .deb files:
bladerf_0~20131005-2_amd64.deb
Contains bladeRF-cli, bladeRF-flash, and man pages
libbladerf0_0~20131005-2_amd64.deb
Contains libbladeRF.so.0
libbladerf0-dev_0~20131005-2_amd64.deb
Contains libbladeRF.so symlink, libbladeRF.h, and libbladeRF.pc
This is still somewhat fragile. Also, it pretty much depends on
Ubuntu 13.10, which hasn't been released yet. But we're ahead of
the game, no?!