rtmpdump-32: initial import

This commit is contained in:
Danny Rawlins 2019-08-05 00:56:28 +10:00
parent ff8f4208f3
commit 1d1a8099b1
4 changed files with 49 additions and 0 deletions

0
rtmpdump-32/.32bit Normal file
View File

7
rtmpdump-32/.footprint Normal file
View File

@ -0,0 +1,7 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib32/
-rw-r--r-- root/root usr/lib32/librtmp.a
lrwxrwxrwx root/root usr/lib32/librtmp.so -> librtmp.so.1
-rwxr-xr-x root/root usr/lib32/librtmp.so.1
drwxr-xr-x root/root usr/lib32/pkgconfig/
-rw-r--r-- root/root usr/lib32/pkgconfig/librtmp.pc

5
rtmpdump-32/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/compat-32.pub
RWSwxGo/zH7eXWb7cDm0Fxpig/VZ9mqbrZi9YESCqDS+HXS8nsm+dCViq8St7vNA2FXOX/sDTxCMOCEfqgvT6DfBKl4EIkVWiwM=
SHA256 (Pkgfile) = 9b3198dac0675dd06fedbbc8d120aeb5f1d6d7e8aac12642d323d3d1ae27d10e
SHA256 (.footprint) = 58563fd32eb54ef83e750b418c0957a978ebebd11fb941c3979c30055435c00b
SHA256 (rtmpdump-2.4-c5f04a58.tar.xz) = 14d2f9096998527b7d2d9462c720f8bc3f7d2166ef611a3a4d5da14b2518bbf6

37
rtmpdump-32/Pkgfile Normal file
View File

@ -0,0 +1,37 @@
# Description: A tool to download rtmp streams.
# URL: http://rtmpdump.mplayerhq.hu/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: gnutls-32 rtmpdump zlib-32
name=rtmpdump-32
version=2.4
release=1
source=(https://crux.ster.zone/downloads/rtmpdump/rtmpdump-$version-c5f04a58.tar.xz)
build() {
cd rtmpdump
sed \
-e 's/^CRYPTO=OPENSSL/#CRYPTO=OPENSSL/' \
-e 's/#CRYPTO=GNUTLS/CRYPTO=GNUTLS/' \
-i Makefile -i librtmp/Makefile
sed \
-e 's|OPT=|&-fPIC |' \
-e 's|OPT|OPTS|' \
-e 's|CFLAGS=.*|& $(OPT)|' \
-i librtmp/Makefile
make \
OPT="$CFLAGS" \
XLDFLAGS="$LDFLAGS"
mkdir -p $PKG/usr/lib32
make \
prefix='/usr' \
sbindir='/usr/bin' \
libdir='/usr/lib32' \
mandir='/usr/share/man' \
DESTDIR=$PKG \
install
rm -r $PKG/usr/{bin,include,share}
}