wok-next view wget/receipt @ rev 19671
Update some build dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 18 17:36:09 2017 +0200 (2017-03-18) |
parents | d5596dfb8eb2 |
children | abf832a4c2a4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wget"
4 VERSION="1.18"
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.xz"
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 gettext \
17 zlib-dev perl pcre-dev"
19 # Handle cross compilation
20 case "$ARCH" in
21 arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --with-ssl=openssl \
29 --with-openssl \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS $ARCH_ARGS &&
32 make DESTDIR=$DESTDIR install
34 gzip -9 $install/usr/share/man/man1/wget.1
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 rm -r $fs/usr/share/info $fs/usr/share/locale
42 }
44 post_remove()
45 {
46 ln -s /bin/busybox "$1/usr/bin/wget"
47 }