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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
3
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
4 # json-c
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
5 PKG := json-c
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
6 $(PKG)_IGNORE :=
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := daaf5eb960fa98e137abc5012f569b83c79be90f
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
10 $(PKG)_URL := http://oss.metaparadigm.com/$(PKG)/$($(PKG)_FILE)
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
11 $(PKG)_DEPS := gcc
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
12
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
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
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
17 endef
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
18
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
19 define $(PKG)_BUILD
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
20 cd '$(1)' && ./configure \
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
21 --host='$(TARGET)' \
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
22 --prefix='$(PREFIX)/$(TARGET)' \
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
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
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install
fc01ad137722 new package json-c
Thomas Mayer <thomas@residuum.org>
parents:
diff changeset
26 endef