wok view lynx/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents a8354ef57fe4
children ede1d184d5c5
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure $CONFIGURE_ARGS \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --enable-ipv6 \
27 --enable-gnutls-compat \
28 --enable-nls \
29 --with-ssl \
30 --with-gnutls \
31 --with-zlib \
32 --with-nss-compat &&
33 make -j 1 &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/etc $fs/
44 }
46 testsuite()
47 {
48 readelf -h $install/usr/bin/lynx
49 }