From 1d1a8099b1cbfebdbda2a6f92cb13187b1ea1462 Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Mon, 5 Aug 2019 00:56:28 +1000 Subject: [PATCH] rtmpdump-32: initial import --- rtmpdump-32/.32bit | 0 rtmpdump-32/.footprint | 7 +++++++ rtmpdump-32/.signature | 5 +++++ rtmpdump-32/Pkgfile | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 49 insertions(+) create mode 100644 rtmpdump-32/.32bit create mode 100644 rtmpdump-32/.footprint create mode 100644 rtmpdump-32/.signature create mode 100644 rtmpdump-32/Pkgfile diff --git a/rtmpdump-32/.32bit b/rtmpdump-32/.32bit new file mode 100644 index 00000000..e69de29b diff --git a/rtmpdump-32/.footprint b/rtmpdump-32/.footprint new file mode 100644 index 00000000..f5ee2b18 --- /dev/null +++ b/rtmpdump-32/.footprint @@ -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 diff --git a/rtmpdump-32/.signature b/rtmpdump-32/.signature new file mode 100644 index 00000000..834b9347 --- /dev/null +++ b/rtmpdump-32/.signature @@ -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 diff --git a/rtmpdump-32/Pkgfile b/rtmpdump-32/Pkgfile new file mode 100644 index 00000000..1aa91f39 --- /dev/null +++ b/rtmpdump-32/Pkgfile @@ -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} +}