2 # --- T2-COPYRIGHT-NOTE-BEGIN ---
3 # T2 SDE: scripts/Bootstrap
4 # Copyright (C) 2022 - 2024 The T2 SDE Project
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
15 pkg
="bash zstd sed gawk"
19 SDECFG_PARALLEL
="$(getconf _NPROCESSORS_ONLN)"
22 url
=$
(sed -n '/\[D\] /{ s,\[D\] [^ ]* \([^ ]*\) \([^ ]*\),\2\1, ; p; q; }' package
/*/$p/$p.desc
)
25 [ ! -e src
/$file ] && curl
-L -C - -o src
/$file.tmp
"$url" && mv src
/$file{.tmp
,}
30 [ -e configure
-a ! -e Makefile
] && .
/configure
31 make -j${SDECFG_PARALLEL:-1}
36 mkdir
-p /var
/adm
/flists
/etc
/profile.d
38 echo "Essential bootstrap done. To finalize a minimal t2/homebrew, simply first run:"
39 echo " scripts/Emerge-Pkg -deps=none xz coreutils findutils tar pkgconfig"
41 echo "To use Subversion, also install:"
42 echo " scripts/Emerge-Pkg -deps=none apr apr-util openssl utf8proc python scons serf sqlite subversion"