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


class Recipe(recipe.Recipe):
    name = 'yasm'
    version = '1.3.0'
    licenses = [License.GPLv3]
    stype = SourceType.TARBALL
    url = 'https://www.tortall.net/projects/yasm/releases/yasm-%(version)s.tar.gz'
    tarball_checksum = '3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f'

    files_bins = ['yasm']

    def prepare(self):
        if self.config.target_platform == Platform.WINDOWS:
            self.append_env('LDFLAGS', '-lintl')