diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-04-15 15:01:45 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-04-15 15:01:45 -0400 |
| commit | 104f042ddbef56e323b61353fceeb5fd3dae5556 (patch) | |
| tree | 3138009b987133ca82c17da4aeb87e97eacc6635 /scripts/ncurses.sh | |
| parent | 6fa2b7b7011b709d7fd470c3dcaacfe7c10cf28e (diff) | |
| download | min-104f042ddbef56e323b61353fceeb5fd3dae5556.tar.gz min-104f042ddbef56e323b61353fceeb5fd3dae5556.tar.xz | |
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
Diffstat (limited to 'scripts/ncurses.sh')
| -rw-r--r-- | scripts/ncurses.sh | 17 |
1 files changed, 17 insertions, 0 deletions
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 |
