Mercurial > mxe-octave
annotate src/json-c.mk @ 2353:99516e73b368
Move doc/index.html -> index.html
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 12:14:15 +0200 |
parents | f48c5b085a38 |
children | b5321bdec505 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2307
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. |
2230 | 3 |
4 # json-c | |
5 PKG := json-c | |
6 $(PKG)_IGNORE := | |
7 $(PKG)_CHECKSUM := daaf5eb960fa98e137abc5012f569b83c79be90f | |
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://oss.metaparadigm.com/$(PKG)/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := gcc | |
12 | |
13 define $(PKG)_UPDATE | |
2307
5e23910a7f46
package json-c: add update macro
Tony Theodore <tonyt@logyst.com>
parents:
2289
diff
changeset
|
14 wget -q -O- 'http://oss.metaparadigm.com/json-c/?C=M;O=D' | \ |
5e23910a7f46
package json-c: add update macro
Tony Theodore <tonyt@logyst.com>
parents:
2289
diff
changeset
|
15 $(SED) -n 's,.*json-c-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
5e23910a7f46
package json-c: add update macro
Tony Theodore <tonyt@logyst.com>
parents:
2289
diff
changeset
|
16 head -1 |
2230 | 17 endef |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
21 --host='$(TARGET)' \ | |
22 --prefix='$(PREFIX)/$(TARGET)' \ | |
23 --build="`config.guess`"\ | |
2289
125d60dc0659
Fix annoying TABs and missing newlines at EOF
Volker Grabsch <vog@notjusthosting.com>
parents:
2230
diff
changeset
|
24 CFLAGS=-Wno-error |
2230 | 25 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
26 endef |