wok-current view rtmpdump/receipt @ rev 25693

Up depends pkgs for cups, need to rebuild it for ssl 3.0
author Stanislas Leduc <shann@slitaz.org>
date Sun Mar 24 15:17:37 2024 +0000 (3 months ago)
parents e717a4953b0e
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 # patch makefiles for shared library install
28 patch -p1 < $stuff/librtmp-makefile.patch
29 # Patch for openssl
30 # see https://github.com/JudgeZarbi/RTMPDump-OpenSSL-1.1/issues/2
31 patch -p1 < $stuff/librtmp-openssl-1.1.x-build-fixes.diff
33 mkdir -p $DESTDIR/usr/lib
34 make &&
35 make install \
36 prefix="/usr" \
37 libdir="/usr/lib" \
38 sbindir="/usr/bin" \
39 mandir="/usr/share/man" \
40 DESTDIR="$DESTDIR"
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/bin $fs/usr
50 }