From 751b7f3d84515715d07d92a5aed78062bd39adff Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 3 May 2022 19:59:53 +0100 Subject: added extra files --- repo/apps/links.xibuild | 27 +++++++++++++++++++++++++++ repo/apps/xlinks.xibuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 repo/apps/links.xibuild create mode 100644 repo/apps/xlinks.xibuild (limited to 'repo/apps') diff --git a/repo/apps/links.xibuild b/repo/apps/links.xibuild new file mode 100644 index 0000000..bb2540d --- /dev/null +++ b/repo/apps/links.xibuild @@ -0,0 +1,27 @@ +#!/bin/sh + +NAME="links" +DESC="Web browser running in text mode only" + +MAKEDEPS="make " +DEPS="bzip2 openssl libevent musl zlib zstd " + +PKG_VER=2.25 +SOURCE="http://links.twibright.com/download/links-$PKG_VER.tar.bz2" + +build () { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --mandir=/usr/share/man + --disable-javascript \ + --disable-graphics \ + --without-x \ + --disable-nls + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/apps/xlinks.xibuild b/repo/apps/xlinks.xibuild new file mode 100644 index 0000000..992c6a3 --- /dev/null +++ b/repo/apps/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" +} -- cgit v1.2.1