Mercurial > treepkg
comparison recipes/kde_enterprise_4/kde_l10n.py @ 226:766df0172f0b
Adapt enterprise_4 kde_l10n recipe to changes in debian lenny
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Thu, 08 Jan 2009 19:56:19 +0000 |
parents | 93301afac8d4 |
children | e5e23c3acaea |
comparison
equal
deleted
inserted
replaced
225:93301afac8d4 | 226:766df0172f0b |
---|---|
101 echo de > subdirs | 101 echo de > subdirs |
102 | 102 |
103 # create the CMakeFiles | 103 # create the CMakeFiles |
104 ./scripts/autogen.sh | 104 ./scripts/autogen.sh |
105 mv de kde-l10n-de-%(version)s | 105 mv de kde-l10n-de-%(version)s |
106 tar cjf %(tarball)s kde-l10n-de-%(version)s | 106 tar cjf %(tarball)s kde-l10n-de-%(version)s |
107 """ | 107 """ |
108 | 108 |
109 | 109 |
110 def __init__(self, *args, **kw): | 110 def __init__(self, *args, **kw): |
111 super(SourcePackager, self).__init__(*args, **kw) | 111 super(SourcePackager, self).__init__(*args, **kw) |
118 | 118 |
119 def create_l10n_de_tarball(self, pkgbaseversion, pkgbasedir): | 119 def create_l10n_de_tarball(self, pkgbaseversion, pkgbasedir): |
120 logging.info("Creating kde-l10n-de tarball") | 120 logging.info("Creating kde-l10n-de tarball") |
121 de_tarball = os.path.join(self.work_dir, | 121 de_tarball = os.path.join(self.work_dir, |
122 "kde-l10n-de-" + pkgbaseversion + ".tar.bz2") | 122 "kde-l10n-de-" + pkgbaseversion + ".tar.bz2") |
123 # imake is needed for the revpath script | 123 # xutils-dev is needed for the revpath script used by |
124 # scripts/autogen.sh | |
124 script = (self.createtarball_script | 125 script = (self.createtarball_script |
125 % dict(builddeps="imake", tarball=de_tarball, | 126 % dict(builddeps="xutils-dev", tarball=de_tarball, |
126 basedir=pkgbasedir, version=pkgbaseversion)) | 127 basedir=pkgbasedir, version=pkgbaseversion)) |
127 script_name = os.path.join(self.work_dir, "createtarball") | 128 script_name = os.path.join(self.work_dir, "createtarball") |
128 treepkg.util.writefile(script_name, script, 0755) | 129 treepkg.util.writefile(script_name, script, 0755) |
129 treepkg.util.ensure_directory(self.src_dir) | 130 treepkg.util.ensure_directory(self.src_dir) |
130 treepkg.util.ensure_directory(self.log_dir) | 131 treepkg.util.ensure_directory(self.log_dir) |