annotate src/vorbis.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
157
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # Vorbis
4d3e93dbc408 translated package: vorbis
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 := vorbis
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.2.3
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 := a93251aa5e4f142db4fa6433de80797f80960fac
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
6 $(PKG)_SUBDIR := libvorbis-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
7 $(PKG)_FILE := libvorbis-$($(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.vorbis.com/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_URL := http://downloads.xiph.org/releases/vorbis/$($(PKG)_FILE)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_DEPS := gcc pthreads ogg
157
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 wget -q -O- 'http://www.xiph.org/downloads/' | \
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 $(SED) -n 's,.*libvorbis-\([0-9][^>]*\)\.tar.*,\1,p' | \
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 head -1
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 cd '$(1)' && ./configure \
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 --host='$(TARGET)' \
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --disable-shared \
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --prefix='$(PREFIX)/$(TARGET)' \
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 PKG_CONFIG='$(TARGET)-pkg-config' \
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 LIBS='-lws2_32'
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
4d3e93dbc408 translated package: vorbis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 endef