macOS
brew install ctemplatelocal Homebrew formula metadata
安装
brew install ctemplatelocal Homebrew formula metadata
sudo pacman -S ctemplateArch Linux sync databases · ctemplate · 来源: geo.mirror.pkgbuild.com
sudo apt install libctemplate-devDebian stable package indexes · libctemplate-dev · 来源: deb.debian.org
sudo zypper install libctemplate-developenSUSE Tumbleweed package metadata · libctemplate-devel · 来源: download.opensuse.org
概览
Template language for C++
历史
ctemplate is a C++ template library with companion command-line tools for template conversion and generated variable-name headers. Its official changelog traces the project from a Google open-source release in 2006 through community-maintained 2.x releases.
The initial release was made by Google Inc. in March 2006 as a package implementing a simple but powerful template language for C++. Early releases added portability work, escaping modes, editor support, and threading/build variants.
In the 2.0 release in January 2012, the project changed its official contact, rewrote documentation to refer to Ctemplate rather than Google Template, renamed Visual Studio files, and updated copyright text to reflect Google's relinquished ownership. Later releases under Olaf van der Spek focused on C++11 fixes, refactoring, and a Python 3 build-tool update.
The README positions ctemplate as portable C++ infrastructure, tested across Linux distributions, Solaris, FreeBSD, older OS X releases, and Windows Visual C++ versions. Homebrew and other package-manager metadata keep it available as a system C++ library rather than only as vendored source.
Users link applications against either the threaded ctemplate library or the nothreads variant, and the package installs small helper executables such as make_tpl_varnames_h, template-converter, and diff_tpl_auto_escape.
For package maintainers, ctemplate is representative of older Google-era C++ infrastructure: Autotools, platform portability fixes, generated headers, optional thread linkage, and a long-lived ABI-style library package.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
diff_tpl_auto_escape | cli | 全局可执行文件 | |
make_tpl_varnames_h | cli | 全局可执行文件 | |
template-converter | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/OlafvdSpek/ctemplate
安装元数据
| 软件包键 | brew:ctemplate |
|---|---|
| 版本 | 2.4 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ctemplate |
| 主页 | https://github.com/olafvdspek/ctemplate |
| 仓库 | https://github.com/olafvdspek/ctemplate |
| 上游文档 | https://github.com/OlafvdSpek/ctemplate#readme |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://github.com/OlafvdSpek/ctemplate/archive/refs/tags/ctemplate-2.4.tar.gz |
| 构建依赖 | autoconf, automake, libtool |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ctemplate |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libctemplate-dev 2.4-4
Simple but powerful template language for C++ - development files
https://github.com/olafvdspek/ctemplate
sudo apt install libctemplate-devlibctemplate3t64 2.4-4
Simple but powerful template language for C++
https://github.com/olafvdspek/ctemplate
sudo apt install libctemplate3t64libctemplate-dev 2.4-3.1build1
Simple but powerful template language for C++ - development files
https://github.com/olafvdspek/ctemplate
sudo apt install libctemplate-devlibctemplate3t64 2.4-3.1build1
Simple but powerful template language for C++
https://github.com/olafvdspek/ctemplate
sudo apt install libctemplate3t64ctemplate 2.4-4
A library implementing a simple but powerful template language for C++
https://github.com/olafvdspek/ctemplate
sudo pacman -S ctemplatelibctemplate-devel 2.4-1.17
Development files for ctemplate, a C++ language templating library
https://github.com/OlafvdSpek/ctemplate
sudo zypper install libctemplate-devellibctemplate3 2.4-1.17
Library for a C++ template languaging
https://github.com/OlafvdSpek/ctemplate
sudo zypper install libctemplate3来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.