a170fc76e893b10b69d7adc82d0fb9947ff7036a
[vlc.git] / contrib / src / bluray / rules.mak
1 # LIBBLURAY
2
3 ifdef BUILD_DISCS
4 PKGS += libbluray
5 endif
6 ifeq ($(call need_pkg,"libbluray"),)
7 PKGS_FOUND += libbluray
8 endif
9
10 BLURAY_GITURL := git://git.videolan.org/libbluray.git
11
12 $(TARBALLS)/libbluray-git.tar.xz:
13         $(call download_git,$(BLURAY_GITURL))
14
15 .sum-libbluray: libbluray-git.tar.xz
16         $(warning Integrity check skipped.)
17         touch $@
18
19 libbluray: libbluray-git.tar.xz .sum-libbluray
20         $(UNPACK)
21         $(MOVE)
22
23 .libbluray: libbluray 
24         cd $< && ./bootstrap
25         cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
26         cd $< && $(MAKE) install
27         touch $@