kind: autotools
depends:
- openstack-common.bst
sources:
- kind: git
  url: upstream:gf-complete
  track: v2
  ref: 715443661c00558fe32f004a4be5f93f341b6e59
config:
  configure-commands:
  - ./autogen.sh
  - |
    case "%{arch}" in
    x86_64)
      SSE=
      ;;
    *)
      # Disable SSE4 for any architecture which are not x86_64 bits
      # see more information about architecture which support SSE in
      # https://en.wikipedia.org/wiki/SSE4#Supporting_CPUs.
      SSE=--disable-sse
      ;;
    esac
    ./configure --prefix="%{prefix}" "$SSE"
