ports: Add lynx port

I have had this for a while but apparently never commited :D
This commit is contained in:
Bananymous 2025-04-22 01:44:49 +03:00
parent 2632507980
commit 32d543943b
2 changed files with 25 additions and 0 deletions

13
ports/lynx/build.sh Executable file
View File

@ -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'
)

View File

@ -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*)