diff options
Diffstat (limited to 'sources/ncurses/ncurses.spec')
| -rw-r--r-- | sources/ncurses/ncurses.spec | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sources/ncurses/ncurses.spec b/sources/ncurses/ncurses.spec new file mode 100644 index 0000000..c5918ca --- /dev/null +++ b/sources/ncurses/ncurses.spec @@ -0,0 +1,30 @@ +# Maintainer: Alexander Hill <ahill@breadpudding.dev> +SRC_HASH="136d91bc269a9a5785e5f9e980bc76ab57428f604ce3e5a5a90cebc767971cc6" +SRC_NAME="ncurses" +SRC_URL="https://invisible-island.net/archives/ncurses/ncurses-6.5.tar.gz" +SRC_VERSION="6.5" + +build() { + tar xf ../$SRC_FILENAME + cd ncurses-*/ + ./configure $TT_AUTOCONF_COMMON \ + --with-cxx-shared \ + --with-shared \ + --without-ada \ + --without-normal \ + --without-tests + make -O -j $TT_PROCS +} + +clean() { + rm -rf ncurses-*/ +} + +package() { + cd ncurses-*/ + make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR + # NOTE: These symlinks exist for compatibility's sake, since some libraries + # will only look for "ncurses" and not "ncursesw". ~ahill + ln -s libncursesw.so $TT_INSTALLDIR/lib/libncurses.so + ln -s libncurses++w.so $TT_INSTALLDIR/lib/libncurses++.so +}
\ No newline at end of file |
