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-10-19 18:47:49 +02:00
|
|
|
--disable-expert-mode \
|
2008-04-12 11:45:49 +02:00
|
|
|
--without-java \
|
2013-11-22 22:17:32 +01:00
|
|
|
--without-python \
|
|
|
|
--disable-openmp
|
2011-12-14 15:19:20 +01:00
|
|
|
|
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
|
|
|
|
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))
|