summaryrefslogtreecommitdiffstats
path: root/rules/libpsl.make
blob: 723dced029eb003c80a297865358b8b0b6da2247 (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
58
59
60
61
62
63
64
65
66
# -*-makefile-*-
#
# Copyright (C) 2019 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_LIBPSL) += libpsl

#
# Paths and names
#
LIBPSL_VERSION	:= 0.21.0
LIBPSL_MD5	:= 171e96d887709e36a57f4ee627bf82d2
LIBPSL		:= libpsl-$(LIBPSL_VERSION)
LIBPSL_SUFFIX	:= tar.gz
LIBPSL_URL	:= https://github.com/rockdaboot/libpsl/releases/download/$(LIBPSL)/$(LIBPSL).$(LIBPSL_SUFFIX)
LIBPSL_SOURCE	:= $(SRCDIR)/$(LIBPSL).$(LIBPSL_SUFFIX)
LIBPSL_DIR	:= $(BUILDDIR)/$(LIBPSL)
LIBPSL_LICENSE	:= MIT

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

#
# autoconf
#
LIBPSL_CONF_TOOL	:= autoconf
LIBPSL_CONF_OPT		:= \
	$(CROSS_AUTOCONF_USR) \
	--disable-nls \
	--disable-rpath \
	--disable-gtk-doc \
	--disable-gtk-doc-html \
	--disable-gtk-doc-pdf \
	--disable-man \
	--disable-cfi \
	--disable-ubsan \
	--disable-asan \
	--disable-valgrind-tests

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

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

	@$(call install_init, libpsl)
	@$(call install_fixup, libpsl,PRIORITY,optional)
	@$(call install_fixup, libpsl,SECTION,base)
	@$(call install_fixup, libpsl,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
	@$(call install_fixup, libpsl,DESCRIPTION,missing)

	@$(call install_lib, libpsl, 0, 0, 0644, libpsl)

	@$(call install_finish, libpsl)

	@$(call touch)

# vim: syntax=make