Mercurial > mxe-octave
annotate src/liboauth.mk @ 4043:b54e00ea56bc
of-fl-core: readd fl-core patch in dos mode
* src/of-fl-core-1-fixes.patch: readd patch
author | John Donoghue |
---|---|
date | Fri, 02 Oct 2015 10:24:38 -0400 |
parents | 13be64f9f16d |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2329
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. |
1526 | 3 |
4 PKG := liboauth | |
5 $(PKG)_IGNORE := | |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 1.0.0 |
2838 | 7 $(PKG)_CHECKSUM := cc936a440084f159cc46dab9018f1353f8bee80a |
1526 | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://liboauth.sourceforge.net/pool/$($(PKG)_FILE) | |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := curl openssl |
1526 | 12 |
13 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://liboauth.sourceforge.net/' | \ |
1528
76279a31ddf6
package liboauth: fix spacing
Tony Theodore <tonyt@logyst.com>
parents:
1527
diff
changeset
|
15 $(SED) -n 's,.*liboauth-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
76279a31ddf6
package liboauth: fix spacing
Tony Theodore <tonyt@logyst.com>
parents:
1527
diff
changeset
|
16 head -1 |
1526 | 17 endef |
18 | |
19 define $(PKG)_BUILD | |
1528
76279a31ddf6
package liboauth: fix spacing
Tony Theodore <tonyt@logyst.com>
parents:
1527
diff
changeset
|
20 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
22 --prefix='$(HOST_PREFIX)' \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2838
diff
changeset
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
1528
76279a31ddf6
package liboauth: fix spacing
Tony Theodore <tonyt@logyst.com>
parents:
1527
diff
changeset
|
24 --disable-curl |
76279a31ddf6
package liboauth: fix spacing
Tony Theodore <tonyt@logyst.com>
parents:
1527
diff
changeset
|
25 $(MAKE) -C '$(1)' -j '$(JOBS)' |
76279a31ddf6
package liboauth: fix spacing
Tony Theodore <tonyt@logyst.com>
parents:
1527
diff
changeset
|
26 $(MAKE) -C '$(1)' -j 1 install |
2329
466e77a78672
Fix annoying whitespaces at EOL
Volker Grabsch <vog@notjusthosting.com>
parents:
2173
diff
changeset
|
27 |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
28 '$(MXE_CC)' \ |
1528
76279a31ddf6
package liboauth: fix spacing
Tony Theodore <tonyt@logyst.com>
parents:
1527
diff
changeset
|
29 -W -Wall -Werror -ansi -pedantic \ |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
30 '$(2).c' -o '$(HOST_BINDIR)/test-liboauth.exe' \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
31 `'$(MXE_PKG_CONFIG)' oauth --cflags --libs` |
1526 | 32 endef |