Browse Source

ncurses: moved tic_only() custmain to make conf file more readable

stable/0.2
Christian Wiese 14 years ago
parent
commit
1ca91e9a83
  1. 32
      base/ncurses/ncurses.conf

32
base/ncurses/ncurses.conf

@ -36,24 +36,26 @@ var_append patchfiles " " "$localpatches"
# on dietlibc we won't use NLS
[ "$SDECFG_LIBC" != dietlibc ] || SDECFG_DISABLE_NLS=1
# custmain for toolchain stage
tic_only() {
mkdir build-tic
cd build-tic
# build a standalone termlib and dependendencyless ticlib
../configure --prefix=$root --without-debug --with-termlib \
--with-ticlib --disable-tic-depends --with-shared
# build needed header files
make -C include
# build and install a tic which is linked against libtinfo
# and libtic only
make -C progs tic
cp -a lib/libtinfo.so* $root/lib
cp -a lib/libtic.so* $root/lib
cp -a progs/tic $root/bin
}
if atstage toolchain; then
buildloops=1
tic_only() {
mkdir build-tic
cd build-tic
# build a standalone termlib and dependendencyless ticlib
../configure --prefix=$root --without-debug --with-termlib \
--with-ticlib --disable-tic-depends --with-shared
# build needed header files
make -C include
# build and install a tic which is linked against libtinfo
# and libtic only
make -C progs tic
cp -a lib/libtinfo.so* $root/lib
cp -a lib/libtic.so* $root/lib
cp -a progs/tic $root/bin
}
custmain='tic_only'
else

Loading…
Cancel
Save