From 18c26c3a16bc7751e5e39f92b8567746e798e6cf Mon Sep 17 00:00:00 2001 From: Mireiawen Rose Date: Fri, 20 Feb 2015 16:43:20 +0200 Subject: Add package for Jansson --- src/jansson.mk | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/jansson.mk diff --git a/src/jansson.mk b/src/jansson.mk new file mode 100644 index 0000000..18f3e92 --- /dev/null +++ b/src/jansson.mk @@ -0,0 +1,24 @@ +# 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 -- cgit v0.12 From 8dd11a1ad02a1f9832367597d6c1636e04448f0e Mon Sep 17 00:00:00 2001 From: Mireiawen Rose Date: Mon, 9 Mar 2015 10:08:15 +0200 Subject: Add the Jansson package to the index.html as well --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index 5a051f4..678c24f 100644 --- a/index.html +++ b/index.html @@ -1538,6 +1538,10 @@ local-pkg-list: $(LOCAL_PKG_LIST) Insight Segmentation and Registration Toolkit (ITK) + jansson + Jansson + + jasper JasPer -- cgit v0.12