Packaging cshampoo

This guide explains how to package cshampoo releases. It is mainly intended for cshampoo developers and distribution packagers.

Source Package

The source package is built by CPack, a utility that is comes with CMake. Run the following commands in the top level directory to generate a .tar.gz file containing the source code and text files (COPYING, README, etc).

  $ cmake .
  $ make package_source

The source package is currently the only package distributed on Source Forge.

Binary Package

If you are a packager, please feel free to include cshampoo in your distribution. You don't need to ask permission, you just need to abide by the terms of the license. If you distribute a binary package, you must make the source code available as prescribed by the license.

Installing yoctohttp

  $ cmake -D CMAKE_INSTALL_PREFIX=/usr .
  $ make preinstall
  # cmake -DCOMPONENT=yoctohttp -P cmake_install.cmake

Installing yoctohttp-dev

  $ cmake -D CMAKE_INSTALL_PREFIX=/usr .
  $ make preinstall
  # cmake -DCOMPONENT=yoctohttp-dev -P cmake_install.cmake

Installing libcshampoo

  $ cmake -D CMAKE_INSTALL_PREFIX=/usr .
  $ make preinstall
  # cmake -DCOMPONENT=libcshampoo -P cmake_install.cmake

Installing libcshampoo-dev

  $ cmake -D CMAKE_INSTALL_PREFIX=/usr .
  $ make preinstall
  # cmake -DCOMPONENT=libcshampoo-dev -P cmake_install.cmake

Installing libpinecone

  $ cmake -D CMAKE_INSTALL_PREFIX=/usr .
  $ make preinstall
  # cmake -DCOMPONENT=libpinecone -P cmake_install.cmake

Installing libpinecone-dev

  $ cmake -D CMAKE_INSTALL_PREFIX=/usr .
  $ make preinstall
  # cmake -DCOMPONENT=libpinecone-dev -P cmake_install.cmake

Installing Everything

  $ cmake -D CMAKE_INSTALL_PREFIX=/usr .
  $ make
  # make install