summaryrefslogtreecommitdiffstats
path: root/rules/yajl.make
blob: 3113a8cd07c561f6f701a7fffde4ebe578a19bde (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# -*-makefile-*-
#
# Copyright (C) 2016 by Denis Osterland <Denis.Osterland@diehl.com>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

PACKAGES-$(PTXCONF_YAJL) += yajl

YAJL_VERSION       := 2.1.0
YAJL_MD5           := 8df8a92a2799bc949577e8e7a9f43670
YAJL               := yajl-$(YAJL_VERSION)
YAJL_SUFFIX        := tar.gz
YAJL_URL           := http://github.com/lloyd/yajl/tarball/$(YAJL_VERSION)
YAJL_SOURCE        := $(SRCDIR)/$(YAJL).$(YAJL_SUFFIX)
YAJL_DIR           := $(BUILDDIR)/$(YAJL)
YAJL_LICENSE       := ISC
YAJL_LICENSE_FILES := file://COPYING;md5=39af6eb42999852bdd3ea00ad120a36d


# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

YAJL_CONF_TOOL	:= cmake

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/yajl.targetinstall:
	@$(call targetinfo)

	@$(call install_init, yajl)
	@$(call install_fixup, yajl,PRIORITY,optional)
	@$(call install_fixup, yajl,SECTION,base)
	@$(call install_fixup, yajl,AUTHOR,"Denis Osterland <Denis.Osterland@diehl.com>")
	@$(call install_fixup, yajl,DESCRIPTION,missing)

	@$(call install_lib, yajl, 0, 0, 0755, libyajl)

	@$(call install_finish, yajl)

	@$(call touch)

# vim: syntax=make