summaryrefslogtreecommitdiff
path: root/package/tvheadend/Makefile
blob: 70cef62f22fe16c24a7c82037275a761c431096d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		tvheadend
PKG_VERSION:=		679b7797128b8979145dc2a0a3c54ea513a0466b
PKG_RELEASE:=		3
PKG_DESCR:=		tv streaming server
PKG_SECTION:=		mm/video
PKG_BUILDDEP:=		openssl
PKG_URL:=		https://tvheadend.org/projects/tvheadend
PKG_SITES:=		https://github.com/tvheadend/tvheadend.git

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,TVHEADEND,tvheadend,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))

XAKE_FLAGS+=		GCC_HONOUR_COPTS=s

tvheadend-install:
	$(INSTALL_DIR) $(IDIR_TVHEADEND)/usr/bin
	$(INSTALL_DIR) $(IDIR_TVHEADEND)/usr/share
	$(INSTALL_BIN) $(WRKINST)/usr/bin/tvheadend \
		$(IDIR_TVHEADEND)/usr/bin
	$(CP) $(WRKINST)/usr/share/tvheadend \
		$(IDIR_TVHEADEND)/usr/share

include $(ADK_TOPDIR)/mk/pkg-bottom.mk