binutils: fix default
[openadk.git] / package / libjansson / Makefile
blobe75c8b1991e977bcb880ff700064b5a598fc52e8
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= libjansson
7 PKG_VERSION:= 2.5
8 PKG_RELEASE:= 1
9 PKG_HASH:= dd8bbfb38ad5031ce88e066b14d3b7e9c7113243daa7f4cde1994b7fc90bb1b1
10 PKG_DESCR:= json library
11 PKG_SECTION:= libs/data
12 PKG_URL:= http://www.digip.org/jansson/
13 PKG_SITES:= http://www.digip.org/jansson/releases/
14 PKG_OPTS:= dev
16 DISTFILES:= jansson-${PKG_VERSION}.tar.gz
17 WRKDIST= ${WRKDIR}/jansson-${PKG_VERSION}
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,LIBJANSSON,libjansson,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
23 TARGET_LDFLAGS+= -lm
25 libjansson-install:
26 $(INSTALL_DIR) $(IDIR_LIBJANSSON)/usr/lib
27 $(CP) $(WRKINST)/usr/lib/libjansson*.so* \
28 $(IDIR_LIBJANSSON)/usr/lib
30 include ${ADK_TOPDIR}/mk/pkg-bottom.mk