mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2024-11-27 22:43:41 +00:00
128a9d35fd
It's nice to be able to get some idea of what a package does.
15 lines
425 B
Bash
15 lines
425 B
Bash
description "Library for compressing/decompressing GZIP files"
|
|
check_pkgconfig zlib
|
|
fetch_download http://zlib.net/zlib-1.2.8.tar.gz
|
|
build_autotools
|
|
|
|
# zlib's configure script is hand-rolled and doesn't support the normal
|
|
# --host option because, well, who knows.
|
|
do_build() {
|
|
if [ ! -z "$BUILD_HOST" ]; then
|
|
export CC="$BUILD_HOST-gcc"
|
|
fi
|
|
./configure --prefix="$PACKAGE_INSTALL_DIR" --static
|
|
make
|
|
}
|
|
|