wok-next view wget/receipt @ rev 20688

OpenSSL upgrade: 1.1.0g [2 Nov 2017] -> 1.1.0h [27 Mar 2018]
author Erkan Yilmaz <erkan@slitaz.org>
date Mon May 21 19:13:18 2018 +0000 (2018-05-21)
parents c37be8966f03
children 342b30daff76
line source
1 # SliTaz package receipt v2.
3 PACKAGE="wget"
4 VERSION="1.19.1"
5 CATEGORY="network"
6 SHORT_DESC="GNU Wget - the non-interactive network downloader"
7 MAINTAINER="sygne@ombres.eu"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/wget/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="openssl-dev libidn-dev util-linux-uuid-dev gettext zlib-dev \
15 perl pcre-dev"
17 compile_rules() {
18 case "$ARCH" in
19 arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;;
20 esac
22 ./configure \
23 --with-ssl=openssl \
24 --with-openssl \
25 $ARCH_ARGS \
26 $CONFIGURE_ARGS &&
27 make DESTDIR=$DESTDIR install
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="openssl libidn pcre util-linux-uuid zlib"
33 CONFIG_FILES="/etc/wgetrc"
34 }