summaryrefslogtreecommitdiff
path: root/recipes/gettext.recipe
blob: f2f827d82820c22b75eadcbb0e55202749dbcd08 (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


class Recipe(recipe.Recipe):
    name = 'gettext'
    version = '0.18.1.1'
    srcdir = 'gettext-runtime'
    autoreconf = True
    license = 'LGPL'

    files_libs = ['libintl', 'libasprintf']
    files_bins = ['gettext', 'ngettext', 'envsubst']
    files_devel = ['include/libintl.h', 'include/autosprintf.h']

    def prepare (self):
        if self.config.target_platform == Platform.WINDOWS:
            self.configure_options += '--enable-threads=win32'
            self.autoreconf = False