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