summaryrefslogtreecommitdiff
path: root/repo/core/rtmpdump.xibuild
blob: 35197b13bef252f1f48ac503e5aba38091bb081f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

DEPS=(glibc gnutls zlib)

SOURCE=git://git.ffmpeg.org/rtmpdump
BRANCH="fa8646d"
DESC="Tool to download rtmp streams"

build () {
    sed -e 's/^CRYPTO=OPENSSL/#CRYPTO=OPENSSL/' -e 's/#CRYPTO=GNUTLS/CRYPTO=GNUTLS/' -i Makefile -i librtmp/Makefile

    make SYS=posix
    make \
        prefix='/usr' \
        sbindir='/usr/bin' \
        mandir='/usr/share/man' \
        DESTDIR=$PKG_DEST install
}