wok view wget/receipt @ rev 21585

updated npth and npth-dev (1.5 -> 1.6)
author Hans-G?nter Theisgen
date Mon May 20 13:44:05 2019 +0100 (2019-05-20)
parents d5596dfb8eb2
children 32e177776fc6
line source
1 # SliTaz package receipt.
3 PACKAGE="wget"
4 VERSION="1.19.5"
5 CATEGORY="network"
6 SHORT_DESC="GNU Wget - non-interactive download of files from the Web"
7 MAINTAINER="sygne@ombres.eu"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/wget/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
13 CONFIG_FILES="/etc/wgetrc"
15 DEPENDS="libssl libidn pcre util-linux-uuid zlib"
16 BUILD_DEPENDS="openssl-dev libidn-dev flex util-linux-uuid-dev"
18 # Handle cross compilation
19 case "$ARCH" in
20 arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --with-ssl=openssl \
28 --with-openssl \
29 --sysconfdir=/etc \
30 $CONFIGURE_ARGS $ARCH_ARGS &&
31 make DESTDIR=$DESTDIR install
33 gzip -9 $install/usr/share/man/man1/wget.1
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 rm -r $fs/usr/share/info $fs/usr/share/locale
41 }
43 post_remove()
44 {
45 ln -s /bin/busybox "$1/usr/bin/wget"
46 }