mxe/src/librtmp.mk

26 lines
856 B
Makefile
Raw Normal View History

2012-05-22 21:08:41 +01:00
# This file is part of MXE.
# See index.html for further information.
PKG := librtmp
$(PKG)_IGNORE :=
2015-11-21 03:13:47 +00:00
$(PKG)_VERSION := a107cef
$(PKG)_CHECKSUM := aea53f2a2c6596c93eeb288d97266e89a97b31795b678daccedc31d70dad28c4
$(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)
2012-05-25 15:48:18 +01:00
$(PKG)_DEPS := gcc gnutls
2012-05-22 21:08:41 +01:00
$(PKG)_UPDATE = $(call MXE_GET_GITHUB_SHA, mirror/rtmpdump, master)
2012-05-22 21:08:41 +01:00
define $(PKG)_BUILD
$(MAKE) -C '$(1)' \
2012-05-25 15:48:00 +01:00
CROSS_COMPILE='$(TARGET)-' \
prefix='$(PREFIX)/$(TARGET)' \
SYS=mingw \
2012-05-25 15:48:18 +01:00
CRYPTO=GNUTLS \
$(if $(BUILD_STATIC),\
SHARED=no \
LIB_GNUTLS="`$(TARGET)-pkg-config --libs-only-l gnutls`",) \
2012-05-25 15:48:00 +01:00
-j '$(JOBS)' install
2012-05-22 21:08:41 +01:00
endef