#!/bin/bash # Build script for bzip2 set -e cd "$SRCDIR" # Build bzip2 (uses simple Makefile, not autotools) gmake -j${JOBS:-1} CC=gcc # Install gmake install PREFIX="$PKGDIR$PREFIX" # Also install shared library gmake -f Makefile-libbz2_so clean gmake -f Makefile-libbz2_so CC=gcc cp -a libbz2.so* "$PKGDIR$PREFIX/lib/" # bzip2 - High-quality data compressor # https://sourceware.org/bzip2/ [package] name = "bzip2" version = "1.0.8" release = 1 description = "High-quality data compressor" url = "https://sourceware.org/bzip2/" license = "BSD-4-Clause" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = [] build = [] [[source]] file = "bzip2-1.0.8.tar.gz" urls = ["https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz"] checksum = "ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269" [build] parallel = true