From d33c66de6b9cd12cfa34c9833e4fa21cb94f9891 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 19 Aug 2017 11:22:02 +0200 Subject: [PATCH] Add 1.2.11 to WrapDB --- meson.build | 26 ++++++++++++++++++++++++++ upstream.wrap | 6 ++++++ 2 files changed, 32 insertions(+) create mode 100644 meson.build create mode 100644 upstream.wrap diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..32e86a0 --- /dev/null +++ b/meson.build @@ -0,0 +1,26 @@ +project('zlib', 'c', version : '1.2.11', license : 'zlib') + +src = files([ + 'adler32.c', + 'crc32.c', + 'deflate.c', + 'infback.c', + 'inffast.c', + 'inflate.c', + 'inftrees.c', + 'trees.c', + 'zutil.c', + 'compress.c', + 'uncompr.c', + 'gzclose.c', + 'gzlib.c', + 'gzread.c', + 'gzwrite.c']) + +zlib = library('z', src) + +incdir = include_directories('.') + +zlib_dep = declare_dependency( + link_with : zlib, + include_directories : incdir) diff --git a/upstream.wrap b/upstream.wrap new file mode 100644 index 0000000..afc62d6 --- /dev/null +++ b/upstream.wrap @@ -0,0 +1,6 @@ +[wrap-file] +directory = zlib-1.2.11 + +source_url = http://zlib.net/fossils/zlib-1.2.11.tar.gz +source_filename = zlib-1.2.11.tar.gz +source_hash = c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1