|
root / base / zlib / build.sh
build.sh Bash 17 lines 336 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#!/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"