annotate src/libgee.mk @ 2525:4d0f3a9da57e

all packages: use $(WGET) portability variable
author Tony Theodore <tonyt@logyst.com>
date Wed, 09 May 2012 01:16:05 +1000
parents b5321bdec505
children 47558e958113
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.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
1019
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 PKG := libgee
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_CHECKSUM := 78d7fbd0668d01bc23e9772211b4885ae7e479cd
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_SUBDIR := libgee-$($(PKG)_VERSION)
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_FILE := libgee-$($(PKG)_VERSION).tar.bz2
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(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
10 $(PKG)_DEPS := gcc glib
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
13 $(WGET) -q -O- 'http://git.gnome.org/browse/libgee/refs/tags' | \
1019
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 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
15 $(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
16 $(SED) 's,_,.,g' | \
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 head -1
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 endef
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 define $(PKG)_BUILD
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 cd '$(1)' && ./configure \
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --host='$(TARGET)' \
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --disable-shared \
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --prefix='$(PREFIX)/$(TARGET)'
43e934a84821 new package: libgee (by Matias De la Puente)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(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
26 $(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
27 endef