annotate src/openal.mk @ 3725:2acaa9943159

qscintilla: update 2.8.4 * src/qscintilla.mk: update to version and checksum for 2.8.4
author John Donoghue
date Mon, 20 Oct 2014 11:01:00 -0400
parents 5e169963644e
children 5ab457504494
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1670
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
1234
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
3
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
4 PKG := openal
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3640
5e169963644e openal: update to 1.15.1
John Donoghue
parents: 3480
diff changeset
6 $(PKG)_VERSION := 1.15.1
5e169963644e openal: update to 1.15.1
John Donoghue
parents: 3480
diff changeset
7 $(PKG)_CHECKSUM := a0e73a46740c52ccbde38a3912c5b0fd72679ec8
1234
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := openal-soft-$($(PKG)_VERSION)
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 1458
diff changeset
9 $(PKG)_FILE := openal-soft-$($(PKG)_VERSION).tar.bz2
1234
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
10 $(PKG)_URL := http://kcat.strangesoft.net/openal-releases/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS := portaudio
1234
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
12
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2391
diff changeset
14 $(WGET) -q -O- 'http://kcat.strangesoft.net/openal-releases/?C=M;O=D' | \
1457
954559d5b495 improved update script of package openal
Volker Grabsch <vog@notjusthosting.com>
parents: 1236
diff changeset
15 $(SED) -n 's,.*"openal-soft-\([0-9][^"]*\)\.tar.*,\1,p' | \
3640
5e169963644e openal: update to 1.15.1
John Donoghue
parents: 3480
diff changeset
16 $(SORT) -V | \
5e169963644e openal: update to 1.15.1
John Donoghue
parents: 3480
diff changeset
17 tail -1
1234
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
18 endef
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
19
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
20 define $(PKG)_BUILD
1663
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1636
diff changeset
21 cd '$(1)/build' && cmake .. \
1670
56c35fe3b209 improved quoting
Volker Grabsch <vog@notjusthosting.com>
parents: 1663
diff changeset
22 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
2732
ebe3474e514b package openal: disable examples build
Tony Theodore <tonyt@logyst.com>
parents: 2525
diff changeset
23 -DEXAMPLES=FALSE
1235
7e9f957b3239 package openal: combine patch files, portability fixes, and add test program
Tony Theodore <tonyt@logyst.com>
parents: 1234
diff changeset
24 $(MAKE) -C '$(1)/build' -j '$(JOBS)' install
1458
4b3fc437b181 fix nasty whitespaces
Volker Grabsch <vog@notjusthosting.com>
parents: 1457
diff changeset
25
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
26 '$(MXE_CC)' \
1235
7e9f957b3239 package openal: combine patch files, portability fixes, and add test program
Tony Theodore <tonyt@logyst.com>
parents: 1234
diff changeset
27 -W -Wall -Werror -ansi -pedantic \
3640
5e169963644e openal: update to 1.15.1
John Donoghue
parents: 3480
diff changeset
28 '$(2).c' -o '$(1)/test-openal.exe' \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
29 `'$(MXE_PKG_CONFIG)' openal --cflags --libs`
1234
3c63edcea6db new package: OpenAL
Martin Gerhardy <martin.gerhardy@gmail.com>
parents:
diff changeset
30 endef
3640
5e169963644e openal: update to 1.15.1
John Donoghue
parents: 3480
diff changeset
31