ports

zandra's ports tree
git clone git://zandra.org/ports
Log | Files | Refs | README | LICENSE

ncurses.mk (808B)


      1 TARG = libncurses
      2 
      3 <$mkbuild/mk.common-noinst
      4 
      5 libncurses:QV:
      6 	CC="$CC -static" ./configure \
      7 		--build="$TOOLCHAIN_TRIPLET" \
      8 		--host="$HOST_TOOLCHAIN_TRIPLET" \
      9 		--prefix="$PREFIX" \
     10 		--mandir="$MANDIR" \
     11 		--datadir="$PREFIX/share" \
     12 		--without-tests \
     13 		--with-normal \
     14 		--enable-sigwinch \
     15 		--disable-nls \
     16 		--without-dlsym \
     17 		--without-cxx \
     18 		--without-cxx-binding \
     19 		--enable-widec \
     20 		--without-ada \
     21 		--with-terminfo-dirs="$PREFIX/etc/terminfo:$PREFIX/lib/terminfo:$PREFIX/share/terminfo" \
     22 		--with-fallbacks="linux vt100 xterm xterm-256color" </dev/ptmx
     23 	make -j$nprocs
     24 	ln -sf curses.h include/ncurses.h
     25 	cd lib
     26 	for lib in ncurses form panel menu ; do
     27 		ln -sf lib${lib}w_g.a lib${lib}_g.a
     28 		ln -sf lib${lib}w.a lib${lib}.a
     29 	done
     30 
     31 
     32 install:QV:
     33 	make -j$nprocs install DESTDIR="$ROOT"