2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-04-12 11:45:49 +02:00
|
|
|
#
|
|
|
|
# beecrypt
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2011-12-14 15:19:20 +01:00
|
|
|
BEECRYPT_VERSION = 4.2.1
|
2012-08-26 01:52:48 +02:00
|
|
|
BEECRYPT_SITE = http://downloads.sourceforge.net/project/beecrypt/beecrypt/$(BEECRYPT_VERSION)
|
2008-04-12 11:45:49 +02:00
|
|
|
BEECRYPT_AUTORECONF = YES
|
|
|
|
BEECRYPT_INSTALL_STAGING = YES
|
2012-11-30 01:14:38 +01:00
|
|
|
BEECRYPT_LICENSE = LGPLv2.1+
|
|
|
|
BEECRYPT_LICENSE_FILES = COPYING.LIB
|
2012-06-02 09:41:51 +02:00
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
BEECRYPT_CONF_OPTS = \
|
2014-12-22 09:12:05 +01:00
|
|
|
--disable-expert-mode \
|
|
|
|
--without-java \
|
|
|
|
--without-python \
|
|
|
|
--disable-openmp
|
2011-12-14 15:19:20 +01:00
|
|
|
|
2016-06-18 13:26:11 +02:00
|
|
|
# disable optimized m68k assembly as it doesn't compile for coldfire
|
|
|
|
ifeq ($(BR2_m68k_cf),y)
|
|
|
|
BEECRYPT_CONF_OPTS += --enable-debug
|
|
|
|
endif
|
|
|
|
|
2016-06-27 16:33:07 +02:00
|
|
|
# arm asm optimization doesn't work for thumb-only
|
|
|
|
ifeq ($(BR2_arm):$(BR2_ARM_CPU_HAS_ARM),y:)
|
|
|
|
BEECRYPT_CONF_OPTS += --enable-debug
|
|
|
|
endif
|
|
|
|
|
2014-03-26 18:40:54 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_BEECRYPT_CPP),y)
|
2011-12-14 15:19:20 +01:00
|
|
|
BEECRYPT_DEPENDENCIES += icu
|
2015-08-15 14:46:42 +02:00
|
|
|
BEECRYPT_CONF_OPTS += --with-cplusplus
|
2011-12-14 15:19:20 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
BEECRYPT_CONF_OPTS += --without-cplusplus
|
2011-12-14 15:19:20 +01:00
|
|
|
|
|
|
|
# automake/libtool uses the C++ compiler to link libbeecrypt because of
|
|
|
|
# (the optional) cppglue.cxx. Force it to use the C compiler instead.
|
|
|
|
define BEECRYPT_LINK_WITH_CC
|
|
|
|
$(SED) 's/--tag=CXX/--tag=CC/g' $(@D)/Makefile
|
|
|
|
endef
|
|
|
|
|
|
|
|
BEECRYPT_POST_CONFIGURE_HOOKS += BEECRYPT_LINK_WITH_CC
|
|
|
|
endif
|
2008-04-12 11:45:49 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|