wok-next view wget/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | c37be8966f03 |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="openssl-dev libidn-dev util-linux-uuid-dev gettext zlib-dev \
15 perl pcre-dev"
17 compile_rules() {
18 case "$ARCH" in
19 arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;;
20 esac
22 ./configure \
23 --with-ssl=openssl \
24 --with-openssl \
25 $ARCH_ARGS \
26 $CONFIGURE_ARGS &&
27 make DESTDIR=$DESTDIR install
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="openssl libidn pcre util-linux-uuid zlib"
33 CONFIG_FILES="/etc/wgetrc"
34 }