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
69
|
# -*-makefile-*-
#
# Copyright (C) 2014 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany, Oliver Graute <oliver.graute@neuhaus.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_C_ARES) += c-ares
#
# Paths and names
#
C_ARES_VERSION := 1.10.0
C_ARES_MD5 := 1196067641411a75d3cbebe074fd36d8
C_ARES := c-ares-$(C_ARES_VERSION)
C_ARES_SUFFIX := tar.gz
C_ARES_URL := http://c-ares.haxx.se/download/$(C_ARES).$(C_ARES_SUFFIX)
C_ARES_SOURCE := $(SRCDIR)/$(C_ARES).$(C_ARES_SUFFIX)
C_ARES_DIR := $(BUILDDIR)/$(C_ARES)
C_ARES_LICENSE := MIT
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
C_ARES_CONF_TOOL := autoconf
C_ARES_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--disable-debug \
--enable-optimize \
--enable-warnings \
--disable-werror \
--disable-curldebug \
--enable-symbol-hiding \
$(GLOBAL_LARGE_FILE_OPTION) \
--enable-nonblocking \
--with-random=/dev/urandom
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/c-ares.targetinstall:
@$(call targetinfo)
@$(call install_init, c-ares)
@$(call install_fixup, c-ares,PRIORITY,optional)
@$(call install_fixup, c-ares,SECTION,base)
@$(call install_fixup, c-ares,AUTHOR,"<oliver.graute@neuhaus.de>")
@$(call install_fixup, c-ares,DESCRIPTION,missing)
@$(call install_lib, c-ares, 0, 0, 0644, libcares)
@$(call install_finish, c-ares)
@$(call touch)
# vim: syntax=make
|