2008-04-12 11:45:49 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# beecrypt
|
|
|
|
#
|
|
|
|
#############################################################
|
2011-12-14 15:19:20 +01:00
|
|
|
BEECRYPT_VERSION = 4.2.1
|
2008-04-12 11:45:49 +02:00
|
|
|
BEECRYPT_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/beecrypt
|
|
|
|
BEECRYPT_AUTORECONF = YES
|
|
|
|
BEECRYPT_INSTALL_STAGING = YES
|
2012-06-02 09:41:51 +02:00
|
|
|
|
|
|
|
# beecrypt contains C++ code that g++ 4.7 doesn't really
|
|
|
|
# like. Upstream does not seem to be really active, so workaround this
|
|
|
|
# by passing -fpermissive.
|
|
|
|
BEECRYPT_CONF_ENV = \
|
|
|
|
CXXFLAGS="$(TARGET_CXXFLAGS) -fpermissive"
|
|
|
|
|
2011-12-14 15:19:20 +01:00
|
|
|
BEECRYPT_CONF_OPT = \
|
2008-04-12 11:45:49 +02:00
|
|
|
--without-java \
|
2011-12-14 15:19:20 +01:00
|
|
|
--without-python
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ICU),y)
|
|
|
|
# C++ support needs icu
|
|
|
|
BEECRYPT_DEPENDENCIES += icu
|
|
|
|
else
|
|
|
|
BEECRYPT_CONF_OPT += --without-cplusplus
|
|
|
|
|
|
|
|
# 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))
|