annotate src/wxwidgets.mk @ 4294:b4ed09b828f6

* src/wxwidgets.mk: update tarball name and build
author John D
date Mon, 26 Dec 2016 14:19:18 -0500
parents a20ad5581689
children b753293ad067
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: 2190
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.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 408
diff changeset
3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 302
diff changeset
4 PKG := wxwidgets
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 422
diff changeset
5 $(PKG)_IGNORE :=
3733
a20ad5581689 wxwidgets: update to 3.0.2
John Donoghue
parents: 3480
diff changeset
6 $(PKG)_VERSION := 3.0.2
a20ad5581689 wxwidgets: update to 3.0.2
John Donoghue
parents: 3480
diff changeset
7 $(PKG)_CHECKSUM := 6461eab4428c0a8b9e41781b8787510484dea800
4294
b4ed09b828f6 * src/wxwidgets.mk: update tarball name and build
John D
parents: 3733
diff changeset
8 $(PKG)_SUBDIR := wxWidgets-$($(PKG)_VERSION)
b4ed09b828f6 * src/wxwidgets.mk: update tarball name and build
John D
parents: 3733
diff changeset
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.bz2
1122
0714de3e00b9 upgrade package wxwidgets
Mark Brand <mabrand@mabrand.nl>
parents: 1120
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/wxwindows/$($(PKG)_VERSION)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS := libiconv libpng jpeg tiff sdl zlib expat
244
31df7a34dae4 new package: wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
31df7a34dae4 new package: wxwidgets
Volker Grabsch <vog@notjusthosting.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://sourceforge.net/projects/wxwindows/files/' | \
1122
0714de3e00b9 upgrade package wxwidgets
Mark Brand <mabrand@mabrand.nl>
parents: 1120
diff changeset
15 $(SED) -n 's,.*/\([0-9][^"9]*\)/".*,\1,p' | \
1033
dd28c487a6b1 improved version recognition of packages: boost freetype gcc glew libgee mingwrt openssl pcre pdcurses w32api wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 1006
diff changeset
16 head -1
244
31df7a34dae4 new package: wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
31df7a34dae4 new package: wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
31df7a34dae4 new package: wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
268
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
20
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
21 # build the wxWidgets variant without unicode support
4294
b4ed09b828f6 * src/wxwidgets.mk: update tarball name and build
John D
parents: 3733
diff changeset
22 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
24 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
25 --prefix='$(HOST_PREFIX)' \
268
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
26 --enable-compat24 \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
27 --enable-compat26 \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
28 --enable-gui \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
29 --enable-stl \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
30 --enable-threads \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
31 --disable-unicode \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
32 --disable-universal \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
33 --with-themes=all \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
34 --with-msw \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
35 --with-opengl \
1621
64fdb94ef9f2 package wxwidgets: libpng 1.5 compatibility
Mark Brand <mabrand@mabrand.nl>
parents: 1619
diff changeset
36 --with-libpng=sys \
268
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
37 --with-libjpeg=sys \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
38 --with-libtiff=sys \
459
678687647a17 use wxwidget's internal regex library instead of tre
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
39 --with-regex=yes \
268
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
40 --with-zlib=sys \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
41 --with-expat=sys \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
42 --with-sdl \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
43 --without-gtk \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
44 --without-motif \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
45 --without-mac \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
46 --without-macosx-sdk \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
47 --without-cocoa \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
48 --without-wine \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
49 --without-pm \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
50 --without-microwin \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
51 --without-libxpm \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
52 --without-libmspack \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
53 --without-gnomeprint \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
54 --without-gnomevfs \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
55 --without-hildon \
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
56 --without-dmalloc \
2190
861ed76f2041 packages gdk-pixbuf wxwidgets: tiff 4 compatibility
Mark Brand <mabrand@mabrand.nl>
parents: 2153
diff changeset
57 --without-odbc \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
58 LIBS=" `'$(MXE_PKG_CONFIG)' --libs-only-l libtiff-4`"
268
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
59
4294
b4ed09b828f6 * src/wxwidgets.mk: update tarball name and build
John D
parents: 3733
diff changeset
60 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
268
996ac8524605 build also the wxWidgets variant without unicode support
Volker Grabsch <vog@notjusthosting.com>
parents: 267
diff changeset
61
4294
b4ed09b828f6 * src/wxwidgets.mk: update tarball name and build
John D
parents: 3733
diff changeset
62 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= __install_wxrc___depname=
1477
52b652c3e927 add test program for package wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 1462
diff changeset
63
4294
b4ed09b828f6 * src/wxwidgets.mk: update tarball name and build
John D
parents: 3733
diff changeset
64 $(INSTALL) -m755 '$(HOST_BINDIR)/wx-config' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)wx-config'
b4ed09b828f6 * src/wxwidgets.mk: update tarball name and build
John D
parents: 3733
diff changeset
65
244
31df7a34dae4 new package: wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
66 endef