@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := ncurses
PKG_VERSION := 6.1
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_BUILD_DIR := $( BUILD_DIR) /$( PKG_NAME) -$( PKG_VERSION)
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
@ -127,8 +127,10 @@ endef
d e f i n e P a c k a g e / l i b n c u r s e s / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
for lib in ncurses panel menu form; do \
$( CP) $( PKG_INSTALL_DIR) /usr/lib/lib$$ $$ { lib} w.so* $( 1) /usr/lib/; \
ln -s lib$$ $$ { lib} w.so $( 1) /usr/lib/lib$$ $$ { lib} .so; \
$( CP) $( PKG_INSTALL_DIR) /usr/lib/lib$$ $$ { lib} w.so.* $( 1) /usr/lib/; \
for so in $( 1) /usr/lib/lib$$ $$ { lib} w.so.*; do \
ln -s $$ $$ { so##*/} $$ $$ { so%w.so*} .so$$ $$ { so##*w.so} ; \
done ; \
done
e n d e f
@ -146,7 +148,9 @@ endef
d e f i n e B u i l d / I n s t a l l D e v
$( CP) $( PKG_INSTALL_DIR) /* $( 1)
for lib in ncurses panel menu form; do \
ln -s lib$$ $$ { lib} w.so $( 1) /usr/lib/lib$$ $$ { lib} .so; \
for so in $( 1) /usr/lib/lib$$ $$ { lib} w.so*; do \
ln -s $$ $$ { so##*/} $$ $$ { so%w.so*} .so$$ $$ { so##*w.so} ; \
done ; \
done
ln -s . $( 1) /usr/include/ncursesw
$( TARGET_CROSS) ar rc $( 1) /usr/lib/libtinfo.a