# -*-makefile-*- # # Copyright (C) 2014 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany, Oliver Graute # # 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.15.0 C_ARES_MD5 := d2391da274653f7643270623e822dff7 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 C_ARES_LICENSE_MD5 := file://LICENSE.md;md5=fb997454c8d62aa6a47f07a8cd48b006 # ---------------------------------------------------------------------------- # 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 \ --disable-expose-statics \ --disable-code-coverage \ $(GLOBAL_LARGE_FILE_OPTION) \ --disable-libgcc \ --enable-nonblocking \ --disable-tests \ --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,"") @$(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