Mercurial > mxe-octave
annotate src/gtkglext.mk @ 2353:99516e73b368
Move doc/index.html -> index.html
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 12:14:15 +0200 |
parents | f48c5b085a38 |
children | b5321bdec505 |
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. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
963
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)_CHECKSUM := db9ce38ee555fd14f55083ec7f4ae30e5338d5cc |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := gtkglext-$($(PKG)_VERSION) |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_FILE := gtkglext-$($(PKG)_VERSION).tar.gz |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 $(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
|
11 $(PKG)_DEPS := gcc gtk2 |
963
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 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
|
15 grep '<a href=' | \ |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 $(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
|
17 grep -v '1\.1\.' | \ |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 head -1 |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 endef |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 define $(PKG)_BUILD |
967
9c41979b7f21
replace the $(SED) hacks with proper patches in package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents:
963
diff
changeset
|
22 cd '$(1)' && autoconf |
963
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 cd '$(1)' && ./configure \ |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
24 --host='$(TARGET)' \ |
2153
e4c83fa61a5b
replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents:
2148
diff
changeset
|
25 --build="`config.guess`" \ |
963
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 --prefix='$(PREFIX)/$(TARGET)' \ |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --disable-shared \ |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 --without-x \ |
967
9c41979b7f21
replace the $(SED) hacks with proper patches in package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents:
963
diff
changeset
|
29 --with-gdktarget=win32 \ |
963
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 --disable-gtk-doc \ |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
31 --disable-man \ |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
32 --disable-glibtest |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
33 $(MAKE) -C '$(1)' -j '$(JOBS)' install \ |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
34 bin_PROGRAMS= \ |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
35 sbin_PROGRAMS= \ |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 noinst_PROGRAMS= \ |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
37 INFO_DEPS= \ |
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
38 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
|
39 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
|
40 |
446515393768
actually build the test program of package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents:
967
diff
changeset
|
41 '$(TARGET)-gcc' \ |
446515393768
actually build the test program of package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents:
967
diff
changeset
|
42 -W -Wall -ansi -pedantic \ |
446515393768
actually build the test program of package gtkglext
Volker Grabsch <vog@notjusthosting.com>
parents:
967
diff
changeset
|
43 '$(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
|
44 `'$(TARGET)-pkg-config' gtkglext-1.0 --cflags --libs` |
963
7834f9cb6042
new package: gtkglext (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
45 endef |