wok annotate lynx/receipt @ rev 21502
mutagen: modified WGET_URL
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 02 15:49:56 2019 +0100 (2019-05-02) |
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 } |