summaryrefslogtreecommitdiff
path: root/recipes/gettext.recipe
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-08-22 10:04:38 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-08-22 10:04:38 +0200
commit8f5541f60f975af99931e7f3b05ac25848733c18 (patch)
tree3650ba032d2fb6ad55e2125e3e5168200fee3010 /recipes/gettext.recipe
parentfc3b2e5f4bb2e428918de0a7a5deda2dfc902a17 (diff)
Update gettext and also only build/ship libintl
Diffstat (limited to 'recipes/gettext.recipe')
-rw-r--r--recipes/gettext.recipe13
1 files changed, 7 insertions, 6 deletions
diff --git a/recipes/gettext.recipe b/recipes/gettext.recipe
index 0842c288..5f44faac 100644
--- a/recipes/gettext.recipe
+++ b/recipes/gettext.recipe
@@ -3,21 +3,22 @@
class Recipe(recipe.Recipe):
name = 'gettext'
- version = '0.18.1.1'
+ version = '0.18.1.1+2012-01-26'
# only libraries are LGPLv2+, tools are GPLv3+ and defined below
licenses = [License.LGPLv2Plus]
srcdir = 'gettext-runtime'
autoreconf = True
+ autoreconf_sh = 'cd .. && ./autogen.sh --quick --skip-gnulib'
platform_deps = {Platform.DARWIN: ['libiconv'],
Platform.LINUX: ['libiconv'],}
- files_libs = ['libintl', 'libasprintf']
- files_bins = ['gettext', 'ngettext', 'envsubst']
- licenses_bins = [License.GPLv3Plus]
- files_devel = ['include/libintl.h', 'include/autosprintf.h']
- files_lang = ['gettext-runtime']
+ files_libs = ['libintl']
+ files_devel = ['include/libintl.h']
def prepare (self):
+ intl_path = os.path.join(self.make_dir, 'intl')
+ self.make = 'cd %s && make' % intl_path
+ self.make_install = 'cd %s && make PACKAGE=gettext-tools install' % intl_path
if self.config.target_platform == Platform.WINDOWS:
self.configure_options += '--enable-threads=win32'
self.autoreconf = False