summaryrefslogtreecommitdiff
path: root/recipes/bash-completion.recipe
blob: 8d27b7d5fbb7abc82fdc4b3c07f08ae019fcc828 (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
from cerbero.tools.libtool import LibtoolLibrary

class Recipe(recipe.Recipe):
    name = 'bash-completion'
    version = '2.9'
    licenses = [License.GPLv2Plus]
    stype = SourceType.TARBALL
    url = 'https://github.com/scop/bash-completion/releases/download/2.9/%(name)s-%(version)s.tar.xz'
    tarball_checksum = 'd48fe378e731062f479c5f8802ffa9d3c40a275a19e6e0f6f6cc4b90fa12b2f5'

    def prepare(self):
      if self.config.target_platform not in [Platform.LINUX]:
        raise InvalidRecipeError(self, "Invalid platform")