Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= rtmpdump
  5. PKG_VERSION:= 2.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 61509a2ae8987691f1fa28175461be96
  8. PKG_DESCR:= toolkit for RTMP streams
  9. PKG_DEPENDS:= librtmp zlib libopenssl
  10. PKG_BUILDDEP:= openssl zlib
  11. PKG_SECTION:= multimedia
  12. PKG_URL:= http://rtmpdump.mplayerhq.hu/
  13. PKG_SITES:= http://www.openadk.org/distfiles
  14. PKG_LIBNAME:= librtmp
  15. PKG_OPTS:= dev
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. PKG_SUBPKGS:= RTMPDUMP LIBRTMP
  18. PKGSD_LIBRTMP:= library for RTMP streams
  19. PKGSC_LIBRTMP:= libs
  20. include $(TOPDIR)/mk/package.mk
  21. $(eval $(call PKG_template,RTMPDUMP,rtmpdump,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. $(eval $(call PKG_template,LIBRTMP,librtmp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBRTMP},${PKGSC_LIBRTMP}))
  23. CONFIG_STYLE:= manual
  24. rtmpdump-install:
  25. $(INSTALL_DIR) $(IDIR_RTMPDUMP)/usr/bin
  26. $(INSTALL_BIN) $(WRKINST)/usr/bin/rtmpdump \
  27. $(IDIR_RTMPDUMP)/usr/bin
  28. librtmp-install:
  29. $(INSTALL_DIR) $(IDIR_LIBRTMP)/usr/lib
  30. $(CP) $(WRKINST)/usr/lib/librtmp*so.* \
  31. $(IDIR_LIBRTMP)/usr/lib
  32. include ${TOPDIR}/mk/pkg-bottom.mk