wok-current annotate lynx/receipt @ rev 24726

updated libconfuse (3.2.2 -> 3.3)
author Hans-G?nter Theisgen
date Tue Mar 15 11:15:30 2022 +0100 (2022-03-15)
parents f9ea4a4c7b87
children 617f7ee416b1
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"
Hans-G?nter@21406 9 WEB_SITE="https://lynx.browser.org/"
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.
pankso@15989 15 DEPENDS="libssl ncurses zlib"
Hans-G?nter@21406 16 BUILD_DEPENDS="ncurses-dev openssl-dev zlib-dev"
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 {
Hans-G?nter@21406 30 ./configure $CONFIGURE_ARGS \
Hans-G?nter@21406 31 --sysconfdir=/etc \
Hans-G?nter@21406 32 --mandir=/usr/share/man \
Hans-G?nter@21406 33 --enable-ipv6 \
Hans-G?nter@21406 34 --enable-gnutls-compat \
Hans-G?nter@21406 35 --enable-nls \
Hans-G?nter@21406 36 --with-ssl \
Hans-G?nter@21406 37 --with-gnutls \
Hans-G?nter@21406 38 --with-zlib \
gokhlayeh@12069 39 --with-nss-compat &&
Hans-G?nter@21406 40 make -j 1 &&
samuel_trassare@11743 41 make install
samuel_trassare@11743 42 }
samuel_trassare@11743 43
samuel_trassare@11743 44 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@11743 45 genpkg_rules()
samuel_trassare@11743 46 {
erjo@13480 47 mkdir -p $fs/usr
Hans-G?nter@21406 48
Hans-G?nter@21406 49 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21406 50 cp -a $install/etc $fs/
samuel_trassare@11743 51 }
pankso@15989 52
pankso@15989 53 testsuite()
pankso@15989 54 {
pankso@15989 55 readelf -h $install/usr/bin/lynx
pankso@15989 56 }