wok annotate rtmpdump/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 2f230197370e
children
rev   line source
pankso@15880 1 # SliTaz package receipt.
pankso@15880 2
pankso@15880 3 PACKAGE="rtmpdump"
Hans-G?nter@21852 4 VERSION="2.4"
pankso@15880 5 CATEGORY="multimedia"
Hans-G?nter@21852 6 SHORT_DESC="A toolkit for RTMP streams."
pankso@15880 7 MAINTAINER="pankso@slitaz.org"
pankso@15880 8 LICENSE="GPL2"
Hans-G?nter@21852 9 WEB_SITE="https://rtmpdump.mplayerhq.hu/"
Hans-G?nter@21852 10
Hans-G?nter@21852 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24975 12 WGET_URL="https://rtmpdump.mplayerhq.hu/download/$TARBALL"
pankso@15880 13
pankso@15880 14 DEPENDS="libssl"
pankso@15880 15 BUILD_DEPENDS="openssl-dev"
pankso@15880 16
pascal@24459 17 # What is the latest version available today?
pascal@24459 18 current_version()
pascal@24459 19 {
pascal@24459 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24459 21 sed '/latest rel/!d;s|.* is ||;s| .*||;q'
pascal@24459 22 }
pascal@24459 23
pankso@15880 24 # Rules to configure and make the package.
pankso@15880 25 compile_rules()
pankso@15880 26 {
pankso@15880 27 mkdir -p $DESTDIR/usr/lib
Hans-G?nter@21852 28 make &&
Hans-G?nter@21852 29 make install \
Hans-G?nter@21852 30 prefix="/usr" \
Hans-G?nter@21852 31 sbindir="/usr/bin" \
Hans-G?nter@21852 32 mandir="/usr/share/man" \
Hans-G?nter@21852 33 DESTDIR="$DESTDIR"
pankso@15880 34 }
pankso@15880 35
pankso@15880 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15880 37 genpkg_rules()
pankso@15880 38 {
pankso@15880 39 mkdir -p $fs/usr/lib
Hans-G?nter@21852 40
Hans-G?nter@21852 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21852 42 cp -a $install/usr/bin $fs/usr
pankso@15880 43 }