wok-next annotate 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
rev   line source
al@20457 1 # SliTaz package receipt v2.
sygne@1558 2
sygne@1558 3 PACKAGE="wget"
al@20861 4 VERSION="1.19.5"
al@19202 5 CATEGORY="network"
al@19672 6 SHORT_DESC="GNU Wget - the non-interactive network downloader"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15201 8 LICENSE="GPL3"
al@19672 9 WEB_SITE="https://www.gnu.org/software/wget/"
sygne@1558 10
al@20861 11 TARBALL="$PACKAGE-$VERSION.tar.lz"
al@19672 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
al@19672 13
al@21020 14 BUILD_DEPENDS="lzip openssl-dev libidn2-dev util-linux-uuid-dev gettext-dev \
al@20861 15 zlib-dev perl pcre-dev libpsl-dev gnutls-dev"
al@20861 16 SPLIT="wget+gnutls:gnutls"
pankso@9801 17
al@20457 18 compile_rules() {
al@20861 19 case $SET in
al@20861 20 '') SET_ARGS='--with-ssl=openssl';;
al@20861 21 gnutls) SET_ARGS='--with-ssl=gnutls';;
al@20861 22 esac
al@20861 23
al@18963 24 ./configure \
al@20861 25 $SET_ARGS \
al@20534 26 $CONFIGURE_ARGS &&
al@21020 27 make DESTDIR=$install install
sygne@1558 28 }
sygne@1558 29
al@20457 30 genpkg_rules() {
al@20534 31 copy @std
al@20861 32 case $PACKAGE in
al@20861 33 wget)
al@20861 34 DEPENDS="libidn2 libpcre libpsl openssl util-linux-uuid zlib"
al@20861 35 ;;
al@20861 36 wget+gnutls)
al@20861 37 DEPENDS="libgnutls libidn2 libpcre libpsl nettle util-linux-uuid \
al@20861 38 zlib"
al@20861 39 CAT="network|using GNUTLS instead of OpenSSL"
al@20861 40 PROVIDE="wget"
al@20861 41 ;;
al@20861 42 esac
al@20457 43 CONFIG_FILES="/etc/wgetrc"
sygne@1558 44 }