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

gettext-m4: use gettext-m4 to differenciate this recipe form gettext

parent fda518ab
......@@ -27,7 +27,7 @@ from import CookBook
class BuildTools (BootstraperBase):
BUILD_TOOLS = ['automake', 'autoconf', 'm4', 'libtool', 'pkg-config',
'orc', 'gettext']
'orc', 'gettext-m4']
def start(self):
# Use a common prefix for the build tools for all the configurations
......@@ -2,7 +2,7 @@
import shutil
class Recipe(recipe.Recipe):
name = 'gettext'
name = 'gettext-m4'
version = ''
# only libraries are LGPLv2+, tools are GPLv3+ and defined below
licenses = [License.LGPLv2Plus]
......@@ -43,7 +43,11 @@ class Recipe(recipe.Recipe):
def post_install (self):
def prepare(self):
self.remotes['origin'] = ('%s/%s.git' %
(self.config.git_root, 'gettext'))
def post_install(self):
m4dir = os.path.join(self.build_dir, 'gettext-runtime', 'm4')
for f in [x for x in os.listdir(m4dir) if x.endswith('.m4')]:
shutil.copy(os.path.join(m4dir, f),
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