mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
new package: add package 'rtmpdump'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7786b5d4cc
commit
efaa45f155
28
packages/multimedia/rtmpdump/build
Executable file
28
packages/multimedia/rtmpdump/build
Executable file
@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build zlib
|
||||
$SCRIPTS/build openssl
|
||||
|
||||
cd $PKG_BUILD/librtmp
|
||||
|
||||
make prefix=/usr \
|
||||
incdir=/usr/include/librtmp \
|
||||
libdir=/usr/lib \
|
||||
mandir=/usr/share/man \
|
||||
CC="$CC" \
|
||||
LD="$LD" \
|
||||
AR="$AR" \
|
||||
CRYPTO="OPENSSL" \
|
||||
XCFLAGS="$CFLAGS $LDFLAGS"
|
||||
|
||||
$MAKEINSTALL prefix=/usr \
|
||||
incdir=/usr/include/librtmp \
|
||||
libdir=/usr/lib \
|
||||
mandir=/usr/share/man \
|
||||
CC="$CC" \
|
||||
LD="$LD" \
|
||||
AR="$AR" \
|
||||
CRYPTO="OPENSSL" \
|
||||
XCFLAGS="$CFLAGS $LDFLAGS"
|
11
packages/multimedia/rtmpdump/install
Executable file
11
packages/multimedia/rtmpdump/install
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
LIBVPX_SO=`ls -d $PKG_BUILD/libvpx.so*`
|
||||
LIBVPX_SONAME=`basename $LIBVPX_SO`
|
||||
|
||||
mkdir -p $INSTALL/usr/lib
|
||||
cp $PKG_BUILD/libvpx.so* $INSTALL/usr/lib
|
||||
ln -sf $LIBVPX_SONAME $INSTALL/usr/lib/libvpx.so.0
|
||||
ln -sf $LIBVPX_SONAME $INSTALL/usr/lib/libvpx.so.0.9
|
1
packages/multimedia/rtmpdump/url
Normal file
1
packages/multimedia/rtmpdump/url
Normal file
@ -0,0 +1 @@
|
||||
http://rtmpdump.mplayerhq.hu/download/rtmpdump-2.2e.tar.gz
|
Loading…
x
Reference in New Issue
Block a user