Skip to content
Snippets Groups Projects
  • rev.ng CI's avatar
    8a8aea38
    Automatic binary archives · 8a8aea38
    rev.ng CI authored
    ORCHESTRA_CONFIG_COMMIT=8747eac
    ORCHESTRA_CONFIG_BRANCH=feature/fix-revng-distributable
    COMPONENT_TARGET_BRANCH=feature/fix-revng-distributable
    8a8aea38
    History
    Automatic binary archives
    rev.ng CI authored
    ORCHESTRA_CONFIG_COMMIT=8747eac
    ORCHESTRA_CONFIG_BRANCH=feature/fix-revng-distributable
    COMPONENT_TARGET_BRANCH=feature/fix-revng-distributable
6e1f5f0fd75d7e9f0f2532dffa19969459641ea2_b3690b2655c39f71972a48f6b5491c15434c1a4b.hash-material.yml 69.62 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"