1 # Description: A System V Release 4.0 curses emulation library
2 # URL: http://www.gnu.org/software/ncurses/ncurses.html
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
18 --with-install-prefix=$PKG \
31 sed '/^BUILD_CCFLAGS/ s/-DHAVE_CONFIG_H/-DHAVE_CONFIG_H -D_GNU_SOURCE/' -i ncurses/Makefile.in
32 ./configure $OPTIONS --enable-widec
39 mv $PKG/usr/lib/libncurses$i.so.* $PKG/lib && \
40 ln -sf libncurses$i.so $PKG/usr/lib/libcurses$i.so && \
41 ln -sf ../../lib/libncurses$i.so.5 $PKG/usr/lib/libncurses$i.so && \
42 ln -sf ../../lib/libncurses$i.so.5 $PKG/usr/lib/libncurses$i.so.5 \