1
0

Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. PKG_SUBPKGS:= RTMPDUMP LIBRTMP
  17. PKGSD_LIBRTMP:= library for RTMP streams
  18. PKGSC_LIBRTMP:= libs
  19. include $(TOPDIR)/mk/package.mk
  20. $(eval $(call PKG_template,RTMPDUMP,rtmpdump,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. $(eval $(call PKG_template,LIBRTMP,librtmp,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBRTMP},${PKGSC_LIBRTMP}))
  22. CONFIG_STYLE:= manual
  23. rtmpdump-install:
  24. $(INSTALL_DIR) $(IDIR_RTMPDUMP)/usr/bin
  25. $(INSTALL_BIN) $(WRKINST)/usr/bin/rtmpdump \
  26. $(IDIR_RTMPDUMP)/usr/bin
  27. librtmp-install:
  28. $(INSTALL_DIR) $(IDIR_LIBRTMP)/usr/lib
  29. $(CP) $(WRKINST)/usr/lib/librtmp*so.* \
  30. $(IDIR_LIBRTMP)/usr/lib
  31. include ${TOPDIR}/mk/pkg-bottom.mk