wok-next view lynx/receipt @ rev 20155
uclibc-cross-compiler-x86_64: receipt v2 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 15:25:12 2017 +0100 (2017-11-01) |
parents | 0fa6869e0b4b |
children | e6615350078d |
line source
1 # SliTaz package receipt.
3 PACKAGE="lynx"
4 VERSION="2.8.8"
5 CATEGORY="network"
6 SHORT_DESC="Terminal-based text-only browser."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://lynx.isc.org"
10 TARBALL="$PACKAGE$VERSION.tar.gz"
11 WGET_URL="http://lynx.isc.org/$PACKAGE$VERSION/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # Will require build dep libtirpc after glibc is upgraded to 2.14.
15 DEPENDS="libssl ncurses zlib"
16 BUILD_DEPENDS="openssl-dev ncurses-dev zlib-dev gettext-tools"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure $CONFIGURE_ARGS \
22 --sysconfdir=/etc \
23 --mandir=/usr/share/man \
24 --enable-ipv6 \
25 --enable-gnutls-compat \
26 --enable-nls \
27 --with-ssl \
28 --with-gnutls \
29 --with-zlib \
30 --with-nss-compat &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/etc $fs/
41 }
43 testsuite()
44 {
45 readelf -h $install/usr/bin/lynx
46 }