summaryrefslogtreecommitdiffstats
path: root/http
diff options
context:
space:
mode:
authorFlorian Franzmann2021-05-24 12:46:35 +0200
committerFlorian Franzmann2021-05-31 23:50:33 +0200
commitf7df8186bab28c150666bd5b11aaf11a85ef1b3b (patch)
treeee2a50b7cbd42b15fcd55e10b0dc5bdca85ac20f /http
parentfd9551bdb786d1131f71fc3d74e9daf7cc974635 (diff)
http/links: version 2.23
Diffstat (limited to 'http')
-rwxr-xr-xhttp/links/DEPENDS26
-rwxr-xr-xhttp/links/DETAILS10
-rw-r--r--http/links/HISTORY5
-rwxr-xr-xhttp/links/PRE_BUILD16
4 files changed, 52 insertions, 5 deletions
diff --git a/http/links/DEPENDS b/http/links/DEPENDS
index 735f282f34..7be0e3d40f 100755
--- a/http/links/DEPENDS
+++ b/http/links/DEPENDS
@@ -1,3 +1,29 @@
+depends libpng &&
+
+depends autoconf &&
+depends automake &&
+
+optional_depends brotli "--with-brotli" "--without-brotli" "for brotli-compressed content" &&
+optional_depends bzip2 "--with-bzip2" "--without-bzip2" "for bzip2-compressed content" &&
+optional_depends gpm "--with-gpm" "--without-gpm" "for text mode mouse support" &&
+optional_depends JPEG "--with-libjpeg" "--without-libjpeg" "for JPEG support" &&
+optional_depends libevent "--with-libevent" "--without-libevent" "for libevent support" &&
+optional_depends lzip "--with-lzip" "--without-lzip" "for lzip decompression" &&
+optional_depends LZMA "--with-lzma" "--without-lzma" "for LZMA decompression" &&
+optional_depends zlib "--with-zlib" "--without-zlib" "for zlib-compressed content" &&
+optional_depends zstd "--with-zstd" "--without-zstd" "for zstd-compressed content" &&
+
+optional_depends svgalib "--with-svgalib --enable-graphics" "--without-svgalib" "to run $SPELL under SVGAlib" &&
+
+optional_depends libx11 "--with-x --enable-graphics" "--without-x" "for X11 support" &&
+if is_depends_enabled $SPELL libx11; then
+ depends libxext
+ optional_depends freetype2 "--with-freetype" "--without-freetype" "for font support"
+ if is_depends_enabled $SPELL freetype2; then
+ depends fontconfig
+ fi
+fi &&
+
optional_depends SSL \
"--with-opennssl" \
"--without-opennssl" \
diff --git a/http/links/DETAILS b/http/links/DETAILS
index de39a95bc5..b95900dadf 100755
--- a/http/links/DETAILS
+++ b/http/links/DETAILS
@@ -1,11 +1,11 @@
SPELL=links
- VERSION=1.00
- SOURCE=$SPELL-$VERSION.tar.gz
+ VERSION=2.23
+ SOURCE=$SPELL-$VERSION.tar.bz2
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
- SOURCE_URL[0]=http://artax.karlin.mff.cuni.cz/~mikulas/links/download/$SOURCE
- SOURCE_HASH=sha512:4a07cfccb4d32598b163e117b4185f2f21d2a8fde102c01b85e22a55a5bf25e3cd2b2c5e20d87009eacf76fa8fd9bd4b60ccdc64767fd80aef3354a3b7c6729f
+ SOURCE_URL[0]=http://links.twibright.com/download/$SOURCE
+ SOURCE_HASH=sha512:3c233dab2e7e5ca72f582c5af9c5799b3d6c1a5a64d4e9e0209f78f347a245dc760c2340f71839fd42e1c9f358599b8baa12aa024938f2ab1b6424c8fb0b9a7d
LICENSE[0]=GPL
- WEB_SITE=http://links.sourceforge.net/
+ WEB_SITE=http://links.twibright.com/
ENTERED=20011027
KEYWORDS="http browser"
SHORT="text browser similar to lynx"
diff --git a/http/links/HISTORY b/http/links/HISTORY
index 0d7a8dea87..fc05f92338 100644
--- a/http/links/HISTORY
+++ b/http/links/HISTORY
@@ -1,3 +1,8 @@
+2021-05-24 Florian Franzmann <bwlf@bandrate.org>
+ * DETAILS: version 2.23, update WEBSITE and SOURCE_URL
+ * DEPENDS: add missing optional dependencies
+ * PRE_BUILD: fix messy autoconf, solution adapted from Gentoo
+
2014-08-24 Treeve Jelbert <treeve@sourcemage.org>
* DEPENDS: fix bad with-SSL usage
diff --git a/http/links/PRE_BUILD b/http/links/PRE_BUILD
new file mode 100755
index 0000000000..ae5eca0a1e
--- /dev/null
+++ b/http/links/PRE_BUILD
@@ -0,0 +1,16 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+cd "$SOURCE_DIRECTORY/intl" &&
+./gen-intl &&
+./synclang &&
+
+cd "$SOURCE_DIRECTORY" &&
+sed -i \
+ -e '/AC_PROG_CXX/s:dnl ::' \
+ -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
+ configure.in &&
+
+mv configure.in configure.ac &&
+
+autoreconf -fi