wok annotate wget/receipt @ rev 21170

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