summaryrefslogtreecommitdiffstats
path: root/package/polarssl/polarssl.mk
blob: f3bc421ccdeb8944f83652b2f41b9e9fa386e834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
################################################################################
#
# polarssl
#
################################################################################

POLARSSL_SITE = https://polarssl.org/code/releases
POLARSSL_VERSION = 1.2.8
POLARSSL_SOURCE = polarssl-$(POLARSSL_VERSION)-gpl.tgz
POLARSSL_CONF_OPT = \
	-DUSE_SHARED_POLARSSL_LIBRARY=ON \
	-DUSE_STATIC_POLARSSL_LIBRARY=ON \
	-DBUILD_TESTS=OFF \
	-DBUILD_PROGRAMS=$(if $(BR2_PACKAGE_POLARSSL_PROGRAMS),ON,OFF)

POLARSSL_INSTALL_STAGING = YES
POLARSSL_LICENSE = GPLv2
POLARSSL_LICENSE_FILES = LICENSE

$(eval $(cmake-package))