summaryrefslogtreecommitdiff
path: root/recipes/build-tools/yasm.recipe
blob: d87eec68b97512cffe618472b38d1c43081e323e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- 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'

    files_bins = ['yasm']

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