Mercurial > mxe-octave
annotate src/libgnurx.mk @ 2988:aca8511e7751
qt.mk: link to correct files in bin directory
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 16 May 2013 13:32:57 -0400 |
parents | 1e4435f029c1 |
children | 100e618349f7 |
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. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
2051
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 PKG := libgnurx |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
6 $(PKG)_CHECKSUM := f1e4af2541645dac82362b618aaa849658cd4988 |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
7 $(PKG)_SUBDIR := mingw-libgnurx-$($(PKG)_VERSION) |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
8 $(PKG)_FILE := mingw-libgnurx-$($(PKG)_VERSION)-src.tar.gz |
2085
3ca30d0975e4
packages libgnurx mingwrt mingw-utils w32api: fix upstream URLs
Mark Brand <mabrand@mabrand.nl>
parents:
2051
diff
changeset
|
9 $(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
|
10 $(PKG)_DEPS := gcc |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
11 |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
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://sourceforge.net/projects/mingw/files/Other/UserContributed/regex/' | \ |
2051
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
14 grep 'mingw-regex-' | \ |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
15 $(SED) -n 's,.*mingw-regex-\([0-9\.]*\).*,\1,p' | \ |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
16 sort | \ |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
17 uniq | \ |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
18 tail -1 |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
19 endef |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
20 |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
21 define $(PKG)_BUILD |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
22 cd '$(1)' && ./configure \ |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
23 --host='$(TARGET)' \ |
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
24 --prefix='$(PREFIX)/$(TARGET)' |
2950
1e4435f029c1
install shared libraries for libgnurx
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
25 $(MAKE) -C '$(1)' -f Makefile.mxe -j '$(JOBS)' TARGET=$(TARGET) bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
1e4435f029c1
install shared libraries for libgnurx
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
26 $(MAKE) -C '$(1)' -f Makefile.mxe -j '$(JOBS)' TARGET=$(TARGET) bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= install install-static |
2051
18265b282d7a
new packages: file libgnurx lzo
Moritz Bunkus <moritz@bunkus.org>
parents:
diff
changeset
|
27 endef |