forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | ||
|
||
PortSystem 1.0 | ||
PortGroup golang 1.0 | ||
|
||
go.setup github.com/nalgeon/redka 0.5.3 v | ||
github.tarball_from archive | ||
revision 0 | ||
categories databases | ||
maintainers {@sikmir disroot.org:sikmir} \ | ||
openmaintainer | ||
license BSD | ||
|
||
description Redis re-implemented with SQLite | ||
long_description {*}${description} | ||
|
||
set go_ldflags "-s -w -X main.version=${version}" | ||
|
||
build.args-append -ldflags \"${go_ldflags}\" \ | ||
-o bin/ \ | ||
./cmd/redka \ | ||
./cmd/cli | ||
|
||
destroot { | ||
xinstall -m 0755 ${worksrcpath}/bin/redka ${destroot}${prefix}/bin | ||
xinstall -m 0755 ${worksrcpath}/bin/cli ${destroot}${prefix}/bin/redka-cli | ||
} | ||
|
||
checksums ${distname}${extract.suffix} \ | ||
rmd160 fb957a1facf5aa8b16a2d21c3b16e6429415f537 \ | ||
sha256 c5b1746f5c1af905d79247b1e3d808c0da14fd8caf1115023a4d12fe3ad8ebe4 \ | ||
size 121584 | ||
|
||
go.vendors github.com/tidwall/redcon \ | ||
lock v1.6.2 \ | ||
rmd160 724ebc0d97f1cfdae8d19277161cb90f6cebe400 \ | ||
sha256 e35e584f33765b8fcea0a94c5b1fbc8473ae05fdfad1e1e766650cb308d440d3 \ | ||
size 49178 \ | ||
github.com/tidwall/match \ | ||
lock v1.1.1 \ | ||
rmd160 c120d8ecd4d45abbb5b04deb804d1566b9a672fe \ | ||
sha256 9fd7217a82378a818d31cf6b01db7f9f176674cea583b139ee89b4f06da2ccfd \ | ||
size 5934 \ | ||
github.com/tidwall/btree \ | ||
lock v1.7.0 \ | ||
rmd160 59017aac6c4fc24d16e2efffacf61f0d4d91e3e7 \ | ||
sha256 da5041373bcd1b0da101ec3cc26eeba68f778633a4611ad1165d1dd549a547aa \ | ||
size 31444 \ | ||
github.com/mattn/go-sqlite3 \ | ||
lock v1.14.22 \ | ||
rmd160 51cca4f09f23a404613e3eb48b77a44f4d98814e \ | ||
sha256 02c8bc2780ff6f0b845e01efe0cfa006d8f85e48a06cd6c8566c21c3b88a644e \ | ||
size 2602371 |