summaryrefslogtreecommitdiffstats
path: root/src/crystalhd.mk
blob: 7712b3a159ce84339ae763d3dec6d3a4f66c7248 (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
# This file is part of MXE. See LICENSE.md for licensing information.

PKG             := crystalhd
$(PKG)_WEBSITE  := http://www.broadcom.com/support/crystal_hd/
$(PKG)_DESCR    := Broadcom Crystal HD Headers
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1
$(PKG)_CHECKSUM := 818d72fdbebcfc0a449d9e39153370c80325f2490798f82f1ed98c6bb60bc18c
$(PKG)_SUBDIR   := .
$(PKG)_FILE     := crystalhd_lgpl_includes_v$($(PKG)_VERSION).zip
$(PKG)_URL      := https://ftp.videolan.org/contrib/$(PKG)/$($(PKG)_FILE)
$(PKG)_DEPS     := gcc

define $(PKG)_UPDATE
    echo "TODO: crystalhd update script" >&2;
    echo $(crystalhd_VERSION)
endef

define $(PKG)_BUILD
    $(INSTALL) -d '$(PREFIX)/$(TARGET)/include/libcrystalhd'
    for f in "$(1)/*.h"; do \
        $(INSTALL) -m0644 $$f '$(PREFIX)/$(TARGET)/include/libcrystalhd/'; \
    done
endef