wok-next annotate lynx/receipt @ rev 19347
Up dropbear (2016.74)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 22 20:58:18 2016 +0200 (2016-07-22) |
parents | 6f52e7b054e2 |
children | b81a67e2a4db |
rev | line source |
---|---|
samuel_trassare@11743 | 1 # SliTaz package receipt. |
samuel_trassare@11743 | 2 |
samuel_trassare@11743 | 3 PACKAGE="lynx" |
pankso@15989 | 4 VERSION="2.8.8" |
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" |
samuel_trassare@11743 | 9 WEB_SITE="http://lynx.isc.org" |
samuel_trassare@11743 | 10 TARBALL="$PACKAGE$VERSION.tar.gz" |
pankso@15989 | 11 WGET_URL="http://lynx.isc.org/$PACKAGE$VERSION/$TARBALL" |
pankso@15999 | 12 HOST_ARCH="i486 arm" |
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" |
pascal@12439 | 16 BUILD_DEPENDS="openssl-dev ncurses-dev zlib-dev" |
samuel_trassare@11743 | 17 |
samuel_trassare@11743 | 18 # Rules to configure and make the package. |
samuel_trassare@11743 | 19 compile_rules() |
samuel_trassare@11743 | 20 { |
samuel_trassare@11743 | 21 ./configure $CONFIGURE_ARGS \ |
gokhlayeh@12069 | 22 --sysconfdir=/etc \ |
gokhlayeh@12069 | 23 --mandir=/usr/share/man \ |
gokhlayeh@12069 | 24 --enable-ipv6 \ |
gokhlayeh@12069 | 25 --enable-gnutls-compat \ |
gokhlayeh@12069 | 26 --enable-nls \ |
gokhlayeh@12069 | 27 --with-ssl \ |
gokhlayeh@12069 | 28 --with-gnutls \ |
gokhlayeh@12069 | 29 --with-zlib \ |
gokhlayeh@12069 | 30 --with-nss-compat && |
samuel_trassare@11743 | 31 make && |
samuel_trassare@11743 | 32 make install |
samuel_trassare@11743 | 33 } |
samuel_trassare@11743 | 34 |
samuel_trassare@11743 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
samuel_trassare@11743 | 36 genpkg_rules() |
samuel_trassare@11743 | 37 { |
erjo@13480 | 38 mkdir -p $fs/usr |
erjo@13480 | 39 cp -a $install/usr/bin $fs/usr |
erjo@13480 | 40 cp -a $install/etc $fs/ |
samuel_trassare@11743 | 41 } |
pankso@15989 | 42 |
pankso@15989 | 43 testsuite() |
pankso@15989 | 44 { |
pankso@15989 | 45 readelf -h $install/usr/bin/lynx |
pankso@15989 | 46 } |