Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= tvheadend
  5. PKG_VERSION:= 679b7797128b8979145dc2a0a3c54ea513a0466b
  6. PKG_RELEASE:= 3
  7. PKG_DESCR:= tv streaming server
  8. PKG_SECTION:= mm/video
  9. PKG_BUILDDEP:= openssl
  10. PKG_URL:= https://tvheadend.org/projects/tvheadend
  11. PKG_SITES:= https://github.com/tvheadend/tvheadend.git
  12. PKG_BUILDDEP_UCLIBC:= libiconv-tiny
  13. PKG_BUILDDEP_UCLIBC_NG:=libiconv-tiny
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,TVHEADEND,tvheadend,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
  16. XAKE_FLAGS+= GCC_HONOUR_COPTS=s
  17. ifeq ($(ADK_TARGET_LIB_UCLIBC)$(ADK_TARGET_LIB_UCLIBC_NG),y)
  18. XAKE_FLAGS+= LDLIBS=-liconv
  19. endif
  20. tvheadend-install:
  21. $(INSTALL_DIR) $(IDIR_TVHEADEND)/usr/bin
  22. $(INSTALL_DIR) $(IDIR_TVHEADEND)/usr/share
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/tvheadend \
  24. $(IDIR_TVHEADEND)/usr/bin
  25. $(CP) $(WRKINST)/usr/share/tvheadend \
  26. $(IDIR_TVHEADEND)/usr/share
  27. include $(ADK_TOPDIR)/mk/pkg-bottom.mk