diff --git a/ports/lynx/build.sh b/ports/lynx/build.sh new file mode 100755 index 00000000..5df99e5f --- /dev/null +++ b/ports/lynx/build.sh @@ -0,0 +1,13 @@ +#!/bin/bash ../install.sh + +NAME='lynx' +VERSION='2.9.2' +DOWNLOAD_URL="https://invisible-island.net/archives/lynx/tarballs/lynx$VERSION.tar.gz#99f8f28f860094c533100d1cedf058c27fb242ce25e991e2d5f30ece4457a3bf" +TAR_CONTENT="lynx$VERSION" +DEPENDENCIES=('ncurses' 'ca-certificates' 'openssl' 'zlib') +CONFIGURE_OPTIONS=( + '--without-system-type' + '--with-sceen=ncurses' + '--with-ssl' + '--with-zlib' +) diff --git a/ports/lynx/patches/0001-add-banan_os-target.patch b/ports/lynx/patches/0001-add-banan_os-target.patch new file mode 100644 index 00000000..c89dce7a --- /dev/null +++ b/ports/lynx/patches/0001-add-banan_os-target.patch @@ -0,0 +1,12 @@ +diff -ruN lynx2.9.2/config.sub lynx2.9.2-banan_os/config.sub +--- lynx2.9.2/config.sub 2023-12-27 16:41:27.000000000 +0200 ++++ lynx2.9.2-banan_os/config.sub 2024-08-21 14:23:47.519364107 +0300 +@@ -1768,7 +1768,7 @@ + | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ + | midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \ + | nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \ +- | fiwix* | mlibc* | cos* | mbr* | ironclad* ) ++ | fiwix* | mlibc* | cos* | mbr* | ironclad* | banan_os* ) + ;; + # This one is extra strict with allowed versions + sco3.2v2 | sco3.2v[4-9]* | sco5v6*)