~alpine/aports

main/lynx: fix download link and depend on gzip v1 PROPOSED

Sören Tempel: 1
 main/lynx: fix download link and depend on gzip

 1 files changed, 11 insertions(+), 9 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/1421/mbox | git am -3
Learn more about email & git

[alpine-aports] [PATCH] main/lynx: fix download link and depend on gzip Export this patch

The lynx website has been moved to http://lynx.invisible-island.net the
latest version available from that website is 2.8.8, version 2.8.8_p2
doesn't seem to be a valid lynx version (any more?).

Furthermore lynx uses some GNU gzip longopts and therefore needs to have
a GNU gzip runtime dependency.
---
 main/lynx/APKBUILD | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/main/lynx/APKBUILD b/main/lynx/APKBUILD
index f3b05b2..0bb7913 100644
--- a/main/lynx/APKBUILD
+++ b/main/lynx/APKBUILD
@@ -1,23 +1,21 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=lynx
pkgver=2.8.8_p2
pkgver=2.8.8
_relver=${pkgver}rel.2
pkgrel=0
_v=${pkgver%_*}
_d=${_v//./-}
_ver=${pkgver/_p/rel.}

pkgdesc="Cross-platform text-based browser"
url="http://lynx.isc.org"
url="http://lynx.invisible-island.net/"
arch="all"
license="GPL"
depends=
depends="gzip"
makedepends="openssl-dev gettext zlib-dev glib-dev perl ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="http://lynx.isc.org/lynx${_v}/lynx${_ver}.tar.bz2"
source="http://invisible-mirror.net/archives/lynx/tarballs/${pkgname}${_relver}.tar.bz2"

_builddir="$srcdir/${pkgname}${_d}"
_builddir="$srcdir"/${pkgname}${pkgver//./-}
prepare() {
	local i
	cd "$_builddir"
@@ -35,6 +33,10 @@ build() {
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--enable-ipv6 \
		|| return 1
	make helpdir=/usr/share/doc/lynx/help \
		docdir=/usr/share/doc/lynx || return 1
-- 
2.6.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---