From 031bc1627fdc38d1c178707c86dd267224b94693 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 30 Sep 2019 23:35:07 -0400 Subject: Initial commit --- scripts/ncurses/build.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 scripts/ncurses/build.sh (limited to 'scripts/ncurses/build.sh') diff --git a/scripts/ncurses/build.sh b/scripts/ncurses/build.sh new file mode 100644 index 0000000..e4b6a55 --- /dev/null +++ b/scripts/ncurses/build.sh @@ -0,0 +1,32 @@ +#!/bin/bash +name=ncurses +version=6.1 +revision=0 +sources=( + "http://mirror.rit.edu/gnu/${name}/${name}-${version}.tar.gz" +) +depends=() + + +function prepare() { + tar xf ${name}-${version}.tar.gz + cd ${name}-${version} +} + +function build() { + ./configure --prefix=$prefix \ + --with-shared \ + --with-normal \ + --without-debug \ + --without-ada \ + --enable-widec \ + --enable-pc-files \ + --with-cxx-bindings \ + --with-cxx-shared \ + --with-manpage-format=normal + make -j${maxjobs} +} + +function package() { + make install DESTDIR="${destdir}" +} -- cgit