annotate src/physfs.mk @ 5895:2db7f803d55d release

librsb: Update to version 1.2.0.10 (bug #60042). * src/librsb.mk: Update version and checksum. Remove work-around for fixed bug.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 19 Sep 2021 14:32:07 +0200
parents b19fb3ed330c
children
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: 1707
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.
1615
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
3
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
4 PKG := physfs
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3048
diff changeset
6 $(PKG)_VERSION := 2.0.3
2833
5e20e0961816 update package physfs
Mark Brand <mabrand@mabrand.nl>
parents: 2525
diff changeset
7 $(PKG)_CHECKSUM := 327308c777009a41bbabb9159b18c4c0ac069537
1615
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
2833
5e20e0961816 update package physfs
Mark Brand <mabrand@mabrand.nl>
parents: 2525
diff changeset
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.bz2
1615
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
10 $(PKG)_URL := http://icculus.org/physfs/downloads/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS := zlib
1615
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
12
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
14 $(WGET) -q -O- 'http://icculus.org/physfs/downloads/?M=D' | \
1615
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
15 $(SED) -n 's,.*<a href="physfs-\([0-9][^"]*\)\.tar.*,\1,pI' | \
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
16 head -1
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
17 endef
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
18
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
19 define $(PKG)_BUILD
1663
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1615
diff changeset
20 cd '$(1)' && cmake . \
5541
d862fd40cc42 Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents: 3480
diff changeset
21 $(CMAKE_CCACHE_FLAGS) \
5571
b19fb3ed330c use cmake command line to set build shared/static options (bug #59373)
John W. Eaton <jwe@octave.org>
parents: 5541
diff changeset
22 $(CMAKE_BUILD_SHARED_OR_STATIC) \
1663
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1615
diff changeset
23 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1615
diff changeset
24 -DPHYSFS_BUILD_SHARED=FALSE \
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1615
diff changeset
25 -DPHYSFS_INTERNAL_ZLIB=FALSE \
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1615
diff changeset
26 -DPHYSFS_BUILD_TEST=FALSE \
1707
4e48476ea587 fix compiler errors instead of suppressing them
Volker Grabsch <vog@notjusthosting.com>
parents: 1701
diff changeset
27 -DPHYSFS_BUILD_WX_TEST=FALSE
1615
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)' install
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
29
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
30 '$(MXE_CC)' \
1663
9577f70222f8 add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents: 1615
diff changeset
31 -W -Wall -Werror -ansi -pedantic -std=c99 \
3014
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
32 '$(2).c' -o '$(HOST_BINDIR)/test-physfs.exe' \
1615
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
33 -lphysfs -lz
0ea7263be430 new package physfs
Tony Theodore <tonyt@logyst.com>
parents:
diff changeset
34 endef