Mercurial > mxe-octave
annotate src/wxwidgets.mk @ 265:5bf9071e67b6
put all package's project websites into Make variables $($(PKG)_WEBSITE)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 01 Mar 2009 16:35:21 +0100 |
parents | 31df7a34dae4 |
children | b94424e6c37f |
rev | line source |
---|---|
244 | 1 # wxWidgets |
2 | |
3 PKG := wxwidgets | |
4 $(PKG)_VERSION := 2.8.9 | |
5 $(PKG)_SUBDIR := wxMSW-$($(PKG)_VERSION) | |
6 $(PKG)_FILE := wxMSW-$($(PKG)_VERSION).tar.bz2 | |
265
5bf9071e67b6
put all package's project websites into Make variables $($(PKG)_WEBSITE)
Volker Grabsch <vog@notjusthosting.com>
parents:
244
diff
changeset
|
7 $(PKG)_WEBSITE := http://www.wxwidgets.org/ |
244 | 8 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/wxwindows/$($(PKG)_FILE) |
9 $(PKG)_DEPS := gcc libiconv libpng jpeg tiff sdl tre zlib expat | |
10 | |
11 define $(PKG)_UPDATE | |
12 wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=9863&package_id=14078' | \ | |
13 grep 'wxMSW-' | \ | |
14 $(SED) -n 's,.*wxMSW-\([2-9][^>]*\)\.tar.*,\1,p' | \ | |
15 head -1 | |
16 endef | |
17 | |
18 define $(PKG)_BUILD | |
19 cd '$(1)' && ./configure \ | |
20 --host='$(TARGET)' \ | |
21 --disable-shared \ | |
22 --prefix='$(PREFIX)/$(TARGET)' \ | |
23 --enable-compat24 \ | |
24 --enable-stl \ | |
25 --enable-unicode \ | |
26 --with-themes=all \ | |
27 --with-msw \ | |
28 --with-opengl \ | |
29 --with-libpng=sys \ | |
30 --with-libjpeg=sys \ | |
31 --with-libtiff=sys \ | |
32 --with-regex=sys \ | |
33 --with-zlib=sys \ | |
34 --with-expat=sys \ | |
35 --with-sdl \ | |
36 --without-gtk \ | |
37 --without-motif \ | |
38 --without-mac \ | |
39 --without-macosx-sdk \ | |
40 --without-cocoa \ | |
41 --without-wine \ | |
42 --without-pm \ | |
43 --without-mgl \ | |
44 --without-directfb \ | |
45 --without-microwin \ | |
46 --without-x11 \ | |
47 --without-libxpm \ | |
48 --without-libmspack \ | |
49 --without-gnomeprint \ | |
50 --without-gnomevfs \ | |
51 --without-hildon \ | |
52 --without-dmalloc \ | |
53 --without-odbc \ | |
54 CFLAGS="-I$(PREFIX)/$(TARGET)/include/tre" \ | |
55 CXXFLAGS="-I$(PREFIX)/$(TARGET)/include/tre" \ | |
56 LIBS=" `$(TARGET)-pkg-config tre --libs`" | |
57 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
58 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
59 endef |