diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-08-21 03:43:38 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-08-21 05:09:31 +0000 |
| commit | 235f681183cae1640042dfb6ab77cbe8b4159f46 (patch) | |
| tree | fdde2f2fd3ca13b853ebbdd3cec789aaee753296 | |
| parent | 0975e9741cae64c3fbbdc6e40291d77f709b5858 (diff) | |
devel/ollama-hpp: New port: Modern, Header-only C++ bindings for the Ollama API
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/ollama-hpp/Makefile | 24 | ||||
| -rw-r--r-- | devel/ollama-hpp/distinfo | 3 | ||||
| -rw-r--r-- | devel/ollama-hpp/pkg-descr | 4 |
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 2211b7a3aba2..fd23aff137af 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1790,6 +1790,7 @@ SUBDIR += ode SUBDIR += ois SUBDIR += okteta + SUBDIR += ollama-hpp SUBDIR += omake SUBDIR += omniORB SUBDIR += omnilinter diff --git a/devel/ollama-hpp/Makefile b/devel/ollama-hpp/Makefile new file mode 100644 index 000000000000..b334bf01b367 --- /dev/null +++ b/devel/ollama-hpp/Makefile @@ -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> diff --git a/devel/ollama-hpp/distinfo b/devel/ollama-hpp/distinfo new file mode 100644 index 000000000000..31508444bb42 --- /dev/null +++ b/devel/ollama-hpp/distinfo @@ -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 diff --git a/devel/ollama-hpp/pkg-descr b/devel/ollama-hpp/pkg-descr new file mode 100644 index 000000000000..ab624c0a01f1 --- /dev/null +++ b/devel/ollama-hpp/pkg-descr @@ -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. |
