* move libffi to base/ Category
[t2sde.git] / package / contrib / cipd / cipd.conf
blob7ef0fb93322ab2643663bd49c4dccbb171c8eb64
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/cipd/cipd.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 export CGO_ENABLED=1
14 var_insert taropt ' ' --one-top-level
15 var_append goconfopt ' ' ./client/cmd/$pkg
16 var_remove GCC_WRAPPER_REMOVE ' ' '-gdwarf*'
18 hook_add prepatch 5 cipd_prepare
19 hook_add postmake 5 "install ./cipd $root$bindir/"
21 cipd_prepare() {
22         go mod init cipdmod
23         go mod tidy