blob: aa41cfa1893212e1c21e93fe0d4982b21d967acd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# -*- 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'
|