summaryrefslogtreecommitdiff
path: root/package/rtmpdump/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-16 13:11:40 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-16 13:11:40 +0100
commit5d9ece6fbef0bf33c4e7c6c08c50c27a934d6924 (patch)
tree483afae80dba2e47c74b2d0d53f70d8c2ffaa8a4 /package/rtmpdump/Makefile
parent422fe42ea4a4f5c5f868736e17a0462e1e5c1c6b (diff)
parente30c2e38954a49ceb6cd1350525da89a15653758 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/rtmpdump/Makefile')
-rw-r--r--package/rtmpdump/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/package/rtmpdump/Makefile b/package/rtmpdump/Makefile
new file mode 100644
index 000000000..c85f823fd
--- /dev/null
+++ b/package/rtmpdump/Makefile
@@ -0,0 +1,40 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(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 libopenssl
+PKG_BUILDDEP:= openssl zlib
+PKG_SECTION:= multimedia
+PKG_URL:= http://rtmpdump.mplayerhq.hu/
+PKG_SITES:= http://www.openadk.org/distfiles
+PKG_LIBNAME:= librtmp
+PKG_OPTS:= dev
+
+PKG_SUBPKGS:= RTMPDUMP LIBRTMP
+PKGSD_LIBRTMP:= library for RTMP streams
+PKGSC_LIBRTMP:= libs
+
+include $(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}))
+
+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 ${TOPDIR}/mk/pkg-bottom.mk