annotate src/ogg.mk @ 409:35d26f6b0855

update version of packages fontconfig, glib, gtk, libevent, libiconv, libpng, libusb, ogg, pixman, sqlite and vorbis
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 10 Aug 2009 13:33:49 +0200
parents 85ffa9259036
children d2a6561bcb6d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
156
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # OGG
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
3 PKG := ogg
409
35d26f6b0855 update version of packages fontconfig, glib, gtk, libevent, libiconv, libpng, libusb, ogg, pixman, sqlite and vorbis
Volker Grabsch <vog@notjusthosting.com>
parents: 306
diff changeset
4 $(PKG)_VERSION := 1.1.4
35d26f6b0855 update version of packages fontconfig, glib, gtk, libevent, libiconv, libpng, libusb, ogg, pixman, sqlite and vorbis
Volker Grabsch <vog@notjusthosting.com>
parents: 306
diff changeset
5 $(PKG)_CHECKSUM := 868ace372004cf303231b954c60a836acbd71065
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
6 $(PKG)_SUBDIR := libogg-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
7 $(PKG)_FILE := libogg-$($(PKG)_VERSION).tar.gz
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
8 $(PKG)_WEBSITE := http://www.xiph.org/ogg/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_URL := http://downloads.xiph.org/releases/ogg/$($(PKG)_FILE)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_DEPS := gcc
156
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 wget -q -O- 'http://www.xiph.org/downloads/' | \
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 $(SED) -n 's,.*libogg-\([0-9][^>]*\)\.tar.*,\1,p' | \
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 head -1
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 # wine confuses the cross-compiling detection, so set it explicitly
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure'
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 cd '$(1)' && ./configure \
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --host='$(TARGET)' \
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --disable-shared \
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --prefix='$(PREFIX)/$(TARGET)'
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
9ef60927fdeb translated package: ogg
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 endef