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


class Recipe(recipe.Recipe):
    name = 'gmp'
    version = '5.0.5'
    licenses = [License.LGPLv3Plus]

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

    def prepare(self):
        if self.config.target_platform == Platform.WINDOWS:
            self.configure_options = ' --enable-shared --disable-static'