aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2024-01-20 12:31:58 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2024-01-20 12:31:58 -0500
commite2a0cf2a79b43f9f86b74270f3d96fe300687804 (patch)
treea87edf55f81e78f4d0968d6f006562090260e068 /build
parentec83443853116b07f18fbef8c6de31cf157939a0 (diff)
downloaddotfiles-e2a0cf2a79b43f9f86b74270f3d96fe300687804.tar.gz
dotfiles-e2a0cf2a79b43f9f86b74270f3d96fe300687804.tar.xz
Cleanup unused files and code.
Diffstat (limited to 'build')
-rw-r--r--build/git8
-rwxr-xr-xbuild/nvim6
-rwxr-xr-xbuild/oksh33
-rw-r--r--build/readme.md7
-rw-r--r--build/socat/.gitignore1
-rw-r--r--build/socat/Dockerfile5
-rw-r--r--build/socat/build-int.sh26
-rw-r--r--build/socat/build.sh27
-rwxr-xr-xbuild/tmux36
-rwxr-xr-xbuild/upx26
-rwxr-xr-xbuild/vim18
11 files changed, 0 insertions, 193 deletions
diff --git a/build/git b/build/git
deleted file mode 100644
index 4473110..0000000
--- a/build/git
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-set -e
-set -x
-git clean -fdx .
-make configure
-./configure --prefix="$HOME/pkg"
-make -j"$(nproc)" all doc
-make install install-doc install-html
diff --git a/build/nvim b/build/nvim
deleted file mode 100755
index f7199e6..0000000
--- a/build/nvim
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-# specifically for: https://github.com/neovim/neovim
-
-rm -rf build
-make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$HOME/pkg" -j"$(nproc)"
-make install
diff --git a/build/oksh b/build/oksh
deleted file mode 100755
index 3588d76..0000000
--- a/build/oksh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-set -e
-set -x
-relver="6.9"
-build_dir="/v/autobuild/oksh"
-
-export LDFLAGS="-static"
-PREFIX="${PREFIX:-$HOME/pkg}"
-
-if ! [ -d "$build_dir" ] ; then
- mkdir -p "$build_dir"
-fi
-cd "$build_dir"
-
-arLoc="https://github.com/ibara/oksh/releases/download/oksh-%s/oksh-%s.tar.gz"
-arLoc="$(printf "$arLoc\n" "$relver" "$relver")"
-arFn="oksh-${relver}.tar.gz"
-
-checksum=c08d97b2ac9ee5d88e9e508d27c75502b2d06c20d4c5ab87b496cb3b9951bd35
-
-if ! [ -e "$arFn" ] ; then
- curl -L -o "$arFn" "$arLoc"
-fi
-
-echo "${checksum} $arFn" | sha256sum -c
-
-tar xzvf "$arFn"
-cd "oksh-${relver}"
-./configure --prefix="$PREFIX" --bindir="$PREFIX/bin" --enable-ksh \
- --enable-static
-make
-make install -j$(nproc)
-
diff --git a/build/readme.md b/build/readme.md
deleted file mode 100644
index df1845d..0000000
--- a/build/readme.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# build scripts
-
-
-Probably not a ton of use to others, specific configuration for me
-to build a few applications from source. Mostly because things on
-Ubuntu LTS become rather out of date over time and there are cases
-wehre I need to run that OS.
diff --git a/build/socat/.gitignore b/build/socat/.gitignore
deleted file mode 100644
index 378eac2..0000000
--- a/build/socat/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-build
diff --git a/build/socat/Dockerfile b/build/socat/Dockerfile
deleted file mode 100644
index e872ec8..0000000
--- a/build/socat/Dockerfile
+++ /dev/null
@@ -1,5 +0,0 @@
-FROM alpine:latest
-
-RUN apk add gcc libc-dev make openssl-dev
-
-
diff --git a/build/socat/build-int.sh b/build/socat/build-int.sh
deleted file mode 100644
index 0709a90..0000000
--- a/build/socat/build-int.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-set -e
-set -x
-ver=1.7.3.4
-export LDFLAGS='-static'
-
-cd /build
-
-if [ -e socat ] ; then exit 0 ; fi
-
-if ! [ -e socat.tgz ] ; then
- wget -O socat.tgz "http://www.dest-unreach.org/socat/download/socat-${ver}.tar.gz"
-fi
-
-tar xzvf socat.tgz
-
-cd socat-${ver}
-
-./configure
-make -j$(nproc)
-cp socat ../
-
-cd ..
-
-gzip -c < socat > socat.gz
-base64 < socat.gz > socat.base64.gz
diff --git a/build/socat/build.sh b/build/socat/build.sh
deleted file mode 100644
index fbc70d9..0000000
--- a/build/socat/build.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-build=docker
-if [ -x "$(command -v buildah)" ] ; then
- build=buildah
-fi
-
-run=docker
-if [ -x "$(command -v podman)" ] ; then
- run=podman
-fi
-
-image="socat-builder"
-$build build -t "$image" .
-
-
-if ! [ -d build ] ; then
- mkdir build;
-fi
-
-cp build-int.sh build/build.sh
-echo "chown -R $(id -u):$(id -g) /build" >> build/build.sh
-
-$run run --rm -it \
- -v `pwd`/build:/build \
- "$image" \
- sh /build/build.sh
diff --git a/build/tmux b/build/tmux
deleted file mode 100755
index f160062..0000000
--- a/build/tmux
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-set -e
-set -x
-relver="3.2a"
-build_dir="/v/muslbuild/tmux"
-
-PREFIX="$HOME/musl"
-export CC="musl-gcc -static -I. -I$PREFIX/include/ncursesw -DHAVE_FORKPTY=1 -DHAVE_FDFORKPTY=1"
-
-if ! [ -d "$build_dir" ] ; then
- mkdir -p "$build_dir"
-fi
-cd "$build_dir"
-
-arLoc="https://github.com/tmux/tmux/releases/download/%s/tmux-%s.tar.gz"
-arLoc="$(printf "$arLoc\n" "$relver" "$relver")"
-arFn="tmux-${relver}.tar.gz"
-
-checksum=551553a4f82beaa8dadc9256800bcc284d7c000081e47aa6ecbb6ff36eacd05f
-
-if ! [ -e "$arFn" ] ; then
- curl -L -o "$arFn" "$arLoc"
-fi
-
-echo "${checksum} $arFn" | sha256sum -c
-
-tar xzvf "$arFn"
-cd "tmux-${relver}"
-./configure --prefix="$PREFIX" --bindir="$HOME/bin" \
- --enable-static \
- --host=x86_64-alpine-linux-musl \
- --build=x86_64-alpine-linux-musl
-make clean
-make -j$(nproc)
-make install -j$(nproc)
-
diff --git a/build/upx b/build/upx
deleted file mode 100755
index 9658832..0000000
--- a/build/upx
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-set -e
-set -x
-relver="3.96"
-build_dir="/v/autobuild/jq"
-
-if ! [ -d "$build_dir" ] ; then
- mkdir -p "$build_dir"
-fi
-cd "$build_dir"
-
-arLoc="https://github.com/upx/upx/releases/download/v%s/upx-%s-amd64_linux.tar.xz"
-arLoc="$(printf "$arLoc\n" "$relver" "$relver")"
-arFn="upx-${relver}-amd64_linux.tar.xz"
-
-checksum=ac75f5172c1c530d1b5ce7215ca9e94586c07b675a26af3b97f8421b8b8d413d
-
-if ! [ -e "$arFn" ] ; then
- curl -L -o "$arFn" "$arLoc"
-fi
-
-echo "${checksum} $arFn" | sha256sum -c
-
-tar xJvf "$arFn"
-cd "upx-${relver}-amd64_linux"
-cp upx "$HOME/bin/upx"
diff --git a/build/vim b/build/vim
deleted file mode 100755
index 51779e3..0000000
--- a/build/vim
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-# Build vim from source code, with my usual options
-
-set -e
-set -x
-
-./configure \
- --enable-multibyte \
- --with-x \
- --enable-perlinterp=yes \
- --enable-pythoninterp=yes \
- --enable-python3interp=yes \
- --enable-rubyinterp=yes \
- --with-gnome \
- --prefix=$HOME/pkg
-
-make -j$(nproc)
-make install