ffmpeg: fix dependencies
[oi-userland.git] / components / encumbered / rtmpdump / Makefile
blobe3eb4902d97ba2b767acccc252ba34e7e3128891
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
16 BUILD_STYLE=justmake
17 BUILD_BITS=64
18 # Requires patching
19 USE_OPENSSL11=no
20 include ../../../make-rules/shared-macros.mk
22 COMPONENT_NAME= rtmpdump
23 COMPONENT_VERSION= 2.4
24 COMPONENT_REVISION= 2
25 COMPONENT_SUMMARY= RTMPdump -- a toolkit for RTMP streams
26 COMPONENT_SRC= $(COMPONENT_NAME)
27 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
28 COMPONENT_ARCHIVE_HASH= \
29 sha256:0be975011d116bbdf1befad2a984ac83d09b1061c86550326a7ec496d2f188fc
30 COMPONENT_ARCHIVE_URL= \
31 http://rtmpdump.mplayerhq.hu/download/$(COMPONENT_ARCHIVE)
32 COMPONENT_PROJECT_URL= http://rtmpdump.mplayerhq.hu/
33 COMPONENT_LICENSE= GPLv2,LGPLv2
34 COMPONENT_LICENSE_FILE= rtmpdump.license
35 COMPONENT_CLASSIFICATION=Applications/Sound and Video
36 COMPONENT_FMRI= video/rtmpdump
38 COMPONENT_ENV += CC="$(CC)"
39 COMPONENT_ENV += XCFLAGS="$(CFLAGS) -I$(OPENSSL_INCDIR)"
40 COMPONENT_ENV += XLDFLAGS="$(LDFLAGS) -L$(OPENSSL_LIBDIR.$(BITS)) -R$(OPENSSL_LIBDIR.$(BITS))"
41 COMPONENT_ENV += XLIBS="-lnsl -lsocket"
43 COMPONENT_BUILD_ENV += $(COMPONENT_ENV)
45 COMPONENT_INSTALL_ENV.64 = ARCH=/$(MACH64)
46 COMPONENT_INSTALL_ENV += $(COMPONENT_ENV)
47 COMPONENT_INSTALL_ENV += $(COMPONENT_INSTALL_ENV.$(BITS))
49 include $(WS_MAKE_RULES)/encumbered.mk
50 include $(WS_MAKE_RULES)/common.mk
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES += library/security/openssl
54 REQUIRED_PACKAGES += library/zlib
55 REQUIRED_PACKAGES += system/library