wok-current annotate lynx/receipt @ rev 25590

Update cacerts, up elfutils url, fix pkg-config, py3k rebuild, and xorg build with gcc 6
author Stanislas Leduc <shann@slitaz.org>
date Thu Aug 24 14:03:59 2023 +0000 (16 months ago)
parents ede1d184d5c5
children 5926178cd6fa
rev   line source
samuel_trassare@11743 1 # SliTaz package receipt.
samuel_trassare@11743 2
samuel_trassare@11743 3 PACKAGE="lynx"
pascal@21440 4 VERSION="2.8.9rel1"
samuel_trassare@11743 5 CATEGORY="network"
samuel_trassare@11743 6 SHORT_DESC="Terminal-based text-only browser."
samuel_trassare@11743 7 MAINTAINER="samuel_trassare@yahoo.com"
pascal@15002 8 LICENSE="GPL2"
pascal@24891 9 WEB_SITE="https://lynx.invisible-island.net/"
Hans-G?nter@21406 10
pascal@21440 11 TARBALL="$PACKAGE${VERSION/rel/rel.}.tar.bz2"
Hans-G?nter@21406 12 WGET_URL="https://invisible-mirror.net/archives/$PACKAGE/tarballs/$TARBALL"
samuel_trassare@11743 13
samuel_trassare@11743 14 # Will require build dep libtirpc after glibc is upgraded to 2.14.
pascal@24891 15 DEPENDS="libssl ncursesw zlib"
pascal@24891 16 BUILD_DEPENDS="libtirpc ncursesw-dev openssl-dev zlib-dev patch"
Hans-G?nter@21406 17
Hans-G?nter@21406 18 HOST_ARCH="i486 arm"
samuel_trassare@11743 19
pascal@24447 20 # What is the latest version available today?
pascal@24447 21 current_version()
pascal@24447 22 {
pascal@24447 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 24 sed '/href="lynx/!d;/tar/!d;/dev/d;/pre/d;/cur/d;s|.*lynx||;s|.tar.*||;s|rel\.|rel|' | sort -Vr | sed q
pascal@24447 25 }
pascal@24447 26
samuel_trassare@11743 27 # Rules to configure and make the package.
samuel_trassare@11743 28 compile_rules()
samuel_trassare@11743 29 {
pascal@24891 30 # LFS security patch
pascal@24891 31 patch -Np1 -i $stuff/lynx-2.8.9rel.1-security_fix-1.patch || return 1
pascal@24891 32
Hans-G?nter@21406 33 ./configure $CONFIGURE_ARGS \
Hans-G?nter@21406 34 --sysconfdir=/etc \
Hans-G?nter@21406 35 --mandir=/usr/share/man \
Hans-G?nter@21406 36 --enable-ipv6 \
Hans-G?nter@21406 37 --enable-gnutls-compat \
Hans-G?nter@21406 38 --enable-nls \
Hans-G?nter@21406 39 --with-ssl \
Hans-G?nter@21406 40 --with-gnutls \
Hans-G?nter@21406 41 --with-zlib \
pascal@24891 42 --with-screen=ncursesw \
gokhlayeh@12069 43 --with-nss-compat &&
pascal@24891 44 make &&
samuel_trassare@11743 45 make install
samuel_trassare@11743 46 }
samuel_trassare@11743 47
samuel_trassare@11743 48 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@11743 49 genpkg_rules()
samuel_trassare@11743 50 {
erjo@13480 51 mkdir -p $fs/usr
Hans-G?nter@21406 52
Hans-G?nter@21406 53 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21406 54 cp -a $install/etc $fs/
samuel_trassare@11743 55 }
pankso@15989 56
pankso@15989 57 testsuite()
pankso@15989 58 {
pankso@15989 59 readelf -h $install/usr/bin/lynx
pankso@15989 60 }