Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 70 lines (50 sloc) 1.68 KB
#!/bin/env beesh
# BEE_VERSION ncurses-6.2-1
# SRCURL[0]="https://ftp.gnu.org/gnu/ncurses/ncurses-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/e812da327b1c2214ac1aed440ea3ae8d/ncurses-6.2.tar.gz"
PATCHES[0]=""
# this gives the standard flags in DEFCONFIG
BEE_BUILDTYPE=autotools
mee_configure() {
:
}
# suppress some config options, or bee_configure will wail around
IGNORE_DATAROOTDIR=yes
mee_build() {
cd ${S}
for WIDEC in --disable-widec --enable-widec; do
test -e Makefile && make clean
bee_configure \
$WIDEC \
--with-shared \
--enable-symlinks \
--enable-pc-files \
--with-pkg-config-libdir=${LIBDIR}/pkgconfig \
--with-termlib=tinfo \
--with-ticlib=tic \
--with-cxx-shared \
--without-debug
make $BEE_MAKEFLAGS
make install DESTDIR=${D}
done
# Use loader scripts to make sure tinfo works even without explicit -ltinfo
# And bow before software requiring curses w/o the n
( cd ${D}${LIBDIR}
rm -vf libcurses.so libcursesw.so libncurses.so libncursesw.so libtermcap.so
echo "INPUT(libncurses.so.6 -ltinfo)" > libncurses.so
echo "INPUT(libncursesw.so.6 -ltinfo)" > libncursesw.so
echo "INPUT(-ltinfo)" > libtermcap.so
echo "INPUT(-lncurses)" > libcurses.so
echo "INPUT(-lncursesw)" > libcursesw.so
)
}
mee_install() {
:
}
mee_install_post() {
# so far ncurses 'believes' it has a complete terminfo database, but
# whilst migrating to ncurses-6 give room for the former (aka compat) database
rm -r ${D}/usr/share/terminfo/*
# drop 877 entries no one will ever read ...
rm -r ${D}${MANDIR}/man3
}