Here’s how I backported the Ubuntu package for CMake 2.8.5 to natty, making it available
in a Launchpad PPA. Instead of using apt-get source
,
debuild
and dput
manually I opted for the handy script backportpackage
, which can be found in the
ubuntu-dev-utils
package.
A Makefile for the Simplest Shared Library
The problem: writing a very simple Makefile to build a C shared library.
Let’s say we have just coded the most wonderful library foo
, which – not too surprisingly – has
greetings as its main purpose.