1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

devel/ollama-hpp: New port: Modern, Header-only C++ bindings for the Ollama API

This commit is contained in:
Yuri Victorovich 2024-08-20 20:43:38 -07:00
parent 0975e9741c
commit 235f681183
4 changed files with 32 additions and 0 deletions

View File

@ -1790,6 +1790,7 @@
SUBDIR += ode
SUBDIR += ois
SUBDIR += okteta
SUBDIR += ollama-hpp
SUBDIR += omake
SUBDIR += omniORB
SUBDIR += omnilinter

24
devel/ollama-hpp/Makefile Normal file
View File

@ -0,0 +1,24 @@
PORTNAME= ollama-hpp
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.4
CATEGORIES= devel # machine learning
MAINTAINER= yuri@FreeBSD.org
COMMENT= Modern, Header-only C++ bindings for the Ollama API
WWW= https://github.com/kongaskristjan/fire-hpp
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= jmont-dev
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= include/ollama.hpp
do-install:
${INSTALL_DATA} ${WRKSRC}/singleheader/ollama.hpp ${STAGEDIR}${PREFIX}/include
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1724211616
SHA256 (jmont-dev-ollama-hpp-v0.9.4_GH0.tar.gz) = 4c38dbf0713b9e3659c6247282f720a03883322e31126fe10e4976e036b20bd0
SIZE (jmont-dev-ollama-hpp-v0.9.4_GH0.tar.gz) = 2968182

View File

@ -0,0 +1,4 @@
ollama-hpp is a modern, header-only C++11/14/20 bindings for the Ollama API.
It allows to access the full power of local language models in C++ with just
a few lines of code.