Skip to content

Commit

Permalink
+lynx (#8510)
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Heider <[email protected]>
  • Loading branch information
mxcl and jhheider authored Jan 27, 2025
1 parent 8e6b7a8 commit 7da5c04
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions projects/invisible-island.net/lynx/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
distributable:
url: https://invisible-island.net/archives/lynx/tarballs/lynx{{version}}.tar.gz
strip-components: 1

display-name: lynx

versions:
url: https://invisible-island.net/archives/lynx/tarballs
match: /lynx\d+\.\d+\.\d+\.tar\.gz/
strip:
- /lynx/
- /.tar.gz/

runtime:
env:
LYNX_CFG: ${{prefix}}/etc/lynx.cfg

dependencies:
openssl.org: ^3
invisible-island.net/ncurses: ^6

build:
script:
- ./configure $ARGS
- make install
env:
ARGS:
- --prefix={{prefix}}
- --disable-debug
- --disable-echo
- --enable-default-colors
- --with-zlib
- --with-bzlib
- --enable-ipv6
- --with-screen=ncurses
- --enable-externs
- --disable-config-info
- --with-ssl={{deps.openssl.org.prefix}}
- --with-curses={{deps.invisible-island.net/ncurses.prefix}}

provides:
- bin/lynx

test: lynx -dump https://example.org

0 comments on commit 7da5c04

Please sign in to comment.