Reputation: 37
I have found several interesting links talking about a CPack generator for FreeBSD.
I would like to generate FreeBSD packages; however, whenever I attempt to generate TXZ archives (as directed by the instructions), the generated package isn't compatible with the pkg
utility on FreeBSD. They miss the manifest file.
Obviously, CPack is generating raw archives, not pkg
-ready archives. I assume I must be missing a step.
However, none of the links above talk about any such step.
Therefore,
How can I tell CPack to generate a FreeBSD-ready package?
Upvotes: 0
Views: 320
Reputation: 516
(Original author of that code here)
So, there's two things in play here:
CPACK
(which is not the default)So:
cd /usr/ports/devel/cmake
make configure
and select CPACK
make && make install
Then @Tsyvarev's comment will be the right answer. For the record, the support was deemed experimental, the library API unstable, and the pkg authors have asked me to re-vamp the code to use the current libpkg API so they can drop the old one. Time, though, is the limiting factor.
Upvotes: 2