intltool-m4.recipe 666 Bytes
Newer Older
1
2
3
4
5
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
import shutil

class Recipe(recipe.Recipe):
    name = 'intltool-m4'
6
    version = '0.51.0'
7
8
9
    licenses = [License.GPLv2]
    stype = SourceType.TARBALL
    btype = BuildType.CUSTOM
10
    url = 'https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz'
11
    tarball_checksum = '67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd'
12

13
    files_devel = ['share/aclocal/intltool.m4']
14
15
16
17

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