Mercurial > mxe-octave
annotate src/apr-util.mk @ 3815:deed2268e330
pstoedit: cleanup wmf/emf patch
* src/pstoedit-4-winlibemf.patch: clean up patch
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sat, 28 Feb 2015 14:44:57 -0500 |
parents | 13be64f9f16d |
children |
rev | line source |
---|---|
2469
51a4ed33302d
various packages: fix references to mingw-cross-env and doc/index.html
Tony Theodore <tonyt@logyst.com>
parents:
2466
diff
changeset
|
1 # This file is part of MXE. |
51a4ed33302d
various packages: fix references to mingw-cross-env and doc/index.html
Tony Theodore <tonyt@logyst.com>
parents:
2466
diff
changeset
|
2 # See index.html for further information. |
2465
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
3 |
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
4 PKG := apr-util |
2466
a7a203db74c5
packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents:
2465
diff
changeset
|
5 $(PKG)_IGNORE := 1.4.1 |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3216
diff
changeset
|
6 $(PKG)_VERSION := 1.3.10 |
2465
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
7 $(PKG)_CHECKSUM := f5aaf15542209fee479679299dc4cb1ac0924a59 |
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := apr-util-$($(PKG)_VERSION) |
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
9 $(PKG)_FILE := apr-util-$($(PKG)_VERSION).tar.gz |
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
10 $(PKG)_URL := http://mirror.apache-kr.org/apr/$($(PKG)_FILE) |
2466
a7a203db74c5
packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents:
2465
diff
changeset
|
11 $(PKG)_URL_2 := http://archive.apache.org/dist/apr/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
12 $(PKG)_DEPS := apr expat libiconv |
2465
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
13 |
2466
a7a203db74c5
packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents:
2465
diff
changeset
|
14 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2469
diff
changeset
|
15 $(WGET) -q -O- 'http://apr.apache.org/download.cgi' | \ |
2466
a7a203db74c5
packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents:
2465
diff
changeset
|
16 grep 'aprutil1.*best' | |
a7a203db74c5
packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents:
2465
diff
changeset
|
17 $(SED) -n 's,.*APR-util \([0-9.]*\).*,\1,p' |
a7a203db74c5
packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents:
2465
diff
changeset
|
18 endef |
2465
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
19 |
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
21 cd '$(1)' && ./configure \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
3006
diff
changeset
|
22 --prefix='$(HOST_PREFIX)' \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
24 $(ENABLE_SHARED_OR_STATIC) \ |
2465
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
25 --without-pgsql \ |
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
26 --without-sqlite2 \ |
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
27 --without-sqlite3 \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
3006
diff
changeset
|
28 --with-apr='$(HOST_PREFIX)' \ |
2466
a7a203db74c5
packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents:
2465
diff
changeset
|
29 CFLAGS=-D_WIN32_WINNT=0x0500 |
a7a203db74c5
packages apr, apr-util, log4cxx: various changes and add log4cxx test program
Tony Theodore <tonyt@logyst.com>
parents:
2465
diff
changeset
|
30 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= |
3216
11f8ec654cd4
Avoid copying or linking files that are the same when doing native build
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
31 if [ $(MXE_NATIVE_BUILD) = no ]; then \ |
11f8ec654cd4
Avoid copying or linking files that are the same when doing native build
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
32 $(INSTALL) -m755 '$(HOST_BINDIR)/apu-1-config' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)apu-1-config'; \ |
11f8ec654cd4
Avoid copying or linking files that are the same when doing native build
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
33 fi |
2465
c5d8bb3beb28
new packages: apr, apr-util, log4cxx
Daniel Stonier <d.stonier@gmail.com>
parents:
diff
changeset
|
34 endef |