add Added Files:
[hdw-repos/packages.git] / demian / lynx / lynx
diff --git a/demian/lynx/lynx b/demian/lynx/lynx
new file mode 100755 (executable)
index 0000000..6ab8d4e
--- /dev/null
@@ -0,0 +1,21 @@
+# HDW Linux lynx
+#
+# [M] Jonathan J. Vargas demian@hackdaworld.dyndns.org
+# [I] Powerful console web browser.
+# [V] 2.8.4
+# [S] 3 10
+# [D] lynx2.8.4.tar.bz2 http://lynx.isc.org/release/
+
+confopt="$confopt --with-ssl"
+post_install()
+{
+    make install-doc
+    make install-help
+    [ -f /etc/lynx.cfg ] || cp -v lynx.cfg /etc/ ;
+
+    lynxcfg="[ -f /etc/lynx.cfg ] && export LYNX_CFG=/etc/lynx.cfg";
+    
+    if ! grep "^$lynxcfg" /etc/conf/profile ; then
+       echo -e "\n$lynxcfg" >> /etc/conf/profile
+    fi
+}