wok view rtmpdump/receipt @ rev 24975

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