summaryrefslogtreecommitdiff
path: root/repo/util/lynx.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-06 14:15:05 +0000
committerdavidovski <david@davidovski.xyz>2022-02-06 14:15:05 +0000
commit31723b3943baa14269be93abcb03e1ffe44a3407 (patch)
treeb47e2094372b4c15a57220bfb1d70cdf87ed1eee /repo/util/lynx.xibuild
parent16fc77be18cd3bdd4f6a9af86b9857663894f522 (diff)
adde a few extra utilities
Diffstat (limited to 'repo/util/lynx.xibuild')
-rw-r--r--repo/util/lynx.xibuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/repo/util/lynx.xibuild b/repo/util/lynx.xibuild
new file mode 100644
index 0000000..aef0e88
--- /dev/null
+++ b/repo/util/lynx.xibuild
@@ -0,0 +1,32 @@
+#!/bin/bash
+
+MAKEDEPS=(make )
+DEPS=(libidn openssl)
+
+PKG_VER=2.8.9rel.1
+
+SOURCE=https://invisible-mirror.net/archives/lynx/tarballs/lynx$PKG_VER.tar.bz2
+ADDITIONAL=(
+ https://www.linuxfromscratch.org/patches/blfs/svn/lynx-$PKG_VER-security_fix-1.patch
+ )
+
+DESC="A text only browser for the WWW"
+
+build () {
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/lynx \
+ --datadir=/usr/share/doc/lynx-$PKG_VER \
+ --with-zlib \
+ --with-bzlib \
+ --with-ssl \
+ --with-screen=ncursesw \
+ --enable-locale-charset &&
+ make
+
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install-full
+ chgrp -v -R root $PKG_DEST/usr/share/doc/lynx-$PKG_VER/lynx_doc
+
+}