]> git.sesse.net Git - vlc/blob - contrib/src/tremor/rules.mak
contrib: caca: drop useless conditions
[vlc] / contrib / src / tremor / rules.mak
1 # tremor (fixed-point Vorbis)
2
3 ifndef HAVE_FPU
4 PKGS += tremor
5 endif
6
7 $(TARBALLS)/tremor-svn.tar.xz:
8         rm -Rf tremor-svn
9         $(SVN) export http://svn.xiph.org/trunk/Tremor tremor-svn
10         tar cvJ tremor-svn > $@
11
12 .sum-tremor: tremor-svn.tar.xz
13         $(warning Integrity check skipped.)
14         touch $@
15
16 tremor: tremor-svn.tar.xz .sum-tremor
17         # Stuff that does not depend on libogg
18         $(UNPACK)
19         $(APPLY) $(SRC)/tremor/tremor.patch
20         rm -f tremor-svn/ogg.h tremor-svn/os_types.h
21         echo '#include <ogg/ogg.h>' > tremor-svn/ogg.h
22         echo '#include <ogg/os_types.h>' > tremor-svn/os_types.h
23         $(MOVE)
24
25 DEPS_tremor = ogg $(DEPS_ogg)
26
27 .tremor: tremor
28         # Stuff that depends on libogg
29         $(RECONF)
30         cd $< && \
31         $(HOSTVARS) CFLAGS="$(CFLAGS) $(NOTHUMB)" ./configure $(HOSTCONF)
32         cd $< && $(MAKE) install
33         touch $@