[CMake] Distinguishing between source and binary packages with CPack?
Hendrik Sattler
post at hendrik-sattler.de
Tue Nov 11 11:36:34 EST 2014
Am 11. November 2014 08:50:26 MEZ, schrieb SF Markus Elfring <elfring at users.sourceforge.net>:
>> There is no need for a .src.rpm when you don't embed the build rules
>into it.
>> However, that only makes sense for distributions that have a package
>maintainer for the software,
>> creates a source package with all build options and distribution
>adaptions.
>
>Have you got any more ideas for the fine-tuning around the packaging of
>a class library
>for the OCaml programming language?
>https://github.com/elfring/OTCL/blob/eca1ed17f70176435c8575eb55a67cca33926905/package_settings.cmake#L1
That may be sufficient for creating a .deb. For integration into Debian, you should read
http://pkg-ocaml-maint.alioth.debian.org/ocaml_packaging_policy.html/
HS
More information about the CMake
mailing list