Mercurial > mxe-octave
annotate src/json-c.mk @ 2365:b5321bdec505
Move full package names from src/*.mk into package list (index.html)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 21:41:44 +0200 |
parents | 99516e73b368 |
children | 4d0f3a9da57e |
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 PKG := json-c | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := daaf5eb960fa98e137abc5012f569b83c79be90f | |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://oss.metaparadigm.com/$(PKG)/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := gcc | |
11 | |
12 define $(PKG)_UPDATE | |
2307
5e23910a7f46
package json-c: add update macro
Tony Theodore <tonyt@logyst.com>
parents:
2289
diff
changeset
|
13 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
|
14 $(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
|
15 head -1 |
2230 | 16 endef |
17 | |
18 define $(PKG)_BUILD | |
19 cd '$(1)' && ./configure \ | |
20 --host='$(TARGET)' \ | |
21 --prefix='$(PREFIX)/$(TARGET)' \ | |
22 --build="`config.guess`"\ | |
2289
125d60dc0659
Fix annoying TABs and missing newlines at EOF
Volker Grabsch <vog@notjusthosting.com>
parents:
2230
diff
changeset
|
23 CFLAGS=-Wno-error |
2230 | 24 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
25 endef |