wok-6.x annotate lynx/receipt @ rev 23307

updated perl-date-calc (6.3 -> 6.4)
author Hans-G?nter Theisgen
date Sun Mar 29 17:44:34 2020 +0100 (2020-03-29)
parents a8354ef57fe4
children ede1d184d5c5
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
samuel_trassare@11743 20 # Rules to configure and make the package.
samuel_trassare@11743 21 compile_rules()
samuel_trassare@11743 22 {
Hans-G?nter@21406 23 ./configure $CONFIGURE_ARGS \
Hans-G?nter@21406 24 --sysconfdir=/etc \
Hans-G?nter@21406 25 --mandir=/usr/share/man \
Hans-G?nter@21406 26 --enable-ipv6 \
Hans-G?nter@21406 27 --enable-gnutls-compat \
Hans-G?nter@21406 28 --enable-nls \
Hans-G?nter@21406 29 --with-ssl \
Hans-G?nter@21406 30 --with-gnutls \
Hans-G?nter@21406 31 --with-zlib \
gokhlayeh@12069 32 --with-nss-compat &&
Hans-G?nter@21406 33 make -j 1 &&
samuel_trassare@11743 34 make install
samuel_trassare@11743 35 }
samuel_trassare@11743 36
samuel_trassare@11743 37 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@11743 38 genpkg_rules()
samuel_trassare@11743 39 {
erjo@13480 40 mkdir -p $fs/usr
Hans-G?nter@21406 41
Hans-G?nter@21406 42 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21406 43 cp -a $install/etc $fs/
samuel_trassare@11743 44 }
pankso@15989 45
pankso@15989 46 testsuite()
pankso@15989 47 {
pankso@15989 48 readelf -h $install/usr/bin/lynx
pankso@15989 49 }