annotate src/libgnurx.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 3ca30d0975e4
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: 2085
diff changeset
1 # This file is part of MXE.
2051
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
2 # See doc/index.html for further information.
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
3
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
4 # libgnurx
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
5 PKG := libgnurx
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
6 $(PKG)_IGNORE :=
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
7 $(PKG)_VERSION := 2.5.1
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
8 $(PKG)_CHECKSUM := f1e4af2541645dac82362b618aaa849658cd4988
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
9 $(PKG)_SUBDIR := mingw-libgnurx-$($(PKG)_VERSION)
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
10 $(PKG)_FILE := mingw-libgnurx-$($(PKG)_VERSION)-src.tar.gz
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://sourceforge.net/projects/mingw/files/UserContributed/regex/
2085
3ca30d0975e4 packages libgnurx mingwrt mingw-utils w32api: fix upstream URLs
Mark Brand <mabrand@mabrand.nl>
parents: 2051
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mingw/Other/UserContributed/regex/mingw-regex-$($(PKG)_VERSION)/$($(PKG)_FILE)
2051
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
13 $(PKG)_DEPS := gcc
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
14
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
15 define $(PKG)_UPDATE
2085
3ca30d0975e4 packages libgnurx mingwrt mingw-utils w32api: fix upstream URLs
Mark Brand <mabrand@mabrand.nl>
parents: 2051
diff changeset
16 wget -q -O- 'http://sourceforge.net/projects/mingw/files/Other/UserContributed/regex/' | \
2051
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
17 grep 'mingw-regex-' | \
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
18 $(SED) -n 's,.*mingw-regex-\([0-9\.]*\).*,\1,p' | \
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
19 sort | \
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
20 uniq | \
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
21 tail -1
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
22 endef
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
23
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
24 define $(PKG)_BUILD
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
25 cd '$(1)' && ./configure \
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
26 --host='$(TARGET)' \
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
27 --prefix='$(PREFIX)/$(TARGET)'
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2085
diff changeset
28 $(MAKE) -C '$(1)' -f Makefile.mxe -j '$(JOBS)' TARGET=$(TARGET) bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= install-static
2051
18265b282d7a new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff changeset
29 endef