summaryrefslogtreecommitdiff
path: root/package/libfastjson/Makefile
blob: 8aa71db571424e2d4a11c10f438db082be836153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		libfastjson
PKG_VERSION:=		0.99.8
PKG_RELEASE:=		1
PKG_HASH:=		7e49057b26a5a9e3c6623e024f95f9fd9a14b571b9150aeb89d6d475fc3633e3
PKG_DESCR:=		another json library
PKG_SECTION:=		libs/data
PKG_URL:=		https://github.com/rsyslog/libfastjson
PKG_SITES:=		https://github.com/rsyslog/libfastjson/archive/
PKG_OPTS:=		dev

DISTFILES:=             v$(PKG_VERSION).tar.gz

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LIBFASTJSON,libfastjson,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))

AUTOTOOL_STYLE:=	autogen

libfastjson-install:
	$(INSTALL_DIR) $(IDIR_LIBFASTJSON)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libfastjson*.so* \
		$(IDIR_LIBFASTJSON)/usr/lib

include $(ADK_TOPDIR)/mk/pkg-bottom.mk