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
58
59
60
61
62
63
64
65
66
67
68
|
# -*-makefile-*-
#
# Copyright (C) 2018 by Alexander Dahl <ada@thorsis.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_JQ) += jq
#
# Paths and names
#
JQ_VERSION := 1.5
JQ_MD5 := 0933532b086bd8b6a41c1b162b1731f9
JQ := jq-$(JQ_VERSION)
JQ_SUFFIX := tar.gz
JQ_URL := https://github.com/stedolan/jq/releases/download/$(JQ)/$(JQ).$(JQ_SUFFIX)
JQ_SOURCE := $(SRCDIR)/$(JQ).$(JQ_SUFFIX)
JQ_DIR := $(BUILDDIR)/$(JQ)
JQ_LICENSE := MIT AND CC-BY-3.0
JQ_LICENSE_FILES := file://COPYING;md5=29dd0c35d7e391bb8d515eacf7592e00
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
JQ_CONF_TOOL := autoconf
JQ_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--disable-maintainer-mode \
--disable-valgrind \
--disable-gcov \
--disable-docs \
--disable-error-injection \
--disable-all-static \
--enable-pthread-tls \
--without-oniguruma
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/jq.targetinstall:
@$(call targetinfo)
@$(call install_init, jq)
@$(call install_fixup, jq,PRIORITY,optional)
@$(call install_fixup, jq,SECTION,base)
@$(call install_fixup, jq,AUTHOR,"Alexander Dahl <ada@thorsis.com>")
@$(call install_fixup, jq,DESCRIPTION,missing)
@$(call install_lib, jq, 0, 0, 0644, libjq)
@$(call install_copy, jq, 0, 0, 0755, -, /usr/bin/jq)
@$(call install_finish, jq)
@$(call touch)
# vim: ft=make noet ts=8 sw=8
|