rules.mak 451 Bytes
Newer Older
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
# mfx (Media SDK)

mfx_GITURL := git://git.videolan.org/mfx_dispatch

ifdef HAVE_WIN32
ifeq ($(call need_pkg,"mfx"),)
PKGS_FOUND += mfx
endif
endif

$(TARBALLS)/mfx-git.tar.xz:
	$(call download_git,$(mfx_GITURL))

.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 $@