rules.mak 532 Bytes
Newer Older
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
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
# LIBBLURAY

ifdef BUILD_DISCS
PKGS += libbluray
endif
ifeq ($(call need_pkg,"libbluray"),)
PKGS_FOUND += libbluray
endif

BLURAY_GITURL := git://git.videolan.org/libbluray.git

$(TARBALLS)/libbluray-git.tar.xz:
	$(call download_git,$(BLURAY_GITURL))

.sum-libbluray: libbluray-git.tar.xz
	$(warning Integrity check skipped.)
	touch $@

libbluray: libbluray-git.tar.xz .sum-libbluray
	$(UNPACK)
	$(MOVE)

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