kind: autotools

depends:
- filename: gnu-toolchain.bst
  type: build
- filename: core/autoconf.bst
  type: build
- filename: core/automake.bst
  type: build
- filename: core/flex.bst
  type: build
- filename: core/gettext-tarball.bst
  type: build
- filename: core/git-minimal.bst
  type: build
- filename: core/help2man.bst
  type: build
- filename: core/mini-utils.bst
  type: build
- filename: core/texinfo-tarball.bst
  type: build

sources:
- kind: git
  url: upstream:bison
  track: v3.0.4
  ref: c4e686a1abd817b4d4da5bdd5b3a5540566fd4a0
  submodules:
    gnulib:
      url: upstream:gnulib
    submodules/autoconf:
      url: upstream:autoconf

config:
  configure-commands:
  - sh bootstrap --skip-po --no-git --gnulib-srcdir=gnulib
  - ./configure --prefix="%{prefix}"
