129ee421e348a0990909b0cdbf4ee061f0c71fe9
[vlc.git] / contrib / src / aribb24 / rules.mak
1 # aribb24
2
3 ARIBB24_VERSION := 1.0.1
4 ARIBB24_URL := https://github.com/nkoriyama/aribb24/releases/download/v$(ARIBB24_VERSION)/aribb24-$(ARIBB24_VERSION).tar.bz2
5
6 PKGS += aribb24
7 ifeq ($(call need_pkg,"aribb24"),)
8 PKGS_FOUND += aribb24
9 endif
10
11 $(TARBALLS)/aribb24-$(ARIBB24_VERSION).tar.bz2:
12         $(call download,$(ARIBB24_URL))
13
14 .sum-aribb24: aribb24-$(ARIBB24_VERSION).tar.bz2
15
16 aribb24: aribb24-$(ARIBB24_VERSION).tar.bz2 .sum-aribb24
17         $(UNPACK)
18         $(MOVE)
19
20 DEPS_aribb24 = png
21
22 .aribb24: aribb24
23         $(RECONF)
24         cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
25         cd $< && $(MAKE) && $(MAKE) install
26         touch $@