aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# beecrypt
|
|
#
|
|
################################################################################
|
|
|
|
BEECRYPT_VERSION = 4.2.1
|
|
BEECRYPT_SITE = http://downloads.sourceforge.net/project/beecrypt/beecrypt/$(BEECRYPT_VERSION)
|
|
BEECRYPT_AUTORECONF = YES
|
|
BEECRYPT_INSTALL_STAGING = YES
|
|
BEECRYPT_LICENSE = LGPLv2.1+
|
|
BEECRYPT_LICENSE_FILES = COPYING.LIB
|
|
|
|
# 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"
|
|
|
|
BEECRYPT_CONF_OPTS = \
|
|
--without-java \
|
|
--without-python \
|
|
--disable-openmp
|
|
|
|
ifeq ($(BR2_PACKAGE_BEECRYPT_CPP),y)
|
|
BEECRYPT_DEPENDENCIES += icu
|
|
else
|
|
BEECRYPT_CONF_OPTS += --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
|
|
|
|
$(eval $(autotools-package))
|