wok-next view wget/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 523cce42deab
children 7c5d038be95b
line source
1 # SliTaz package receipt v2.
3 PACKAGE="wget"
4 VERSION="1.19.5"
5 CATEGORY="network"
6 SHORT_DESC="GNU Wget - the non-interactive network downloader"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/wget/"
11 TARBALL="$PACKAGE-$VERSION.tar.lz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="lzip openssl-dev libidn2-dev util-linux-uuid-dev gettext-dev \
15 zlib-dev perl pcre-dev libpsl-dev gnutls-dev"
16 SPLIT="wget+gnutls:gnutls"
18 compile_rules() {
19 case $SET in
20 '') SET_ARGS='--with-ssl=openssl';;
21 gnutls) SET_ARGS='--with-ssl=gnutls';;
22 esac
24 ./configure \
25 $SET_ARGS \
26 $CONFIGURE_ARGS &&
27 make DESTDIR=$install install
28 }
30 genpkg_rules() {
31 copy @std
32 case $PACKAGE in
33 wget)
34 DEPENDS="libidn2 libpcre libpsl openssl util-linux-uuid zlib"
35 ;;
36 wget+gnutls)
37 DEPENDS="libgnutls libidn2 libpcre libpsl nettle util-linux-uuid \
38 zlib"
39 CAT="network|using GNUTLS instead of OpenSSL"
40 PROVIDE="wget"
41 ;;
42 esac
43 CONFIG_FILES="/etc/wgetrc"
44 }