1
0

Makefile 1.3 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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= rtmpdump
  5. PKG_VERSION:= 2.4
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= cc7ff55bb3b829277b90ddb4d9b8224f9327300cede6b9557dda98267019bb9e
  8. PKG_DESCR:= toolkit for rtmp streams
  9. PKG_DEPENDS:= librtmp zlib
  10. PKG_BUILDDEP:= zlib
  11. PKG_SECTION:= mm/video
  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/video
  20. include $(ADK_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},${PKG_OPTS}))
  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 ${ADK_TOPDIR}/mk/pkg-bottom.mk