blob: 651918c4aecfdb087c01ba38808c690d77e259e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class Recipe(recipe.Recipe):
name = 'gnutls'
version = '3.0.14'
license = License.LGPLv2_1Plus
configure_options = "--enable-local-libopts --disable-guile"
deps = ['zlib', 'nettle', 'libgcrypt', 'libtasn1']
files_libs = ['libgnutls', 'libgnutlsxx', 'libgnutls-openssl']
files_bins = ['gnutls-cli', 'gnutls-serv', 'gnutls-cli-debug']
files_devel = ['lib/pkgconfig/gnutls.pc', 'include/gnutls']
files_lang = ['gnutls']
def prepare(self):
if self.config.target_platform == Platform.WINDOWS:
self.configure_options += ' --enable-threads=win32'
if self.config.target_platform == Platform.DARWIN:
self.configure_options += ' --disable-hardware-acceleration'
|