Update package version to 1.3.2
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# Ignore BPM archives and signatures
|
||||
*.bpm
|
||||
*.bpm.sig
|
||||
@@ -1,15 +1,32 @@
|
||||
name: zlib
|
||||
description: A Massively Spiffy Yet Delicately Unobtrusive Compression Library
|
||||
version: 1.3.1
|
||||
revision: 3
|
||||
version: 1.3.2
|
||||
revision: 1
|
||||
url: https://www.zlib.net/
|
||||
license: Zlib
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
depends: ["glibc"]
|
||||
make_depends: ["bash","binutils","coreutils","gcc","glibc","make","sed"]
|
||||
type: source
|
||||
depends:
|
||||
- glibc
|
||||
make_depends:
|
||||
- bash
|
||||
- binutils
|
||||
- coreutils
|
||||
- gcc
|
||||
- glibc
|
||||
- make
|
||||
- sed
|
||||
downloads:
|
||||
- url: https://github.com/madler/zlib/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: b99a0b86c0ba9360ec7e78c4f1e43b1cbdf1e6936c8fa0f6835c0cd694a495a1
|
||||
split_packages:
|
||||
- name: zlib
|
||||
- name: minizip
|
||||
description: zip and unzip routines based on zlib
|
||||
depends: ["glibc","zlib"]
|
||||
depends:
|
||||
- glibc
|
||||
- zlib
|
||||
|
||||
@@ -2,15 +2,9 @@
|
||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||
|
||||
DOWNLOAD="https://github.com/madler/zlib/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz"
|
||||
FILENAME="${DOWNLOAD##*/}"
|
||||
|
||||
# The prepare function is executed in the root of the temp directory
|
||||
# This function is used for downloading files and putting them into the correct location
|
||||
# This function is used for putting downloaded files to the correct location or applying patches
|
||||
prepare() {
|
||||
wget "$DOWNLOAD"
|
||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
||||
|
||||
cd "$BPM_SOURCE"/contrib/minizip
|
||||
# Backup Makefile to run tests
|
||||
cp Makefile Makefile.orig
|
||||
|
||||
Reference in New Issue
Block a user