annotate src/libgee.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 dd28c487a6b1
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: 1033
diff changeset
1 # This file is part of MXE.
1019
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # See doc/index.html for further information.
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # libgee
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := libgee
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_VERSION := 0.5.0
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 78d7fbd0668d01bc23e9772211b4885ae7e479cd
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := libgee-$($(PKG)_VERSION)
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := libgee-$($(PKG)_VERSION).tar.bz2
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://live.gnome.org/Libgee
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libgee/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc glib
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://git.gnome.org/browse/libgee/refs/tags' | \
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 grep '<a href=' | \
1033
dd28c487a6b1 improved version recognition of packages: boost freetype gcc glew libgee mingwrt openssl pcre pdcurses w32api wxwidgets
Volker Grabsch <vog@notjusthosting.com>
parents: 1019
diff changeset
18 $(SED) -n "s,.*<a href='[^']*/tag/?id=LIBGEE_\\([0-9]*_[0-9]*_[^<]*\\)'.*,\\1,p" | \
1019
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 $(SED) 's,_,.,g' | \
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 head -1
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 endef
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 define $(PKG)_BUILD
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 cd '$(1)' && ./configure \
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --host='$(TARGET)' \
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --disable-shared \
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --prefix='$(PREFIX)/$(TARGET)'
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 endef