* updated maddy (0.7.1 -> 0.8.1), untested
[t2sde.git] / package / containers / docker-cli / docker-cli.conf
blobecc83f434cc19a799a764cf458f873966bdeee02
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/docker-cli/docker-cli.conf
3 # Copyright (C) 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=
13 makeinstopt=
15 export CGO_ENABLED=0
16 export GITCOMMIT=d260a54c
17 export GOPATH=$builddir/cli-$ver
19 var_append makeopt ' ' 'dynbinary'
21 hook_add premake 5 'docker-cli-pre'
22 docker-cli-pre() {
23         mkdir -p $builddir/cli-$ver/src/github.com/docker/
24         ln -sv $builddir/cli-$ver $builddir/cli-$ver/src/github.com/docker/cli
27 hook_add postmake 5 'docker-cli-pm'
28 docker-cli-pm() {
29         install -m 755 build/docker $root$bindir