annotate src/libgee.mk @ 2349:f48c5b085a38

Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 11:07:07 +0200
parents f653602a0500
children 99516e73b368
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)_CHECKSUM := 78d7fbd0668d01bc23e9772211b4885ae7e479cd
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := libgee-$($(PKG)_VERSION)
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := libgee-$($(PKG)_VERSION).tar.bz2
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(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
11 $(PKG)_DEPS := gcc glib
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 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
15 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
16 $(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
17 $(SED) 's,_,.,g' | \
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 head -1
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --host='$(TARGET)' \
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --disable-shared \
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --prefix='$(PREFIX)/$(TARGET)'
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(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
27 $(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
28 endef