diff --git a/makefile b/makefile index 89dc103..d21a417 100644 --- a/makefile +++ b/makefile @@ -5,6 +5,11 @@ # Software depot to archive releases DEPOT = depot@slice.tundraware.com:/opt/depot/ +# Defaults for linuxbrew + +LINUXBREWDIR = /home/linuxbrew +LINUXBREWINSTALL = ${LINUXBREWDIR}/.linuxbrew + # Where to store build tarballs EXPORTDIR = /shared @@ -24,7 +29,7 @@ PIPMODULES = ansible pew pythonz-bd mutagen docutils # Set of packages we want to include in the distribution tarball -MYTOOLS = file-formula gawk gnu-tar htop nload nmap screen socat source-highlight ripgrep tree vim +MYTOOLS = emacs file-formula gawk gnu-tar htop joe nload nmap screen socat source-highlight ripgrep the_silver_searcher tree vim # ----------- Nothing below here should need changing ----------- # @@ -38,6 +43,30 @@ all: clean getbrew bootstrap-build bootstrap-release full-build full-release +##### +# Install from linuxbrew binaries +# You can ignore everything after this stanza +# other than the full release logic +##### + +linuxbrew: + mkdir -p ${TOOLSDIR} + sudo mkdir -p ${LINUXBREWDIR} + sudo ln -nfs ${TOOLSDIR} ${LINUXBREWINSTALL} + git clone https://github.com/Homebrew/brew ${TOOLSDIR} + ${BREW} install --verbose ${BOOTSTRAP} ${LANGS} ${MYTOOLS} + ${BREW} install -s --verbose ${LANGS} + ln -nfs ${TOOLSDIR}/bin/python3 ${TOOLSDIR}/bin/python + ln -nfs ${TOOLSDIR}/bin/pip3 ${TOOLSDIR}/bin/pip + pip install ${PIPMODULES} -U --ignore-installed --break-system-packages + + + +##### +# Build everyting from source +##### + + # Get latest linuxbrew getbrew: