summaryrefslogtreecommitdiffstats
path: root/src/crystalhd.mk
blob: c77565937ad2056f6f6532cbae074d3d90cf992d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This file is part of MXE.
# See index.html for further information.

PKG             := crystalhd
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1
$(PKG)_CHECKSUM := 2ee046b1a20485abb750244d4c71f733673496f7
$(PKG)_SUBDIR   := .
$(PKG)_FILE     := crystalhd_lgpl_includes_v$($(PKG)_VERSION).zip
$(PKG)_URL      := http://www.broadcom.com/docs/support/$(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