./configure --host=avr32-linux --prefix=/usr/avr32-linux
make
sudo make install
This creates a set of headers and libraries in your AVR32 environment so you can build applications that require ncurses.
The only files you need to install on your target are the /usr/avr32-linux/share/terminfo directories.
Each directory contains one or more terminal capabilities files for the type of terminal being used.
You can detect what terminal type you need by typing:
printenv | grep TERM
* ncurses-5.6-avr32-bin.tar.bz2: ncurses binary for AVR32