summaryrefslogtreecommitdiff
path: root/recipes/build-tools/gnu-sed.recipe
blob: 1a40059dec35246f1974999a4ad8b3d88435813d (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

from cerbero.utils import needs_xcode8_sdk_workaround

class Recipe(recipe.Recipe):
    name = 'sed'
    version = '4.2.2'
    licenses = [License.GPLv2]
    stype = SourceType.TARBALL
    url = 'https://ftp.gnu.org/gnu/sed/sed-%(version)s.tar.gz'
    tarball_checksum = 'fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff'

    def prepare(self):
        if needs_xcode8_sdk_workaround(self.config):
            self.set_env('ac_cv_func_mkostemp', 'no')