Mercurial > mxe-octave
comparison src/ogg.mk @ 156:9ef60927fdeb
translated package: ogg
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 08 Nov 2008 21:58:56 +0100 |
parents | |
children | 5bf9071e67b6 |
comparison
equal
deleted
inserted
replaced
155:e0f30dabc752 | 156:9ef60927fdeb |
---|---|
1 # OGG | |
2 # http://www.xiph.org/ogg/ | |
3 | |
4 PKG := ogg | |
5 $(PKG)_VERSION := 1.1.3 | |
6 $(PKG)_SUBDIR := libogg-$($(PKG)_VERSION) | |
7 $(PKG)_FILE := libogg-$($(PKG)_VERSION).tar.gz | |
8 $(PKG)_URL := http://downloads.xiph.org/releases/ogg/$($(PKG)_FILE) | |
9 $(PKG)_DEPS := gcc | |
10 | |
11 define $(PKG)_UPDATE | |
12 wget -q -O- 'http://www.xiph.org/downloads/' | \ | |
13 $(SED) -n 's,.*libogg-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
14 head -1 | |
15 endef | |
16 | |
17 define $(PKG)_BUILD | |
18 # wine confuses the cross-compiling detection, so set it explicitly | |
19 $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure' | |
20 cd '$(1)' && ./configure \ | |
21 --host='$(TARGET)' \ | |
22 --disable-shared \ | |
23 --prefix='$(PREFIX)/$(TARGET)' | |
24 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
25 endef |