You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
741 B
25 lines
741 B
9 years ago
|
# This file is part of MXE.
|
||
|
# See index.html for further information.
|
||
|
|
||
|
PKG := jansson
|
||
|
$(PKG)_IGNORE :=
|
||
|
$(PKG)_VERSION := 2.7
|
||
|
$(PKG)_CHECKSUM := 51cd3b57f152132de686bb8c1f4471cc9ca7970e
|
||
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
|
||
|
$(PKG)_URL := http://www.digip.org/$(PKG)/releases/$($(PKG)_FILE)
|
||
|
$(PKG)_DEPS := gcc autoconf automake libtool
|
||
|
|
||
|
define $(PKG)_UPDATE
|
||
|
echo 'TODO: write update script for $(PKG).' >&2;
|
||
|
echo $($(PKG)_VERSION)
|
||
|
endef
|
||
|
|
||
|
define $(PKG)_BUILD
|
||
|
mkdir '$(1).build'
|
||
|
cd '$(1).build' && '$(1)/configure' \
|
||
|
--prefix '$(PREFIX)/$(TARGET)'
|
||
|
$(MAKE) -C '$(1).build' -j '$(JOBS)'
|
||
|
$(MAKE) -C '$(1).build' -j 1 install
|
||
|
endef
|