summaryrefslogtreecommitdiff
path: root/recipes/build-tools/yasm.recipe
blob: f69eabfc9c58b30c5b8173fc0e00dc2008e19da8 (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.GPLv3Plus]
    stype = SourceType.TARBALL
    url = 'https://www.tortall.net/projects/yasm/releases/yasm-%(version)s.tar.gz'
    tarball_checksum = '3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f'

    files_bins = ['yasm', 'vsyasm', 'ytasm']

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