|
root / base / zlib
zlib Plain Text 43 lines 870 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
# Build script for zlib
# Compression library - no external dependencies

set -e

cd "$SRCDIR"

# zlib uses a custom configure script, not autoconf
./configure --prefix=$PREFIX --shared

gmake -j${JOBS:-1}
gmake install DESTDIR="$PKGDIR"

# Remove static library to save space (optional)
# rm -f "$PKGDIR$PREFIX/lib/libz.a"
# zlib - General-purpose compression library
# https://zlib.net

[package]
name = "zlib"
version = "1.3.1"
release = 1
description = "General-purpose lossless data compression library"
url = "https://zlib.net"
license = "Zlib"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = []
build = []

[[source]]
file = "zlib-1.3.1.tar.gz"
urls = ["https://zlib.net/zlib-1.3.1.tar.gz"]
checksum = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"


[build]
parallel = true
jobs = 0