1
0
Fork 0
frozenports/devel/ncurses/SCHEMATIC

39 lines
1.4 KiB
Bash

#!/bin/sh
name="ncurses"
short_desc="Library for terminal-independent, full-screen output"
desc="The ncurses software includes a SVr4 and XSI-Curses compatible
curses library as well as terminfo tools including "tic", "infocmp",
and "captoinfo". The library is used by other programs for text-mode
support of color, multiple highlights, forms-drawing characters,
automatic recognition of keypad and function-key sequences, and
more."
category="devel"
version="6.4"
maintainer="ffqq@danwin1210.de"
www="https://invisible-island.net/ncurses/announce.html"
master_site="ftp://ftp.gnu.org/gnu/ncurses"
source_name="$name-$version.tar.gz"
license_logic="single" # accepted values: single, and, or
licenses=("MIT")
build_dependencies=("devel/gmake" "lang/gcc")
run_dependencies=("system/glibc")
build_process() {
cd $name-$version || exit 1
./configure --prefix=/usr \
--mandir=/usr/share/man \
--with-shared \
--without-debug \
--without-normal \
--with-pkg-config-libdir=/usr/lib/pkgconfig \
--with-cxx-shared \
--enable-pc-files \
--enable-widec \
--without-ada \
--with-pkg-config-libdir=/usr/lib/pkgconfig || exit 1
make -j$(nproc) || exit 1
make DESTDIR="$TAMANDUA_STAGE_DIR" install || exit 1
# compatibility
echo "INPUT(-lncursesw)" > $TAMANDUA_STAGE_DIR/usr/lib/libncurses.so
}