$(eval $(call PKG_template,LIBNCURSES,libncurses,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,LIBNCURSES,libncurses,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
install -d -m0755 $(IDIR_LIBNCURSES)/usr/lib
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu}*.so.* $(IDIR_LIBNCURSES)/usr/lib/
install -d -m0755 $(IDIR_LIBNCURSES)/usr/share/terminfo
install -d -m0755 $(IDIR_LIBNCURSES)/usr/lib
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/lib{ncurses,panel,menu}*.so.* $(IDIR_LIBNCURSES)/usr/lib/
install -d -m0755 $(IDIR_LIBNCURSES)/usr/share/terminfo
install -d -m0755 $(IDIR_LIBNCURSES)/usr/share/terminfo/`dirname $${f}`; \
cp -fpR $(PKG_INSTALL_DIR)/usr/share/terminfo/$${f} \
$(IDIR_LIBNCURSES)/usr/share/terminfo/$${f}; \
install -d -m0755 $(IDIR_LIBNCURSES)/usr/share/terminfo/`dirname $${f}`; \
cp -fpR $(PKG_INSTALL_DIR)/usr/share/terminfo/$${f} \
$(IDIR_LIBNCURSES)/usr/share/terminfo/$${f}; \
$(STAGING_DIR)/usr/lib/libcurses.so \
$(STAGING_DIR)/usr/lib/lib{ncurses,panel}.{a,so*} \
$(STAGING_DIR)/usr/lib/libcurses.so \
$(STAGING_DIR)/usr/lib/lib{ncurses,panel}.{a,so*} \