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
|
# -*-makefile-*-
#
# Copyright (C) 2012 by Jan Luebbe <jlu@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_GNUTLS) += gnutls
#
# Paths and names
#
GNUTLS_VERSION := 2.12.20
GNUTLS_MD5 := f1dea97da5d4dcdbc675720c9aad9ee3
GNUTLS := gnutls-$(GNUTLS_VERSION)
GNUTLS_SUFFIX := tar.bz2
GNUTLS_URL := http://ftp.gnu.org/gnu/gnutls/$(GNUTLS).$(GNUTLS_SUFFIX)
GNUTLS_SOURCE := $(SRCDIR)/$(GNUTLS).$(GNUTLS_SUFFIX)
GNUTLS_DIR := $(BUILDDIR)/$(GNUTLS)
GNUTLS_LICENSE := LGPLv3+
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
GNUTLS_CONF_TOOL := autoconf
GNUTLS_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--with-libgcrypt \
--with-libgcrypt-prefix=$(PTXDIST_SYSROOT_TARGET)/usr \
--without-p11-kit \
--disable-guile
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/gnutls.targetinstall:
@$(call targetinfo)
@$(call install_init, gnutls)
@$(call install_fixup, gnutls,PRIORITY,optional)
@$(call install_fixup, gnutls,SECTION,base)
@$(call install_fixup, gnutls,AUTHOR,"Jan Luebbe <jlu@pengutronix.de>")
@$(call install_fixup, gnutls,DESCRIPTION,missing)
@$(call install_lib, gnutls, 0, 0, 0644, libgnutls)
@$(call install_finish, gnutls)
@$(call touch)
# vim: syntax=make
|