* manually add pygments hatchling DEP and update .cache
[t2sde.git] / package / network / dendrite / dendrite.conf
blob9c3fa0ebb26a5484a0ea81c66def5db15ee38add
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/dendrite/dendrite.conf
3 # Copyright (C) 2023 - 2024 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
12 rungo=0
13 runmake=0
15 hook_add inmake 5 "dendrite_inmake"
16 hook_add postmake 5 "dendrite_postmake"
18 var_remove GCC_WRAPPER_REMOVE ' ' '-gdwarf*'
20 dendrite_inmake() {
21         for cmd in dendrite generate-keys create-account; do
22                 go build -trimpath -v -o bin/$cmd ./cmd/$cmd
23         done
26 dendrite_postmake() {
27         install -Dm755 bin/dendrite $root$bindir
28         install -Dm755 bin/generate-keys $root$bindir
29         install -Dm755 bin/create-account $root$bindir
31         install -Dm644 dendrite-sample.yaml $root$sysconfdir/$pkg/dendrite.yaml