From 104f042ddbef56e323b61353fceeb5fd3dae5556 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sun, 15 Apr 2018 15:01:45 -0400 Subject: Added kernel config and many more scripts Altered scripts to allow for rebuilding wihout deleting the `build` folder. Added ncurses and vim to the build. Also added initial version of runit Still need to make sure that get_sources and distfiles are properly gathered from the script soon --- scripts/ncurses.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 scripts/ncurses.sh (limited to 'scripts/ncurses.sh') diff --git a/scripts/ncurses.sh b/scripts/ncurses.sh new file mode 100644 index 0000000..b6b340e --- /dev/null +++ b/scripts/ncurses.sh @@ -0,0 +1,17 @@ +#!/bin/sh +. ./.vars +export DESTDIR=$prefix +VERSION=6.1 +BUILD_DIR="${build_dir}/ncurses-$VERSION" +if ! [ -d "$BUILD_DIR" ] ; then + cd "$build_dir" + tar xfzv ${dist_dir}/ncurses-$VERSION.tar.gz +fi +cd "${build_dir}/ncurses-$VERSION" +export CC=musl-gcc +export CLFAGS="-I$prefix/usr/include" +export LDFLAGS="-static -L$prefix/usr/include" +export DESTDIR="$prefix" +./configure --prefix=/usr --enable-static +make -j$(numproc) +make install -- cgit v1.2.3