summaryrefslogtreecommitdiff
path: root/repo/system/rtmpdump.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/system/rtmpdump.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/system/rtmpdump.xibuild')
-rw-r--r--repo/system/rtmpdump.xibuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/repo/system/rtmpdump.xibuild b/repo/system/rtmpdump.xibuild
index 35197b1..a9f561a 100644
--- a/repo/system/rtmpdump.xibuild
+++ b/repo/system/rtmpdump.xibuild
@@ -6,10 +6,15 @@ SOURCE=git://git.ffmpeg.org/rtmpdump
BRANCH="fa8646d"
DESC="Tool to download rtmp streams"
-build () {
+patch () {
sed -e 's/^CRYPTO=OPENSSL/#CRYPTO=OPENSSL/' -e 's/#CRYPTO=GNUTLS/CRYPTO=GNUTLS/' -i Makefile -i librtmp/Makefile
+}
+build () {
make SYS=posix
+}
+
+package () {
make \
prefix='/usr' \
sbindir='/usr/bin' \