summaryrefslogtreecommitdiffstats
path: root/rules/libestr.make
blob: 1b53508f1bf3199009f35a79d03cbecf66cae37b (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
# -*-makefile-*-
#
# Copyright (C) 2015 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# 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_LIBESTR) += libestr

#
# Paths and names
#
LIBESTR_VERSION	:= 0.1.10
LIBESTR_MD5	:= f4c9165a23587e77f7efe65d676d5e8e
LIBESTR		:= libestr-$(LIBESTR_VERSION)
LIBESTR_SUFFIX	:= tar.gz
LIBESTR_URL	:= http://libestr.adiscon.com/files/download/$(LIBESTR).$(LIBESTR_SUFFIX)
LIBESTR_SOURCE	:= $(SRCDIR)/$(LIBESTR).$(LIBESTR_SUFFIX)
LIBESTR_DIR	:= $(BUILDDIR)/$(LIBESTR)
LIBESTR_LICENSE	:= LGPL-2.1-or-later

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

#
# autoconf
#
LIBESTR_CONF_TOOL	:= autoconf
LIBESTR_CONF_OPT	:= \
	$(CROSS_AUTOCONF_USR) \
	--disable-testbench \
	--disable-debug

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

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

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

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

	@$(call install_finish, libestr)

	@$(call touch)

# vim: syntax=make