view src/librtmp.mk @ 3048:5ef49fb3299d

treat gcc and binutils as build tools use a separate target for building the cmake toolchain file don't unpack gcc or binutils if we are using the system compiler
author John W. Eaton <jwe@octave.org>
date Fri, 14 Jun 2013 16:51:29 -0400
parents 951da75fd09c
children 13be64f9f16d
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := librtmp
$(PKG)_IGNORE   :=
$(PKG)_CHECKSUM := b65ce7708ae79adb51d1f43dd0b6d987076d7c42
$(PKG)_SUBDIR   := rtmpdump-2.3
$(PKG)_FILE     := rtmpdump-2.3.tgz
$(PKG)_URL      := http://rtmpdump.mplayerhq.hu/download/$($(PKG)_FILE)
$(PKG)_DEPS     := gnutls

define $(PKG)_UPDATE
    echo 'Warning: Updates are temporarily disabled for package librtmp.' >&2;
    echo $(librtmp_VERSION)
endef

define $(PKG)_BUILD
    $(MAKE) -C '$(1)' \
        CROSS_COMPILE='$(MXE_TOOL_PREFIX)' \
        prefix='$(HOST_PREFIX)' \
        SYS=mingw \
        CRYPTO=GNUTLS \
        SHARED=no \
        -j '$(JOBS)' install
endef