Commit bd3d57ea authored by Andoni Morales Alastruey's avatar Andoni Morales Alastruey
Browse files

build-tools: add gettext tools on OS X

parent 5982670d
......@@ -29,7 +29,7 @@ class BuildTools (BootstraperBase):
BUILD_TOOLS = ['automake', 'autoconf', 'm4', 'libtool', 'pkg-config',
'orc-tool', 'gettext-m4']
PLAT_BUILD_TOOLS = {
Platform.DARWIN: ['intltool', 'yasm'],
Platform.DARWIN: ['intltool', 'yasm', 'gettext-tools'],
Platform.WINDOWS: ['intltool', 'yasm'],
}
......
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
from cerbero.utils import shell
class Recipe(recipe.Recipe):
name = 'gettext-tools'
version = '0.18.1.1+2012-01-26'
licenses = [License.GPLv3]
srcdir = 'gettext-tools'
platform_deps = {Platform.DARWIN: ['libiconv']}
configure_options = ' --disable-java --disable-csharp --disable-native-java'
def prepare(self):
self.remotes['origin'] = ('%s/%s.git' %
(self.config.git_root, 'gettext'))
if self.config.target_platform == Platform.WINDOWS:
self.configure_options += '--enable-threads=win32'
def configure(self):
super(Recipe, self).configure()
shell.touch(os.path.join(self.build_dir, 'gettext-tools', 'misc',
'archive.dir.tar'), True)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment