summaryrefslogtreecommitdiff
path: root/repo/apps/xlinks
diff options
context:
space:
mode:
Diffstat (limited to 'repo/apps/xlinks')
-rw-r--r--repo/apps/xlinks/links.desktop8
-rw-r--r--repo/apps/xlinks/xlinks.xibuild30
2 files changed, 38 insertions, 0 deletions
diff --git a/repo/apps/xlinks/links.desktop b/repo/apps/xlinks/links.desktop
new file mode 100644
index 0000000..275d20f
--- /dev/null
+++ b/repo/apps/xlinks/links.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Links
+Comment=Minimal web browser in graphical mode
+Exec=xlinks -g
+Icon=links-48x48.xpm
+Type=Application
+Terminal=false
+Categories=Network;WebBrowser;
diff --git a/repo/apps/xlinks/xlinks.xibuild b/repo/apps/xlinks/xlinks.xibuild
new file mode 100644
index 0000000..992c6a3
--- /dev/null
+++ b/repo/apps/xlinks/xlinks.xibuild
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+NAME="xlinks"
+DESC="Web browser running in both graphics and text mode"
+
+MAKEDEPS="make "
+DEPS="bzip2 openssl libevent musl zlib zstd libx11 tiff libpng librsvg"
+
+PKG_VER=2.25
+SOURCE="http://links.twibright.com/download/links-$PKG_VER.tar.bz2"
+ADDITIONAL="links.desktop"
+
+build () {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-graphics \
+ --with-x \
+ --with-fb
+ --disable-nls
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+ mv $PKG_DEST/usr/bin/links $PKG_DEST/usr/bin/xlinks
+ install -D -m0644 "links.desktop" "$PKG_DEST/usr/share/applications/links.desktop"
+}