wok-next view wget/receipt @ rev 20010

Up rsnapshot (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 21 18:08:51 2017 +0200 (2017-10-21)
parents abf832a4c2a4
children e6615350078d
line source
1 # SliTaz package receipt.
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/"
10 HOST_ARCH="i486 arm"
11 CONFIG_FILES="/etc/wgetrc"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
16 DEPENDS="libssl libidn pcre util-linux-uuid zlib"
17 BUILD_DEPENDS="openssl-dev libidn-dev util-linux-uuid-dev gettext zlib-dev \
18 perl pcre-dev"
20 # Handle cross compilation
21 case "$ARCH" in
22 arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --with-ssl=openssl \
30 --with-openssl \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS $ARCH_ARGS &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 copy wget wgetrc
40 }