From a2f0e848e85c59243f5ad0485104293e8759cec2 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Thu, 15 Jun 2023 19:44:34 +0300 Subject: [PATCH] github.com/Cyan4973/xxHash (#2186) * new file: projects/github.com/Cyan4973/xxHash/package.yml * pkg-config --- .../github.com/Cyan4973/xxHash/package.yml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 projects/github.com/Cyan4973/xxHash/package.yml diff --git a/projects/github.com/Cyan4973/xxHash/package.yml b/projects/github.com/Cyan4973/xxHash/package.yml new file mode 100644 index 00000000..ddc8130e --- /dev/null +++ b/projects/github.com/Cyan4973/xxHash/package.yml @@ -0,0 +1,30 @@ +distributable: + url: https://github.com/Cyan4973/xxHash/archive/v{{version}}.tar.gz + strip-components: 1 + +versions: + github: Cyan4973/xxHash + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + script: | + make --jobs {{ hw.concurrency }} + make --jobs {{ hw.concurrency }} install $ARGS + + env: + ARGS: + - PREFIX="{{prefix}}" + +provides: + - bin/xxhsum + - bin/xxh32sum + - bin/xxh64sum + - bin/xxh128sum + +test: + dependencies: + freedesktop.org/pkg-config: '*' + script: + pkg-config --modversion libxxhash | grep {{version}} \ No newline at end of file