wok-next annotate lynx/receipt @ rev 15002

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 21:12:16 2013 +0000 (2013-08-10)
parents 55ca23a7ba5a
children 6f52e7b054e2
rev   line source
samuel_trassare@11743 1 # SliTaz package receipt.
samuel_trassare@11743 2
samuel_trassare@11743 3 PACKAGE="lynx"
samuel_trassare@11743 4 VERSION="2.8.7"
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"
samuel_trassare@11743 11 WGET_URL="http://www.artfiles.org/lynx.isc.org/$PACKAGE$VERSION/$TARBALL"
samuel_trassare@11743 12
samuel_trassare@11743 13 DEPENDS="ncurses zlib"
samuel_trassare@11743 14 # Will require build dep libtirpc after glibc is upgraded to 2.14.
pascal@12439 15 BUILD_DEPENDS="openssl-dev ncurses-dev zlib-dev"
samuel_trassare@11743 16
samuel_trassare@11743 17 # Rules to configure and make the package.
samuel_trassare@11743 18 compile_rules()
samuel_trassare@11743 19 {
samuel_trassare@11743 20 ./configure $CONFIGURE_ARGS \
gokhlayeh@12069 21 --sysconfdir=/etc \
gokhlayeh@12069 22 --mandir=/usr/share/man \
gokhlayeh@12069 23 --enable-ipv6 \
gokhlayeh@12069 24 --enable-gnutls-compat \
gokhlayeh@12069 25 --enable-nls \
gokhlayeh@12069 26 --with-ssl \
gokhlayeh@12069 27 --with-gnutls \
gokhlayeh@12069 28 --with-zlib \
gokhlayeh@12069 29 --with-nss-compat &&
samuel_trassare@11743 30 make &&
samuel_trassare@11743 31 make install
samuel_trassare@11743 32 }
samuel_trassare@11743 33
samuel_trassare@11743 34 # Rules to gen a SliTaz package suitable for Tazpkg.
samuel_trassare@11743 35 genpkg_rules()
samuel_trassare@11743 36 {
erjo@13480 37 mkdir -p $fs/usr
erjo@13480 38
erjo@13480 39 cp -a $install/usr/bin $fs/usr
erjo@13480 40 cp -a $install/etc $fs/
samuel_trassare@11743 41 }