# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python class Recipe(recipe.Recipe): name = 'libgcrypt' version = '1.5.0' # TODO: check license - some source files are LGPLv2+, others LGPLv2.1+ # and COPYING.LIB is GPLv2.1 licenses = [License.LGPLv2_1Plus] autoreconf = True deps = ['libgpg-error'] files_libs = ['libgcrypt'] files_devel = ['include/gcrypt-module.h', 'include/gcrypt.h', 'bin/libgcrypt-config'] def prepare(self): if self.config.target_platform == Platform.WINDOWS: if self.config.target_arch == Architecture.X86_64: self.configure_options += ' --disable-asm' self.can_use_configure_cache = False elif self.config.target_platform == Platform.DARWIN: self.configure_options += ' --disable-docs'