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

class Recipe(recipe.Recipe):
    name = 'intltool-m4'
    version = '0.51.0'
    licenses = [License.GPLv2Plus]
    stype = SourceType.TARBALL
    btype = BuildType.CUSTOM
    url = 'https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz'
    tarball_checksum = '67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd'
    tarball_dirname = 'intltool-%(version)s'

    files_devel = ['share/aclocal/intltool.m4']

    async def install(self):
        m4 = os.path.join(self.build_dir, 'intltool.m4')
        shutil.copy(m4, os.path.join(self.config.prefix, 'share', 'aclocal', 'intltool.m4'))