wok-6.x view wget/receipt @ rev 23912
linux: add CONFIG_I2C_HID
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 16 10:22:39 2020 +0000 (2020-08-16) |
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 }