wok view lynx/receipt @ rev 24463

updated dar (2.6.7 -> 2.7.3)
author Hans-G?nter Theisgen
date Thu Feb 17 07:23:25 2022 +0100 (2022-02-17)
parents f9ea4a4c7b87
children 617f7ee416b1
line source
1 # SliTaz package receipt.
3 PACKAGE="lynx"
4 VERSION="2.8.9rel1"
5 CATEGORY="network"
6 SHORT_DESC="Terminal-based text-only browser."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://lynx.browser.org/"
11 TARBALL="$PACKAGE${VERSION/rel/rel.}.tar.bz2"
12 WGET_URL="https://invisible-mirror.net/archives/$PACKAGE/tarballs/$TARBALL"
14 # Will require build dep libtirpc after glibc is upgraded to 2.14.
15 DEPENDS="libssl ncurses zlib"
16 BUILD_DEPENDS="ncurses-dev openssl-dev zlib-dev"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed '/href="lynx/!d;/tar/!d;/dev/d;/pre/d;/cur/d;s|.*lynx||;s|.tar.*||;s|rel\.|rel|' | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure $CONFIGURE_ARGS \
31 --sysconfdir=/etc \
32 --mandir=/usr/share/man \
33 --enable-ipv6 \
34 --enable-gnutls-compat \
35 --enable-nls \
36 --with-ssl \
37 --with-gnutls \
38 --with-zlib \
39 --with-nss-compat &&
40 make -j 1 &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr
49 cp -a $install/usr/bin $fs/usr
50 cp -a $install/etc $fs/
51 }
53 testsuite()
54 {
55 readelf -h $install/usr/bin/lynx
56 }