summaryrefslogtreecommitdiff
path: root/repo/system/rtmpdump.xibuild
blob: 76b3b2870d5ca4abd4449baa8337810fbcbe81ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash

MAKEDEPS=(make )
DEPS=(glibc gnutls zlib)

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

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

}

build () {
    make SYS=posix
}

package () {
    mkdir -pv $PKG_DEST/usr/bin
    mkdir -pv $PKG_DEST/usr/share
    mkdir -pv $PKG_DEST/usr/lib/pkgconfig
    make \
        prefix='/usr' \
        sbindir='/usr/bin' \
        mandir='/usr/share/man' \
        DESTDIR=$PKG_DEST install
}