summaryrefslogtreecommitdiff
path: root/package/rtmpdump/Makefile
blob: f92b1584c55c234cb0ed81522b634c1bfaff69d1 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		rtmpdump
PKG_VERSION:=		2.4
PKG_RELEASE:=		1
PKG_MD5SUM:=		61509a2ae8987691f1fa28175461be96
PKG_DESCR:=		toolkit for rtmp streams
PKG_DEPENDS:=		librtmp zlib
PKG_BUILDDEP:=		zlib
PKG_SECTION:=		mm/video
PKG_URL:=		http://rtmpdump.mplayerhq.hu/
PKG_SITES:=		http://www.openadk.org/distfiles
PKG_LIBNAME:=		librtmp
PKG_OPTS:=		dev

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

PKG_SUBPKGS:=		RTMPDUMP LIBRTMP
PKGSD_LIBRTMP:=		library for rtmp streams
PKGSC_LIBRTMP:=		libs/video

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,RTMPDUMP,rtmpdump,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBRTMP,librtmp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBRTMP},${PKGSC_LIBRTMP},${PKG_OPTS}))

CONFIG_STYLE:=		manual

rtmpdump-install:
	$(INSTALL_DIR) $(IDIR_RTMPDUMP)/usr/bin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/rtmpdump \
		$(IDIR_RTMPDUMP)/usr/bin

librtmp-install:
	$(INSTALL_DIR) $(IDIR_LIBRTMP)/usr/lib
	$(CP) $(WRKINST)/usr/lib/librtmp*so.* \
		$(IDIR_LIBRTMP)/usr/lib

include ${ADK_TOPDIR}/mk/pkg-bottom.mk