summaryrefslogtreecommitdiffstats
path: root/rules/yajl.make
blob: ec7f5d303a029bf6746d01d6e3985beb0ab23cb2 (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
50
51
52
53
54
55
56
57
# -*-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.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_YAJL) += yajl

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

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

#
# cmake
#
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, 0644, libyajl)

	@$(call install_finish, yajl)

	@$(call touch)

# vim: syntax=make