annotate src/gtkglext.mk @ 2333:f653602a0500

Rebrand to new project name MXE
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 28 Mar 2012 15:46:58 +0200
parents e4c83fa61a5b
children f48c5b085a38
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: 2153
diff changeset
1 # This file is part of MXE.
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # See doc/index.html for further information.
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # GtkGLExt
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := gtkglext
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_VERSION := 1.2.0
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := db9ce38ee555fd14f55083ec7f4ae30e5338d5cc
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := gtkglext-$($(PKG)_VERSION)
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := gtkglext-$($(PKG)_VERSION).tar.gz
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://gtkglext.sourceforge.net/
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/gtkglext/gtkglext/$($(PKG)_VERSION)/$($(PKG)_FILE)
1594
68ccbdf94db3 rename gtk-->gtk2 in preparation for gtk3
Tony Theodore <tonyt@logyst.com>
parents: 1225
diff changeset
13 $(PKG)_DEPS := gcc gtk2
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://git.gnome.org/cgit/gtkglext/refs/tags' | \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 grep '<a href=' | \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) -n "s,.*<a href='[^']*/tag/?id=\\([0-9][^']*\\)'.*,\\1,p" | \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 grep -v '1\.1\.' | \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 head -1
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 endef
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 define $(PKG)_BUILD
967
9c41979b7f21 replace the $(SED) hacks with proper patches in package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents: 963
diff changeset
24 cd '$(1)' && autoconf
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 cd '$(1)' && ./configure \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --host='$(TARGET)' \
2153
e4c83fa61a5b replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents: 2148
diff changeset
27 --build="`config.guess`" \
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --prefix='$(PREFIX)/$(TARGET)' \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --disable-shared \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --without-x \
967
9c41979b7f21 replace the $(SED) hacks with proper patches in package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents: 963
diff changeset
31 --with-gdktarget=win32 \
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --disable-gtk-doc \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 --disable-man \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 --disable-glibtest
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 $(MAKE) -C '$(1)' -j '$(JOBS)' install \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
36 bin_PROGRAMS= \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 sbin_PROGRAMS= \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 noinst_PROGRAMS= \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 INFO_DEPS= \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
40 GDKGLEXT_DEP_CFLAGS='`'$(TARGET)-pkg-config' gtk+-2.0 --cflags`' \
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
41 GTKGLEXT_DEP_CFLAGS='`'$(TARGET)-pkg-config' gtk+-2.0 --cflags`'
970
446515393768 actually build the test program of package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents: 967
diff changeset
42
446515393768 actually build the test program of package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents: 967
diff changeset
43 '$(TARGET)-gcc' \
446515393768 actually build the test program of package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents: 967
diff changeset
44 -W -Wall -ansi -pedantic \
446515393768 actually build the test program of package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents: 967
diff changeset
45 '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-gtkglext.exe' \
446515393768 actually build the test program of package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents: 967
diff changeset
46 `'$(TARGET)-pkg-config' gtkglext-1.0 --cflags --libs`
963
7834f9cb6042 new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
47 endef