Mercurial > mxe-octave
view 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 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. # json-c PKG := json-c $(PKG)_IGNORE := $(PKG)_CHECKSUM := daaf5eb960fa98e137abc5012f569b83c79be90f $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://oss.metaparadigm.com/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE wget -q -O- 'http://oss.metaparadigm.com/json-c/?C=M;O=D' | \ $(SED) -n 's,.*json-c-\([0-9][^>]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ --host='$(TARGET)' \ --prefix='$(PREFIX)/$(TARGET)' \ --build="`config.guess`"\ CFLAGS=-Wno-error $(MAKE) -C '$(1)' -j '$(JOBS)' install endef