blob: c33f763e067595da8b1b968fe1a2a349ccbffe45 (
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
|
# This file is part of MXE.
# See index.html for further information.
PKG := librtmp
$(PKG)_IGNORE :=
$(PKG)_VERSION := a1900c3
$(PKG)_CHECKSUM := ca1738708ce799226626326f46c416dbda346514
$(PKG)_SUBDIR := mirror-rtmpdump-$($(PKG)_VERSION)
$(PKG)_FILE := rtmpdump-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://github.com/mirror/rtmpdump/tarball/$($(PKG)_VERSION)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc gnutls
$(PKG)_UPDATE = $(call MXE_GET_GITHUB_SHA, mirror/rtmpdump, master)
define $(PKG)_BUILD
$(MAKE) -C '$(1)' \
CROSS_COMPILE='$(TARGET)-' \
prefix='$(PREFIX)/$(TARGET)' \
SYS=mingw \
CRYPTO=GNUTLS \
$(if $(BUILD_STATIC),\
SHARED=no \
LIB_GNUTLS="`$(TARGET)-pkg-config --libs-only-l gnutls`",) \
-j '$(JOBS)' install
endef
|