summaryrefslogtreecommitdiff
path: root/recipes-toolchain/gmp.recipe
blob: f493b2f0630f516dfdd013575908adee3c35b9e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python


class Recipe(recipe.Recipe):
    name = 'gmp'
    version = '6.1.2'
    url = 'https://gmplib.org/download/gmp/gmp-%(version)s.tar.bz2'
    tarball_dirname = 'gmp-%(version)s'
    tarball_checksum = '5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2'
    stype = SourceType.TARBALL
    licenses = [License.LGPLv3Plus]
    configure_options = "--disable-shared --enable-static"

    files_libs = ['libgmp']
    files_devel = ['include/gmp.h']

    def gen_library_file(self, output_dir=None):
        return