]> git.sesse.net Git - vlc/blob - contrib/src/ogg/rules.mak
contribs: pass our aclocal directory to autoreconf
[vlc] / contrib / src / ogg / rules.mak
1 # libogg
2
3 OGG_VERSION := 1.2.2
4
5 OGG_URL := http://downloads.xiph.org/releases/ogg/libogg-$(OGG_VERSION).tar.xz
6 #OGG_URL := $(CONTRIB_VIDEOLAN)/libogg-$(OGG_VERSION).tar.xz
7 OGG_CVSROOT := :pserver:anoncvs@xiph.org:/usr/local/cvsroot
8
9 NEED_OGG = $(call need_pkg,"ogg >= 1.0")
10
11 $(TARBALLS)/libogg-$(OGG_VERSION).tar.xz:
12         $(call download,$(OGG_URL))
13
14 .sum-ogg: libogg-$(OGG_VERSION).tar.xz
15
16 libogg: libogg-$(OGG_VERSION).tar.xz .sum-ogg
17         $(UNPACK)
18         $(APPLY) $(SRC)/ogg/libogg-1.1.patch
19 ifdef HAVE_WINCE
20         $(APPLY) $(SRC)/ogg/libogg-wince.patch
21 endif
22         $(MOVE)
23
24 ifeq ($(NEED_OGG),)
25 .ogg:
26 else
27 PKGS += ogg
28
29 .ogg: libogg
30         #cd $< && autoreconf -fiv $(ACLOCAL_AMFLAGS)
31         cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
32         cd $< && $(MAKE) install
33 endif
34         touch $@