Commit 47ef56a6 authored by Andoni Morales Alastruey's avatar Andoni Morales Alastruey
Browse files

gettext-tools: fix build using the distribution tarball

parent b237e18a
......@@ -3,19 +3,15 @@ from cerbero.utils import shell
class Recipe(recipe.Recipe):
name = 'gettext-tools'
version = '0.18.1.1+2012-01-26'
version = '0.18.2'
licenses = [License.GPLv3]
srcdir = 'gettext-tools'
stype = SourceType.TARBALL
tarball_dirname = 'gettext-%(version)s'
url = 'http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.2.tar.gz'
platform_deps = {Platform.DARWIN: ['libiconv']}
configure_options = ' --disable-java --disable-csharp --disable-native-java'
configure_options = ' --disable-java --disable-csharp --disable-native-java --without-csv'
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