aboutsummaryrefslogtreecommitdiff
path: root/scripts/ncurses/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ncurses/build.sh')
-rw-r--r--scripts/ncurses/build.sh32
1 files changed, 32 insertions, 0 deletions
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}"
+}