diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-09-30 23:35:07 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-09-30 23:35:07 -0400 |
commit | 031bc1627fdc38d1c178707c86dd267224b94693 (patch) | |
tree | 9e44e7bfd24da233e0b950892f48932bdde37618 /scripts/ncurses | |
download | spm-031bc1627fdc38d1c178707c86dd267224b94693.tar.gz |
Initial commit
Diffstat (limited to 'scripts/ncurses')
-rw-r--r-- | scripts/ncurses/build.sh | 32 |
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}" +} |