Mercurial > mxe-octave
annotate src/liboauth.mk @ 1527:5717df60d379
package liboauth: add test program and remove check target and associated variables
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Mon, 03 Jan 2011 16:34:14 +1100 |
parents | 7e8f36740d45 |
children | 76279a31ddf6 |
rev | line source |
---|---|
1526 | 1 # This file is part of mingw-cross-env. |
2 # See doc/index.html for further information. | |
3 | |
4 # liboauth | |
5 PKG := liboauth | |
6 $(PKG)_IGNORE := | |
7 $(PKG)_VERSION := 0.9.1 | |
8 $(PKG)_CHECKSUM := f554a8f5e4edbabd64df7638cf4a2f9060ac5671 | |
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_WEBSITE := http://liboauth.sourceforge.net/ | |
12 $(PKG)_URL := http://liboauth.sourceforge.net/pool/$($(PKG)_FILE) | |
13 $(PKG)_DEPS := gcc curl openssl | |
14 | |
15 define $(PKG)_UPDATE | |
16 wget -q -O- 'http://liboauth.sourceforge.net/' | \ | |
17 $(SED) -n 's,.*liboauth-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
18 head -1 | |
19 endef | |
20 | |
21 define $(PKG)_BUILD | |
22 cd '$(1)' && ./configure \ | |
23 --host='$(TARGET)' \ | |
24 --prefix='$(PREFIX)/$(TARGET)' \ | |
25 --disable-shared \ | |
1527
5717df60d379
package liboauth: add test program and remove check target and associated variables
Tony Theodore <tonyt@logyst.com>
parents:
1526
diff
changeset
|
26 --disable-curl |
1526 | 27 $(MAKE) -C '$(1)' -j '$(JOBS)' |
1527
5717df60d379
package liboauth: add test program and remove check target and associated variables
Tony Theodore <tonyt@logyst.com>
parents:
1526
diff
changeset
|
28 $(MAKE) -C '$(1)' -j 1 install |
5717df60d379
package liboauth: add test program and remove check target and associated variables
Tony Theodore <tonyt@logyst.com>
parents:
1526
diff
changeset
|
29 |
5717df60d379
package liboauth: add test program and remove check target and associated variables
Tony Theodore <tonyt@logyst.com>
parents:
1526
diff
changeset
|
30 '$(TARGET)-gcc' \ |
5717df60d379
package liboauth: add test program and remove check target and associated variables
Tony Theodore <tonyt@logyst.com>
parents:
1526
diff
changeset
|
31 -W -Wall -Werror -ansi -pedantic \ |
5717df60d379
package liboauth: add test program and remove check target and associated variables
Tony Theodore <tonyt@logyst.com>
parents:
1526
diff
changeset
|
32 '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-liboauth.exe' \ |
5717df60d379
package liboauth: add test program and remove check target and associated variables
Tony Theodore <tonyt@logyst.com>
parents:
1526
diff
changeset
|
33 `'$(TARGET)-pkg-config' oauth --cflags --libs` |
1526 | 34 endef |