Merge branch '269-new-module-for-redid' into 'master'

Resolve "new module for redis"

Closes #269

See merge request Pmodules/buildblocks!418
This commit is contained in:
2023-08-04 11:37:40 +02:00
3 changed files with 49 additions and 0 deletions

31
Tools/redis/build Executable file
View File

@@ -0,0 +1,31 @@
#!/usr/bin/env modbuild
pbuild::add_to_group 'Tools'
pbuild::set_download_url \
"https://github.com/redis/redis/archive/${V_PKG}.tar.gz"
pbuild::compile_in_sourcetree
pbuild::install_docfiles \
00-RELEASENOTES \
BUGS \
CODE_OF_CONDUCT.md \
CONTRIBUTING.md \
COPYING \
INSTALL \
MANIFESTO \
README.md \
SECURITY.md \
TLS.md
pbuild::configure() { :; }
pbuild::install() {
make PREFIX="${PREFIX}" install
}
# Local Variables:
# mode: sh
# sh-basic-offset: 8
# tab-width: 8
# End:

View File

@@ -0,0 +1,2 @@
redis/7.0.12 stable

16
Tools/redis/modulefile Normal file
View File

@@ -0,0 +1,16 @@
#%Pmodule
module-whatis "open source, in-memory data store"
module-url "https://redis.io"
module-license "GNUPLOT_DIR/share/doc/redis/COPYING"
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
module-help "
Redis is an open source (BSD licensed), in-memory data structure store used
as a database, cache, message broker, and streaming engine. Redis provides
data structures such as strings, hashes, lists, sets, sorted sets with range
queries, bitmaps, hyperloglogs, geospatial indexes, and streams. Redis has
built-in replication, Lua scripting, LRU eviction, transactions, and different
levels of on-disk persistence, and provides high availability via Redis
Sentinel and automatic partitioning with Redis Cluster.
"