none_ab4d5ac5898de17143c6eba7af0ff2d38beeb9fc.hash-material.yml 62.83 KiB
- "add_to_path": []
"builds":
"default":
"build_dependencies":
- |-
host-c-toolchain
- |-
glibc
"configure": |
mkdir -p "$BUILD_DIR"
extract.sh --into "$BUILD_DIR" https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
sed 's/-Winline//g' -i "$BUILD_DIR"/Makefile*
"dependencies": []
"install": |+
cd "$BUILD_DIR"
# Build
make ${JOBS:+-j$JOBS} -f Makefile-libbz2_so PREFIX=/
make ${JOBS:+-j$JOBS} bzip2 bzip2recover PREFIX=/
# Install
INSTALLDIR="${DESTDIR}${ORCHESTRA_ROOT}"
install -dm755 "$INSTALLDIR"/{bin,lib64,include,lib64/pkgconfig}
install -m755 bzip2-shared "$INSTALLDIR"/bin/bzip2
install -m755 bzip2recover bzdiff bzgrep bzmore "$INSTALLDIR"/bin
ln -sf bzip2 "$INSTALLDIR"/bin/bunzip2
ln -sf bzip2 "$INSTALLDIR"/bin/bzcat
cp -a libbz2.so* "$INSTALLDIR"/lib64
ln -s libbz2.so.1.0.8 "$INSTALLDIR"/lib64/libbz2.so
install -m644 bzlib.h "$INSTALLDIR"/include/
cat > "$INSTALLDIR"/lib64/pkgconfig/bzip2.pc <<'EOF'
prefix=${pcfiledir}/../..
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
libdir=${exec_prefix}/lib64
includedir=${prefix}/include
Name: bzip2
Description: A file compression library
Version: 1.0.8
Libs: -L${libdir} -lbz2
Cflags: -I${includedir}
EOF
"ndebug": !!bool |-
true
"commit": !!null |-
null
"default_build": |-
default
"license": |-
LICENSE
"repository": !!null |-
null
"skip_post_install": !!bool |-
false
- "add_to_path": []
"builds":
"default":
"build_dependencies":
- |-
cmake
- |-
clang-vanilla
"configure": |+
extract.sh --into "$BUILD_DIR/source" "https://github.com/revng/llvm-project/archive/de75a69.tar.gz"