lynx: update to 2.9.0

- Remove stale mirrors
- Use HTTPS for package URL
- Don't set default configure args
- Disable newly added bz2 support
- Formatting

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
This commit is contained in:
krant 2024-02-06 12:19:14 +02:00 committed by Rosen Penev
parent c40da57d7b
commit 3e3db442e7
1 changed files with 26 additions and 30 deletions

View File

@ -7,23 +7,17 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=lynx
PKG_VERSION:=2.8.9rel.1
PKG_RELEASE:=2
PKG_VERSION:=2.9.0
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0
PKG_MAINTAINER:=Leonid Esman <leonid.esman@gmail.com>
PKG_CPE_ID:=cpe:/a:lynx:lynx
PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://invisible-mirror.net/archives/lynx/tarballs/ \
https://ftp.icm.edu.pl/packages/lynx/tarballs/ \
http://ftp.oregonstate.edu/pub/blfs/conglomeration/lynx/ \
https://ftp.osuosl.org/pub/blfs/conglomeration/lynx/ \
https://fossies.org/linux/www/
PKG_HASH:=387f193d7792f9cfada14c60b0e5c0bff18f227d9257a39483e14fa1aaf79595
PKG_HASH:=5bcae5e2e6043ca7b220963a97763c49c13218d849ffda6be7739bfd5a2d36ff
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)$(PKG_VERSION)
# try current development version
# URL for current development version - http://invisible-island.net/datafiles/release/lynx-cur.tar.bz2
include $(INCLUDE_DIR)/package.mk
@ -32,32 +26,35 @@ define Package/lynx
SECTION:=net
CATEGORY:=Network
DEPENDS:=+libncursesw +zlib +libopenssl +ca-bundle
URL:=http://lynx.invisible-island.net/
URL:=https://lynx.invisible-island.net/
endef
define Package/lynx/description
Classic non-graphical (text-mode) web browser
endef
# customize as you need
CONFIGURE_ARGS += --with-zlib --with-ssl \
--with-build-cc="$(HOSTCC)" \
--with-build-cflags="$(HOST_CFLAGS)" \
--with-build-cppflags="$(HOST_CPPFLAGS)" \
--with-build-ldflags="$(HOST_LDFLAGS)" \
--enable-ipv6 \
--with-screen=ncursesw \
--enable-widec \
--enable-locale-charset \
--enable-charset-choice \
--enable-cjk \
--enable-japanese-utf8 \
--enable-nsl-fork \
--disable-config-info --disable-echo \
--disable-dired --disable-trace \
--disable-finger --disable-gopher --disable-news --disable-wais \
--disable-prettysrc --disable-scrollbar --disable-gzip-help \
--disable-idna --disable-syslog --disable-font-switch
CONFIGURE_ARGS += \
--with-ssl \
--with-build-cc="$(HOSTCC)" \
--with-build-cflags="$(HOST_CFLAGS)" \
--with-build-cppflags="$(HOST_CPPFLAGS)" \
--with-build-ldflags="$(HOST_LDFLAGS)" \
--enable-ipv6 \
--with-screen=ncursesw \
--enable-widec \
--enable-charset-choice \
--enable-nsl-fork \
--disable-config-info \
--disable-dired \
--disable-trace \
--disable-finger \
--disable-gopher \
--disable-news \
--disable-wais \
--disable-prettysrc \
--disable-scrollbar \
--disable-idna \
--without-bzlib
CONFIGURE_VARS += cf_cv_ncurses_header="ncursesw/curses.h" \
ac_cv_path_NCURSES_CONFIG=""
@ -71,4 +68,3 @@ define Package/lynx/install
endef
$(eval $(call BuildPackage,lynx))