如何创建 msgpack DEB 包
问题:
你想创建 msgpack C++ 绑定的二进制 DEB 包。然而,没有可用的官方 DEB 包。
解决方案
这是一个完全自动化构建 deb 包过程的脚本。
在构建之前,你需要安装 DEB 构建工具链和 libgtest-dev(用于 msgpack 单元测试):
install_msgpack_build_deps.sh
sudo apt-get install devscripts debhelper build-essential libgtest-dev之后,你可以从我的 deb-buildscripts 仓库下载 deb-msgpack.sh 并运行它来创建 debian 包。
注意你需要检出 deb-buildscripts 的提交 e4666142,因为当前 master 不支持 LevelDB。
Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow