-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from isuruf/zlib
copy zlib.dll to PREFIX to support python 3.10
- Loading branch information
Showing
2 changed files
with
39 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,51 @@ | ||
{% set version = "1.2.11" %} | ||
|
||
package: | ||
name: zlib | ||
version: {{ version }} | ||
name: zlib | ||
version: {{ version }} | ||
|
||
source: | ||
url: http://zlib.net/zlib-{{ version }}.tar.gz | ||
sha256: c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 | ||
url: http://zlib.net/zlib-{{ version }}.tar.gz | ||
sha256: c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 | ||
|
||
build: | ||
number: 1010 | ||
run_exports: | ||
# mostly OK, but some scary symbol removal. Let's try for trusting them. | ||
# https://abi-laboratory.pro/tracker/timeline/zlib/ | ||
- {{ pin_subpackage('zlib', max_pin='x.x') }} | ||
number: 1011 | ||
run_exports: | ||
# mostly OK, but some scary symbol removal. Let's try for trusting them. | ||
# https://abi-laboratory.pro/tracker/timeline/zlib/ | ||
- {{ pin_subpackage('zlib', max_pin='x.x') }} | ||
|
||
requirements: | ||
build: | ||
- cmake # [win] | ||
- msinttypes # [win and vc<14] | ||
# compiler on osx depends on zlib itself. Use the bootstrap compiler instead on osx | ||
- {{ compiler('c') }} | ||
- make # [unix] | ||
build: | ||
- cmake # [win] | ||
- msinttypes # [win and vc<14] | ||
# compiler on osx depends on zlib itself. Use the bootstrap compiler instead on osx | ||
- {{ compiler('c') }} | ||
- make # [unix] | ||
|
||
test: | ||
commands: | ||
- test -f ${PREFIX}/lib/libz.a # [unix] | ||
commands: | ||
- test -f ${PREFIX}/lib/libz.a # [unix] | ||
- test -f ${PREFIX}/lib/libz${SHLIB_EXT} # [unix] | ||
- if not exist %LIBRARY_BIN%\zlib.dll exit 1 # [win] | ||
- if not exist %PREFIX%\zlib.dll exit 1 # [win] | ||
|
||
about: | ||
home: http://zlib.net/ | ||
# http://zlib.net/zlib_license.html | ||
license: Zlib | ||
summary: Massively spiffy yet delicately unobtrusive compression library | ||
license_family: Other | ||
license_file: license.txt | ||
|
||
description: | | ||
zlib is designed to be a free, general-purpose, lossless data-compression | ||
library for use on virtually any computer hardware and operating system. | ||
doc_url: http://zlib.net/manual.html | ||
dev_url: https://github.com/madler/zlib | ||
home: http://zlib.net/ | ||
# http://zlib.net/zlib_license.html | ||
license: Zlib | ||
summary: Massively spiffy yet delicately unobtrusive compression library | ||
license_family: Other | ||
license_file: license.txt | ||
description: | | ||
zlib is designed to be a free, general-purpose, lossless data-compression | ||
library for use on virtually any computer hardware and operating system. | ||
doc_url: http://zlib.net/manual.html | ||
dev_url: https://github.com/madler/zlib | ||
|
||
extra: | ||
recipe-maintainers: | ||
- groutr | ||
- msarahan | ||
- ocefpaf | ||
- mingwandroid | ||
recipe-maintainers: | ||
- groutr | ||
- msarahan | ||
- ocefpaf | ||
- mingwandroid |