rules.mak 480 Bytes
Newer Older
1
2
# mfx (Media SDK)

3
mfx_GITURL := https://github.com/lu-zero/mfx_dispatch.git
4
5
6
7

ifeq ($(call need_pkg,"mfx"),)
PKGS_FOUND += mfx
endif
8
9
ifdef HAVE_WIN32
PKGS += mfx
10
11
12
endif

$(TARBALLS)/mfx-git.tar.xz:
13
	$(call download_git,$(mfx_GITURL),,7adf2e4)
14
15
16
17
18
19
20
21
22
23
24
25
26
27

.sum-mfx: mfx-git.tar.xz
	$(warning $@ not implemented)
	touch $@

mfx: mfx-git.tar.xz
	$(UNPACK)
	cd $(UNPACK_DIR) && autoreconf -ivf
	$(MOVE)

.mfx: mfx
	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
	cd $< && $(MAKE) install
	touch $@