mxe/src/librtmp.mk

23 lines
764 B
Makefile
Raw Normal View History

# This file is part of MXE. See LICENSE.md for licensing information.
2012-05-22 21:08:41 +01:00
PKG := librtmp
2017-03-04 10:33:47 +00:00
$(PKG)_WEBSITE := https://rtmpdump.mplayerhq.hu/
2012-05-22 21:08:41 +01:00
$(PKG)_IGNORE :=
$(PKG)_VERSION := fa8646d
$(PKG)_CHECKSUM := 301cb9e93a7d2bf2da6b784ee6a9e45a04e2a9e3d322080d46c5d66576a792ec
$(PKG)_GH_CONF := mirror/rtmpdump/branches/master
$(PKG)_DEPS := cc gnutls zlib
2012-05-22 21:08:41 +01:00
define $(PKG)_BUILD
$(MAKE) -C '$(SOURCE_DIR)' \
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`" \
XLIBS="`$(TARGET)-pkg-config --libs-only-l zlib`",) \
2012-05-25 15:48:00 +01:00
-j '$(JOBS)' install
2012-05-22 21:08:41 +01:00
endef