wok-current view wget/receipt @ rev 23954

updated smplayer (20.4.2 -> 20.6.0)
author Hans-G?nter Theisgen
date Tue Sep 22 17:05:06 2020 +0100 (2020-09-22)
parents 427e7751c594
children 71360a13cd94
line source
1 # SliTaz package receipt.
3 PACKAGE="wget"
4 VERSION="1.20.3"
5 CATEGORY="network"
6 SHORT_DESC="An utility for retrieving files using HTTP, HTTPS or FTP."
7 MAINTAINER="sygne@ombres.eu"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/wget/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libidn libssl pcre util-linux-uuid zlib"
15 BUILD_DEPENDS="flex libidn-dev openssl-dev util-linux-uuid-dev"
17 CONFIG_FILES="/etc/wgetrc"
19 HOST_ARCH="i486 arm"
21 # Handle cross compilation
22 case "$ARCH" in
23 arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;;
24 esac
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --with-ssl=openssl \
31 --with-openssl \
32 --sysconfdir=/etc \
33 $CONFIGURE_ARGS \
34 $ARCH_ARGS &&
35 make DESTDIR=$DESTDIR install
37 gzip -9 $install/usr/share/man/man1/wget.1
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/* $fs
45 rm -r $fs/usr/share/info
46 rm -r $fs/usr/share/locale
47 }
49 post_remove()
50 {
51 ln -s /bin/busybox "$1/usr/bin/wget"
52 }