summaryrefslogtreecommitdiff
path: root/recipes/zlib.recipe
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2013-09-30 15:22:06 +0200
committerSebastian Dröge <slomo@circular-chaos.org>2013-10-01 11:39:04 +0200
commit0d685757be0b81c67373cb530b4e9e5030eae6da (patch)
tree4dbae7ded4ded2b47ff8b4b6d54ac7e70909d9ca /recipes/zlib.recipe
parent8113efc342a155342853d6037b899dd4dae43aa7 (diff)
zlib: Update to 1.2.8 and use a tarball plus patches
Diffstat (limited to 'recipes/zlib.recipe')
-rw-r--r--recipes/zlib.recipe8
1 files changed, 5 insertions, 3 deletions
diff --git a/recipes/zlib.recipe b/recipes/zlib.recipe
index 24e61ec3..a64289fe 100644
--- a/recipes/zlib.recipe
+++ b/recipes/zlib.recipe
@@ -4,12 +4,14 @@ from cerbero.tools.libtool import LibtoolLibrary
class Recipe(recipe.Recipe):
name = 'zlib'
- version = '1.2.7'
+ version = '1.2.8'
+ stype = SourceType.TARBALL
+ url = 'http://zlib.net/zlib-1.2.8.tar.xz'
licenses = [License.BSD_like]
force_configure = True
add_host_build_target = False
can_use_configure_cache = False
-
+ patches = ['zlib/01-win32-makefile.patch']
files_libs = ['libz']
files_devel = ['include/zlib.h', 'include/zconf.h', 'lib/pkgconfig/zlib.pc']
@@ -25,7 +27,7 @@ class Recipe(recipe.Recipe):
self._remove_steps ([BuildSteps.CONFIGURE])
def post_install(self):
- libtool_la = LibtoolLibrary('z', 1, 2, 7, self.config.libdir,
+ libtool_la = LibtoolLibrary('z', 1, 2, 8, self.config.libdir,
self.config.target_platform)
libtool_la.save()
# FIXME This is to workaround a build issue trying to ld to libz.so